summaryrefslogtreecommitdiffstats
path: root/widget/uikit/components.conf
blob: 0a4480ee4ae52ad9dc3a3f5222fe738ca49283e0 (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
# -*- 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/uikit/nsWidgetFactory.h',

InitFunc = 'nsWidgetUIKitModuleCtor'
UnloadFunc = 'nsWidgetUIKitModuleDtor'

Classes = [
    {
        'name': 'GfxInfo',
        'cid': '{d755a760-9f27-11df-0800-200c9a664242}',
        'contract_ids': ['@mozilla.org/gfx/info;1'],
        'type': 'mozilla::widget::GfxInfo',
        'headers': ['/widget/uikit/GfxInfo.h'],
        'init_method': 'Init',
    },
    {
        'cid': '{2d96b3df-c051-11d1-a827-0040959a28c9}',
        'contract_ids': ['@mozilla.org/widget/appshell/uikit;1'],
        'legacy_constructor': 'nsAppShellConstructor',
        'headers': ['/widget/uikit/nsWidgetFactory.h'],
        'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_SOCKET_AND_UTILITY_PROCESS,
    },
]