no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / widget / gtk / components.conf
blob541df93378339e82c06f4f9ece9b87031018a476
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/.
7 Headers = [
8     '/widget/gtk/nsWidgetFactory.h',
11 InitFunc = 'nsWidgetGtk2ModuleCtor'
12 UnloadFunc = 'nsWidgetGtk2ModuleDtor'
14 Classes = [
15     {
16         'cid': '{2d96b3df-c051-11d1-a827-0040959a28c9}',
17         'contract_ids': ['@mozilla.org/widget/appshell/gtk;1'],
18         'legacy_constructor': 'nsAppShellConstructor',
19         'headers': ['/widget/gtk/nsWidgetFactory.h'],
20         'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_SOCKET_UTILITY_AND_GMPLUGIN_PROCESS,
21     },
22     {
23         'cid': '{e9537f8f-c07e-4435-8ab3-83f1ad6e3bbf}',
24         'contract_ids': ['@mozilla.org/gfx/parent/screenmanager;1'],
25         'singleton': True,
26         'type': 'mozilla::widget::ScreenManager',
27         'headers': ['mozilla/StaticPtr.h', 'mozilla/widget/ScreenManager.h'],
28         'constructor': 'mozilla::widget::ScreenManager::GetAddRefedSingleton',
29         'processes': ProcessSelector.ALLOW_IN_GPU_AND_MAIN_PROCESS,
30     },
31     {
32         'cid': '{a9339876-0027-430f-b953-84c9c11c2da3}',
33         'contract_ids': ['@mozilla.org/widget/taskbarprogress/gtk;1'],
34         'type': 'TaskbarProgress',
35         'headers': ['/widget/gtk/TaskbarProgress.h'],
36     },
37     {
38         'cid': '{4364de1a-798e-419c-a6f5-ca28866b6d5f}',
39         'contract_ids': ['@mozilla.org/parent/colorpicker;1'],
40         'type': 'nsColorPicker',
41         'headers': ['/widget/gtk/nsColorPicker.h'],
42         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
43     },
44     {
45         'cid': '{1940fed5-7d02-4122-8acf-7abaac698983}',
46         'contract_ids': ['@mozilla.org/parent/filepicker;1'],
47         'type': 'nsFilePicker',
48         'headers': ['/widget/gtk/nsFilePicker.h'],
49         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
50     },
51     {
52         'cid': '{948a0023-e3a7-11d2-96cf-0060b0fb9956}',
53         'contract_ids': ['@mozilla.org/widget/htmlformatconverter;1'],
54         'type': 'nsHTMLFormatConverter',
55         'headers': ['/widget/nsHTMLFormatConverter.h'],
56     },
57     {
58         'cid': '{b148eed2-236d-11d3-b35c-00a0cc3c1cde}',
59         'contract_ids': ['@mozilla.org/sound;1'],
60         'singleton': True,
61         'type': 'nsISound',
62         'constructor': 'nsSound::GetInstance',
63         'headers': ['/widget/gtk/nsSound.h'],
64         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
65     },
66     {
67         'cid': '{8b5314bc-db01-11d2-96ce-0060b0fb9956}',
68         'contract_ids': ['@mozilla.org/widget/transferable;1'],
69         'type': 'nsTransferable',
70         'headers': ['/widget/nsTransferable.h'],
71     },
72     {
73         'cid': '{e221df9b-3d66-4045-9a66-5720949f8d10}',
74         'contract_ids': ['@mozilla.org/applicationchooser;1'],
75         'type': 'nsApplicationChooser',
76         'headers': ['/widget/gtk/nsApplicationChooser.h'],
77         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
78     },
79     {
80         'cid': '{f55f5d31-dbb7-4d0d-9f6f-a4f4cd8e8ef1}',
81         'contract_ids': ['@mozilla.org/widget/parent/clipboard;1'],
82         'interfaces': ['nsIClipboard'],
83         'type': 'nsIClipboard',
84         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
85     },
86     {
87         'cid': '{77221d5a-1dd2-11b2-8c69-c710f15d2ed5}',
88         'contract_ids': ['@mozilla.org/widget/clipboardhelper;1'],
89         'type': 'nsClipboardHelper',
90         'headers': ['/widget/nsClipboardHelper.h'],
91     },
92     {
93         'cid': '{0ba77e04-2adb-422f-af01-5a57b8013100}',
94         'contract_ids': ['@mozilla.org/widget/parent/dragservice;1'],
95         'singleton': True,
96         'type': 'nsDragService',
97         'headers': ['/widget/gtk/nsDragService.h'],
98         'constructor': 'nsDragService::GetInstance',
99         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
100     },
101     {
102         'name': 'GfxInfo',
103         'cid': '{d755a760-9f27-11df-0800-200c9a664242}',
104         'contract_ids': ['@mozilla.org/gfx/info;1'],
105         'type': 'mozilla::widget::GfxInfo',
106         'headers': ['/widget/gtk/GfxInfo.h'],
107         'init_method': 'Init',
108         'processes': ProcessSelector.ALLOW_IN_GPU_PROCESS,
109     },
110     {
111         'cid': '{6987230e-0098-4e78-bc5f-1493ee7519fa}',
112         'contract_ids': ['@mozilla.org/widget/useridleservice;1'],
113         'singleton': True,
114         'type': 'nsUserIdleService',
115         'headers': ['/widget/gtk/nsUserIdleServiceGTK.h'],
116         'constructor': 'nsUserIdleServiceGTK::GetInstance',
117     },
120 if defined('NS_PRINTING'):
121     Classes += [
122         {
123             'cid': '{d3f69889-e13a-4321-980c-a39332e21f34}',
124             'contract_ids': ['@mozilla.org/gfx/devicecontextspec;1'],
125             'type': 'nsDeviceContextSpecGTK',
126             'headers': ['/widget/gtk/nsDeviceContextSpecG.h'],
127             'processes': ProcessSelector.MAIN_PROCESS_ONLY,
128         },
129         {
130             'cid': '{06beec76-a183-4d9f-85dd-085f26da565a}',
131             'contract_ids': ['@mozilla.org/widget/printdialog-service;1'],
132             'type': 'nsPrintDialogServiceGTK',
133             'headers': ['/widget/gtk/nsPrintDialogGTK.h'],
134             'init_method': 'Init',
135             'processes': ProcessSelector.MAIN_PROCESS_ONLY,
136         },
137         {
138             'cid': '{841387c8-72e6-484b-9296-bf6eea80d58a}',
139             'contract_ids': ['@mozilla.org/gfx/printsettings-service;1'],
140             'type': 'nsPrintSettingsServiceGTK',
141             'headers': ['/widget/gtk/nsPrintSettingsServiceGTK.h'],
142             'init_method': 'Init',
143         },
144         {
145             'cid': '{a6cf9129-15b3-11d2-932e-00805f8add32}',
146             'contract_ids': ['@mozilla.org/gfx/printerlist;1'],
147             'type': 'nsPrinterListCUPS',
148             'headers': ['/widget/nsPrinterListCUPS.h'],
149             'processes': ProcessSelector.MAIN_PROCESS_ONLY,
150         },
151     ]