summaryrefslogtreecommitdiffstats
path: root/widget/android/components.conf
blob: 089eefac5101c3239194632d62c7467e3e590c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

Headers = [
    '/widget/android/nsWidgetFactory.h',
]

InitFunc = 'nsWidgetAndroidModuleCtor'
UnloadFunc = 'nsWidgetAndroidModuleDtor'

Classes = [
    {
        'cid': '{2d96b3df-c051-11d1-a827-0040959a28c9}',
        'contract_ids': ['@mozilla.org/widget/appshell/android;1'],
        'legacy_constructor': 'nsAppShellConstructor',
        'headers': ['/widget/android/nsWidgetFactory.h'],
        'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_AND_SOCKET_PROCESS,
    },
    {
        'cid': '{c401eb80-f9ea-11d3-bb6f-e732b73ebe7c}',
        'contract_ids': ['@mozilla.org/gfx/screenmanager;1'],
        'singleton': True,
        'type': 'mozilla::widget::ScreenManager',
        'headers': ['mozilla/widget/ScreenManager.h'],
        'constructor': 'mozilla::widget::ScreenManager::GetAddRefedSingleton',
        'processes': ProcessSelector.MAIN_PROCESS_ONLY,
    },
    {
        'cid': '{6987230e-0098-4e78-bc5f-1493ee7519fa}',
        'contract_ids': ['@mozilla.org/widget/useridleservice;1'],
        'singleton': True,
        'type': 'nsUserIdleServiceAndroid',
        'headers': ['/widget/android/nsUserIdleServiceAndroid.h'],
        'constructor': 'nsUserIdleServiceAndroid::GetInstance',
    },
    {
        'cid': '{8b5314bc-db01-11d2-96ce-0060b0fb9956}',
        'contract_ids': ['@mozilla.org/widget/transferable;1'],
        'type': 'nsTransferable',
        'headers': ['/widget/nsTransferable.h'],
    },
    {
        'js_name': 'clipboard',
        'cid': '{8b5314ba-db01-11d2-96ce-0060b0fb9956}',
        'contract_ids': ['@mozilla.org/widget/clipboard;1'],
        'interfaces': ['nsIClipboard'],
        'type': 'nsClipboard',
        'headers': ['/widget/android/nsClipboard.h'],
        'processes': ProcessSelector.MAIN_PROCESS_ONLY,
        'overridable': True,
    },
    {
        'cid': '{77221d5a-1dd2-11b2-8c69-c710f15d2ed5}',
        'contract_ids': ['@mozilla.org/widget/clipboardhelper;1'],
        'type': 'nsClipboardHelper',
        'headers': ['/widget/nsClipboardHelper.h'],
    },
    {
        'cid': '{841387c8-72e6-484b-9296-bf6eea80d58a}',
        'contract_ids': ['@mozilla.org/gfx/printsettings-service;1'],
        'type': 'nsPrintSettingsServiceAndroid',
        'headers': ['/widget/android/nsPrintSettingsServiceAndroid.h'],
        'init_method': 'Init',
    },
    {
        'cid': '{2f977d53-5485-11d4-87e2-0010a4e75ef2}',
        'contract_ids': ['@mozilla.org/gfx/printsession;1'],
        'type': 'nsPrintSession',
        'headers': ['/widget/nsPrintSession.h'],
        'init_method': 'Init',
    },
    {
        'cid': '{d3f69889-e13a-4321-980c-a39332e21f34}',
        'contract_ids': ['@mozilla.org/gfx/devicecontextspec;1'],
        'type': 'nsDeviceContextSpecAndroid',
        'headers': ['/widget/android/nsDeviceContextAndroid.h'],
    },
    {
        'cid': '{948a0023-e3a7-11d2-96cf-0060b0fb9956}',
        'contract_ids': ['@mozilla.org/widget/htmlformatconverter;1'],
        'type': 'nsHTMLFormatConverter',
        'headers': ['/widget/nsHTMLFormatConverter.h'],
    },
    {
        'cid': '{d755a760-9f27-11df-0800-200c9a664242}',
        'contract_ids': ['@mozilla.org/gfx/info;1'],
        'type': 'mozilla::widget::GfxInfo',
        'headers': ['/widget/android/GfxInfo.h'],
        'init_method': 'Init',
    },
    {
        'js_name': 'androidBridge',
        'cid': '{0fe2321d-ebd9-467d-a743-03a68d40599e}',
        'contract_ids': ['@mozilla.org/android/bridge;1'],
        'interfaces': ['nsIAndroidBridge'],
        'type': 'nsAndroidBridge',
        'headers': ['/widget/android/AndroidBridge.h'],
    },
    {
        'cid': '{e9cd2b7f-8386-441b-aaf5-0b371846bfd0}',
        'contract_ids': ['@mozilla.org/network/protocol;1?name=android'],
        'type': 'nsAndroidProtocolHandler',
        'headers': ['/widget/android/nsAndroidProtocolHandler.h'],
    },
    {
        'cid': '{84e11f80-ca55-11dd-ad8b-0800200c9a66}',
        'contract_ids': ['@mozilla.org/system-alerts-service;1'],
        'type': 'mozilla::widget::AndroidAlerts',
        'headers': ['/widget/android/AndroidAlerts.h'],
    },
]