1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 '/widget/windows/nsWidgetFactory.h',
11 InitFunc = 'nsWidgetWindowsModuleCtor'
12 UnloadFunc = 'nsWidgetWindowsModuleDtor'
16 'cid': '{4c9dee4a-b083-4261-8bbe-c6883d2a6bc9}',
17 'contract_ids': ['@mozilla.org/gfx/parent/screenmanager;1'],
19 'type': 'mozilla::widget::ScreenManager',
20 'constructor': 'mozilla::widget::ScreenManager::GetAddRefedSingleton',
21 'headers': ['/widget/ScreenManager.h'],
22 'processes': ProcessSelector.ALLOW_IN_GPU_AND_MAIN_PROCESS,
25 'cid': '{2d96b3df-c051-11d1-a827-0040959a28c9}',
26 'contract_ids': ['@mozilla.org/widget/appshell/win;1'],
27 'headers': ['/widget/windows/nsWidgetFactory.h'],
28 'legacy_constructor': 'nsAppShellConstructor',
29 'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_SOCKET_UTILITY_AND_GMPLUGIN_PROCESS,
32 'cid': '{6987230e-0098-4e78-bc5f-1493ee7519fa}',
33 'contract_ids': ['@mozilla.org/widget/useridleservice;1'],
35 'type': 'nsUserIdleServiceWin',
36 'constructor': 'nsUserIdleServiceWin::GetInstance',
37 'headers': ['/widget/windows/nsUserIdleServiceWin.h', 'nsUserIdleService.h'],
40 'cid': '{b148eed2-236d-11d3-b35c-00a0cc3c1cde}',
41 'contract_ids': ['@mozilla.org/sound;1'],
44 'constructor': 'nsSound::GetInstance',
45 'headers': ['/widget/windows/nsSound.h'],
46 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
49 'cid': '{77221d5a-1dd2-11b2-8c69-c710f15d2ed5}',
50 'contract_ids': ['@mozilla.org/widget/clipboardhelper;1'],
51 'type': 'nsClipboardHelper',
52 'headers': ['/widget/nsClipboardHelper.h'],
55 'cid': '{b8e5bc54-a22f-4eb2-b061-24cb6d19c15f}',
56 'contract_ids': ['@mozilla.org/windows-taskbar;1'],
57 'type': 'mozilla::widget::WinTaskbar',
58 'headers': ['/widget/windows/WinTaskbar.h'],
61 'cid': '{73a5946f-608d-454f-9d33-0b8f8c7294b6}',
62 'contract_ids': ['@mozilla.org/windows-legacyjumplistbuilder;1'],
63 'type': 'mozilla::widget::LegacyJumpListBuilder',
64 'headers': ['/widget/windows/LegacyJumpListBuilder.h'],
67 'cid': '{2b9a1f2c-27ce-45b6-8d4e-755d0e34f8db}',
68 'contract_ids': ['@mozilla.org/windows-legacyjumplistitem;1'],
69 'type': 'mozilla::widget::LegacyJumpListItem',
70 'headers': ['/widget/windows/LegacyJumpListItem.h'],
73 'cid': '{21f1f13b-f75a-42ad-867a-d91ad694447e}',
74 'contract_ids': ['@mozilla.org/windows-legacyjumplistseparator;1'],
75 'type': 'mozilla::widget::LegacyJumpListSeparator',
76 'headers': ['/widget/windows/LegacyJumpListItem.h'],
79 'cid': '{f72c5dc4-5a12-47be-be28-ab105f33b08f}',
80 'contract_ids': ['@mozilla.org/windows-legacyjumplistlink;1'],
81 'type': 'mozilla::widget::LegacyJumpListLink',
82 'headers': ['/widget/windows/LegacyJumpListItem.h'],
85 'cid': '{b16656b2-5187-498f-abf4-56346126bfdb}',
86 'contract_ids': ['@mozilla.org/windows-legacyjumplistshortcut;1'],
87 'type': 'mozilla::widget::LegacyJumpListShortcut',
88 'headers': ['/widget/windows/LegacyJumpListItem.h'],
91 'cid': '{e04a55e8-fee3-4ea2-a98b-41d2621adc3c}',
92 'contract_ids': ['@mozilla.org/windows-ui-utils;1'],
93 'type': 'WindowsUIUtils',
94 'headers': ['/widget/windows/WindowsUIUtils.h'],
97 'cid': '{8b5314bc-db01-11d2-96ce-0060b0fb9956}',
98 'contract_ids': ['@mozilla.org/widget/transferable;1'],
99 'type': 'nsTransferable',
100 'headers': ['/widget/nsTransferable.h'],
103 'cid': '{948a0023-e3a7-11d2-96cf-0060b0fb9956}',
104 'contract_ids': ['@mozilla.org/widget/htmlformatconverter;1'],
105 'type': 'nsHTMLFormatConverter',
106 'headers': ['/widget/nsHTMLFormatConverter.h'],
109 'cid': '{f92e733e-33a3-4752-90e5-25801ddeaf7b}',
110 'contract_ids': ['@mozilla.org/widget/parent/dragservice;1'],
111 'type': 'nsDragService',
112 'headers': ['/widget/windows/nsDragService.h'],
113 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
116 'cid': '{9a0cb62b-d638-4faf-9588-ae96f5e29093}',
117 'contract_ids': ['@mozilla.org/widget/taskbar-preview-callback;1'],
118 'type': 'mozilla::widget::TaskbarPreviewCallback',
119 'headers': ['/widget/windows/TaskbarPreview.h'],
123 'cid': '{d755a760-9f27-11df-0800-200c9a664242}',
124 'contract_ids': ['@mozilla.org/gfx/info;1'],
125 'type': 'mozilla::widget::GfxInfo',
126 'headers': ['/widget/windows/GfxInfo.h'],
127 'init_method': 'Init',
128 'processes': ProcessSelector.ALLOW_IN_GPU_RDD_SOCKET_AND_UTILITY_PROCESS,
131 'cid': '{e2fc3e45-c893-4b34-8f6d-b87faf65a897}',
132 'contract_ids': ['@mozilla.org/parent/filepicker;1'],
133 'type': 'nsFilePicker',
134 'headers': ['/widget/windows/nsFilePicker.h'],
135 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
138 'cid': '{035d92f3-3802-4cf5-87cb-1758bfc5d4da}',
139 'contract_ids': ['@mozilla.org/parent/colorpicker;1'],
140 'type': 'nsColorPicker',
141 'headers': ['/widget/windows/nsColorPicker.h'],
142 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
145 'cid': '{1201d357-8417-4926-a694-e6408fbedcf8}',
146 'contract_ids': ['@mozilla.org/sharepicker;1'],
147 'type': 'nsSharePicker',
148 'headers': ['/widget/windows/nsSharePicker.h'],
149 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
152 'cid': '{25b4efa0-7054-4787-9cd6-630efb3fe6fa}',
153 'contract_ids': ['@mozilla.org/widget/parent/clipboard;1'],
154 'interfaces': ['nsIClipboard'],
155 'type': 'nsIClipboard',
156 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
159 'cid': '{b6e1a890-b2b8-4883-a65f-9476f6185313}',
160 'contract_ids': ['@mozilla.org/widget/systemstatusbar;1'],
162 'init_method': 'Init',
163 'type': 'mozilla::widget::SystemStatusBar',
164 'constructor': 'mozilla::widget::SystemStatusBar::GetAddRefedSingleton',
165 'headers': ['/widget/windows/SystemStatusBar.h'],
166 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
170 if buildconfig.substs['CC_TYPE'] == 'clang-cl':
173 'cid': '{84e11f80-ca55-11dd-ad8b-0800200c9a66}',
174 'contract_ids': ['@mozilla.org/system-alerts-service;1'],
175 'type': 'mozilla::widget::ToastNotification',
176 'headers': ['/widget/windows/ToastNotification.h'],
177 'init_method': 'Init',
178 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
181 'cid': '{a46c385b-a45c-4b48-ab7c-aaed1252bb83}',
182 'contract_ids': ['@mozilla.org/windows-alert-notification;1'],
183 'type': 'mozilla::widget::WindowsAlertNotification',
184 'headers': ['/widget/windows/ToastNotification.h'],
185 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
189 if defined('NS_PRINTING'):
192 'cid': '{d3f69889-e13a-4321-980c-a39332e21f34}',
193 'contract_ids': ['@mozilla.org/gfx/devicecontextspec;1'],
194 'type': 'nsDeviceContextSpecWin',
195 'headers': ['/widget/windows/nsDeviceContextSpecWin.h'],
196 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
199 'cid': '{06beec76-a183-4d9f-85dd-085f26da565a}',
200 'contract_ids': ['@mozilla.org/widget/printdialog-service;1'],
201 'type': 'nsPrintDialogServiceWin',
202 'headers': ['/widget/windows/nsPrintDialogWin.h'],
203 'init_method': 'Init',
204 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
207 'cid': '{841387c8-72e6-484b-9296-bf6eea80d58a}',
208 'contract_ids': ['@mozilla.org/gfx/printsettings-service;1'],
209 'type': 'nsPrintSettingsServiceWin',
210 'headers': ['/widget/windows/nsPrintSettingsServiceWin.h'],
211 'init_method': 'Init',
214 'cid': '{a6cf9129-15b3-11d2-932e-00805f8add32}',
215 'contract_ids': ['@mozilla.org/gfx/printerlist;1'],
216 'type': 'nsPrinterListWin',
217 'headers': ['/widget/windows/nsDeviceContextSpecWin.h'],
218 'processes': ProcessSelector.MAIN_PROCESS_ONLY,