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': '{c401eb80-f9ea-11d3-bb6f-e732b73ebe7c}',
17 'contract_ids': ['@mozilla.org/gfx/screenmanager;1'],
19 'type': 'mozilla::widget::ScreenManager',
20 'constructor': 'mozilla::widget::ScreenManager::GetAddRefedSingleton',
21 'headers': ['/widget/ScreenManager.h'],
22 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
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_AND_SOCKET_PROCESS,
32 'cid': '{6987230e-0098-4e78-bc5f-1493ee7519fa}',
33 'contract_ids': ['@mozilla.org/widget/idleservice;1'],
35 'type': 'nsIdleServiceWin',
36 'constructor': 'nsIdleServiceWin::GetInstance',
37 'headers': ['/widget/windows/nsIdleServiceWin.h', 'nsIdleService.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-jumplistbuilder;1'],
63 'type': 'mozilla::widget::JumpListBuilder',
64 'headers': ['/widget/windows/JumpListBuilder.h'],
67 'cid': '{2b9a1f2c-27ce-45b6-8d4e-755d0e34f8db}',
68 'contract_ids': ['@mozilla.org/windows-jumplistitem;1'],
69 'type': 'mozilla::widget::JumpListItem',
70 'headers': ['/widget/windows/JumpListItem.h'],
73 'cid': '{21f1f13b-f75a-42ad-867a-d91ad694447e}',
74 'contract_ids': ['@mozilla.org/windows-jumplistseparator;1'],
75 'type': 'mozilla::widget::JumpListSeparator',
76 'headers': ['/widget/windows/JumpListItem.h'],
79 'cid': '{f72c5dc4-5a12-47be-be28-ab105f33b08f}',
80 'contract_ids': ['@mozilla.org/windows-jumplistlink;1'],
81 'type': 'mozilla::widget::JumpListLink',
82 'headers': ['/widget/windows/JumpListItem.h'],
85 'cid': '{b16656b2-5187-498f-abf4-56346126bfdb}',
86 'contract_ids': ['@mozilla.org/windows-jumplistshortcut;1'],
87 'type': 'mozilla::widget::JumpListShortcut',
88 'headers': ['/widget/windows/JumpListItem.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': '{8b5314bb-db01-11d2-96ce-0060b0fb9956}',
110 'contract_ids': ['@mozilla.org/widget/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'],
122 'cid': '{d755a760-9f27-11df-0800-200c9a664242}',
123 'contract_ids': ['@mozilla.org/gfx/info;1'],
124 'type': 'mozilla::widget::GfxInfo',
125 'headers': ['/widget/windows/GfxInfo.h'],
126 'init_method': 'Init',
127 'processes': ProcessSelector.ALLOW_IN_GPU_RDD_AND_SOCKET_PROCESS,
130 'cid': '{bd57cee8-1dd1-11b2-9fe7-95cf4709aea3}',
131 'contract_ids': ['@mozilla.org/filepicker;1'],
132 'type': 'nsFilePicker',
133 'headers': ['/widget/windows/nsFilePicker.h'],
134 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
137 'cid': '{0f872c8c-3ee6-46bd-92a2-69652c6b474e}',
138 'contract_ids': ['@mozilla.org/colorpicker;1'],
139 'type': 'nsColorPicker',
140 'headers': ['/widget/windows/nsColorPicker.h'],
141 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
144 'cid': '{1201d357-8417-4926-a694-e6408fbedcf8}',
145 'contract_ids': ['@mozilla.org/sharepicker;1'],
146 'type': 'nsSharePicker',
147 'headers': ['/widget/windows/nsSharePicker.h'],
148 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
151 'cid': '{8b5314ba-db01-11d2-96ce-0060b0fb9956}',
152 'contract_ids': ['@mozilla.org/widget/clipboard;1'],
153 'type': 'nsIClipboard',
154 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
158 if buildconfig.substs['CC_TYPE'] in ('msvc', 'clang-cl'):
161 'cid': '{84e11f80-ca55-11dd-ad8b-0800200c9a66}',
162 'contract_ids': ['@mozilla.org/system-alerts-service;1'],
163 'type': 'mozilla::widget::ToastNotification',
164 'headers': ['/widget/windows/ToastNotification.h'],
165 'init_method': 'Init',
166 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
170 if defined('NS_PRINTING'):
173 'cid': '{d3f69889-e13a-4321-980c-a39332e21f34}',
174 'contract_ids': ['@mozilla.org/gfx/devicecontextspec;1'],
175 'type': 'nsDeviceContextSpecWin',
176 'headers': ['/widget/windows/nsDeviceContextSpecWin.h'],
179 'cid': '{06beec76-a183-4d9f-85dd-085f26da565a}',
180 'contract_ids': ['@mozilla.org/widget/printdialog-service;1'],
181 'type': 'nsPrintDialogServiceWin',
182 'headers': ['/widget/windows/nsPrintDialogWin.h'],
183 'init_method': 'Init',
184 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
187 'cid': '{841387c8-72e6-484b-9296-bf6eea80d58a}',
188 'contract_ids': ['@mozilla.org/gfx/printsettings-service;1'],
189 'type': 'nsPrintSettingsServiceWin',
190 'headers': ['/widget/windows/nsPrintSettingsServiceWin.h'],
191 'init_method': 'Init',
194 'cid': '{a6cf9129-15b3-11d2-932e-00805f8add32}',
195 'contract_ids': ['@mozilla.org/gfx/printerenumerator;1'],
196 'type': 'nsPrinterEnumeratorWin',
197 'headers': ['/widget/windows/nsDeviceContextSpecWin.h'],
200 'cid': '{2f977d53-5485-11d4-87e2-0010a4e75ef2}',
201 'contract_ids': ['@mozilla.org/gfx/printsession;1'],
202 'type': 'nsPrintSession',
203 'headers': ['/widget/nsPrintSession.h'],
204 'init_method': 'Init',