2019-01-24 02:45:56 +03:00
|
|
|
# -*- 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 = [
|
|
|
|
'/layout/build/nsLayoutModule.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UnloadFunc = 'nsLayoutModuleDtor'
|
|
|
|
|
|
|
|
# This module's unload function needs to be called as late as possible.
|
|
|
|
Priority = 100
|
|
|
|
|
|
|
|
content_types = [
|
|
|
|
'application/ecmascript',
|
|
|
|
'application/javascript',
|
|
|
|
'application/json',
|
|
|
|
'application/mathml+xml',
|
|
|
|
'application/rdf+xml',
|
|
|
|
'application/vnd.mozilla.xul+xml',
|
|
|
|
'application/vnd.wap.xhtml+xml',
|
|
|
|
'application/x-javascript',
|
|
|
|
'application/x-view-source',
|
|
|
|
'application/xhtml+xml',
|
|
|
|
'application/xml',
|
|
|
|
'image/svg+xml',
|
|
|
|
'text/cache-manifest',
|
|
|
|
'text/css',
|
|
|
|
'text/ecmascript',
|
|
|
|
'text/html',
|
|
|
|
'text/javascript',
|
|
|
|
'text/json',
|
|
|
|
'text/plain',
|
|
|
|
'text/rdf',
|
|
|
|
'text/vtt',
|
|
|
|
'text/xml',
|
2019-01-25 02:40:58 +03:00
|
|
|
|
|
|
|
'image/apng',
|
|
|
|
'image/bmp',
|
|
|
|
'image/gif',
|
|
|
|
'image/icon',
|
|
|
|
'image/jpeg',
|
|
|
|
'image/jpg',
|
|
|
|
'image/pjpeg',
|
|
|
|
'image/png',
|
|
|
|
'image/vnd.microsoft.icon',
|
|
|
|
'image/x-icon',
|
|
|
|
'image/x-ms-bmp',
|
|
|
|
'image/x-png',
|
2019-01-24 02:45:56 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
if defined('MOZ_WEBM'):
|
|
|
|
content_types += [
|
|
|
|
"audio/webm",
|
|
|
|
"video/webm",
|
|
|
|
]
|
|
|
|
|
|
|
|
Classes = [
|
|
|
|
{
|
|
|
|
'cid': '{1691e1f4-ee41-11d4-9885-00c04fa0cf4b}',
|
|
|
|
'type': 'nsIFrameTraversal',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{574ce83e-fe9f-4095-b85c-7909abbf7c37}',
|
|
|
|
'type': 'nsJSURI::Mutator',
|
|
|
|
'headers': ['nsJSProtocolHandler.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{58f089ee-512a-42d2-a935-d0c874128930}',
|
|
|
|
'type': 'nsJSURI::Mutator',
|
|
|
|
'headers': ['nsJSProtocolHandler.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{972d8d8f-f0da-11d4-9885-00c04fa0cf4b}',
|
|
|
|
'type': 'nsIContentViewer',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{bbe50ef2-80eb-469d-b70d-02858275389f}',
|
|
|
|
'type': 'mozilla::dom::BlobURL::Mutator',
|
|
|
|
'headers': ['mozilla/dom/BlobURL.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{f5475c51-59a7-4757-b3d9-e211a9410872}',
|
|
|
|
'type': 'mozilla::dom::BlobURL::Mutator',
|
|
|
|
'headers': ['mozilla/dom/BlobURL.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{fe0ff7c3-8e97-448b-9a8a-86afdb9fbbb6}',
|
|
|
|
'contract_ids': ['@mozilla.org/childprocessmessagemanager;1'],
|
|
|
|
'legacy_constructor': 'CreateChildMessageManager',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{fc886801-e768-11d4-9885-00c04fa0cf4b}',
|
|
|
|
'contract_ids': ['@mozilla.org/content/document-loader-factory;1'],
|
|
|
|
'type': 'nsIDocumentLoaderFactory',
|
|
|
|
'categories': {'Gecko-Content-Viewers': content_types},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{0ddf4df8-4dbb-4133-8b79-9afb966514f5}',
|
|
|
|
'contract_ids': ['@mozilla.org/content/plugin/document-loader-factory;1'],
|
|
|
|
'type': 'nsIDocumentLoaderFactory',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{3b55e72e-ab7e-431b-89c0-3b06a8b14016}',
|
|
|
|
'contract_ids': ['@mozilla.org/content/style-sheet-service;1'],
|
|
|
|
'type': 'nsStyleSheetService',
|
|
|
|
'headers': ['nsStyleSheetService.h'],
|
|
|
|
'init_method': 'Init',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{cdcc1ab8-3cea-4e6c-a294-a651fa35227f}',
|
|
|
|
'contract_ids': ['@mozilla.org/contentsecuritymanager;1'],
|
|
|
|
'type': 'nsContentSecurityManager',
|
|
|
|
'headers': ['mozilla/dom/nsContentSecurityManager.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{09d9ed1a-e5d4-4004-bfe0-27ceb923d9ac}',
|
|
|
|
'contract_ids': ['@mozilla.org/cspcontext;1'],
|
|
|
|
'type': 'nsCSPContext',
|
|
|
|
'headers': ['mozilla/dom/nsCSPContext.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{8d2f40b2-4875-4c95-97d9-3f7dca2cb460}',
|
|
|
|
'contract_ids': ['@mozilla.org/cspservice;1'],
|
|
|
|
'type': 'CSPService',
|
|
|
|
'headers': ['mozilla/dom/nsCSPService.h'],
|
|
|
|
'categories': {'content-policy': 'CSPService', 'net-channel-event-sinks': 'CSPService'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{1147d32c-215b-4014-b180-07fe7aedf915}',
|
|
|
|
'contract_ids': ['@mozilla.org/data-document-content-policy;1'],
|
|
|
|
'type': 'nsDataDocumentContentPolicy',
|
|
|
|
'headers': ['/dom/base/nsDataDocumentContentPolicy.h'],
|
|
|
|
'categories': {'content-policy': '@mozilla.org/data-document-content-policy;1'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{ecba5203-77da-465a-865e-78b7af10d8f7}',
|
|
|
|
'contract_ids': ['@mozilla.org/devicesensors;1'],
|
|
|
|
'type': 'nsDeviceSensors',
|
|
|
|
'headers': ['nsDeviceSensors.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{38bd0634-0fd4-46f0-b85f-13ced889eeec}',
|
|
|
|
'contract_ids': ['@mozilla.org/docshell/structured-clone-container;1'],
|
|
|
|
'type': 'nsStructuredCloneContainer',
|
|
|
|
'headers': ['nsStructuredCloneContainer.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{3160e271-138d-4cc7-9d63-6429f16957c7}',
|
|
|
|
'contract_ids': ['@mozilla.org/dom/dom-request-service;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::DOMRequestService',
|
|
|
|
'headers': ['mozilla/dom/DOMRequest.h'],
|
|
|
|
'constructor': 'mozilla::dom::DOMRequestService::FactoryCreate',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{656db07c-aa80-49e4-bce8-e431baae697d}',
|
|
|
|
'contract_ids': ['@mozilla.org/dom/localStorage-manager;1'],
|
|
|
|
'legacy_constructor': 'LocalStorageManagerConstructor',
|
|
|
|
},
|
2019-11-12 18:40:02 +03:00
|
|
|
{
|
|
|
|
'cid': '{64e4bf03-773e-408e-939a-e11652fdfd28}',
|
|
|
|
'contract_ids': ['@mozilla.org/dom/sessionStorage-manager;1'],
|
|
|
|
'legacy_constructor': 'SessionStorageManagerConstructor',
|
|
|
|
},
|
2019-01-24 02:45:56 +03:00
|
|
|
{
|
|
|
|
'cid': '{5a75c25a-5e7e-4d90-8f7c-07eb15cc0aa8}',
|
|
|
|
'contract_ids': ['@mozilla.org/dom/quota-manager-service;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::quota::QuotaManagerService',
|
|
|
|
'headers': ['mozilla/dom/quota/QuotaManagerService.h'],
|
|
|
|
'constructor': 'mozilla::dom::quota::QuotaManagerService::FactoryCreate',
|
|
|
|
'categories': {'idle-daily': 'QuotaManagerService'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{ae2793c0-2ba3-4adb-9c5e-c23525812c64}',
|
|
|
|
'contract_ids': ['@mozilla.org/dom/sdb-connection;1'],
|
|
|
|
'legacy_constructor': 'mozilla::dom::SDBConnection::Create',
|
|
|
|
'headers': ['mozilla/dom/SDBConnection.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{62ec8731-55ad-4246-b2ea-f26c1fe19d2d}',
|
|
|
|
'contract_ids': ['@mozilla.org/dom/workers/workerdebuggermanager;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::WorkerDebuggerManager',
|
|
|
|
'headers': ['mozilla/dom/WorkerDebuggerManager.h'],
|
|
|
|
'constructor': 'mozilla::dom::WorkerDebuggerManager::GetInstance',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{baa34652-f1f1-4185-b224-244ee82a413a}',
|
|
|
|
'contract_ids': ['@mozilla.org/eventlistenerservice;1'],
|
|
|
|
'type': 'nsIEventListenerService',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{e8ee88b0-5571-4086-a45b-39a716906bdb}',
|
|
|
|
'contract_ids': ['@mozilla.org/expandedprincipal;1'],
|
|
|
|
'type': 'ExpandedPrincipal',
|
|
|
|
'headers': ['/caps/ExpandedPrincipal.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{cf7fd51f-aba2-44c1-9ff0-11f7508efcd4}',
|
|
|
|
'contract_ids': ['@mozilla.org/focus-manager;1'],
|
|
|
|
'type': 'nsIFocusManager',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{7b121f7e-ebe4-43ab-9410-dc9087a1dba6}',
|
|
|
|
'contract_ids': ['@mozilla.org/gecko-media-plugin-service;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::gmp::GeckoMediaPluginService',
|
|
|
|
'headers': ['GMPService.h'],
|
|
|
|
'constructor': 'mozilla::gmp::GeckoMediaPluginService::GetGeckoMediaPluginService',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{01e1c3ff-094a-d048-44b4-62d29c7b4f39}',
|
|
|
|
'contract_ids': ['@mozilla.org/geolocation;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::Geolocation',
|
2019-11-14 07:18:04 +03:00
|
|
|
'headers': ['/dom/geolocation/Geolocation.h'],
|
2019-01-24 02:45:56 +03:00
|
|
|
'constructor': 'mozilla::dom::Geolocation::NonWindowSingleton',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{130b016f-fad7-4526-bc7f-827dabf79265}',
|
|
|
|
'contract_ids': ['@mozilla.org/globalmessagemanager;1'],
|
|
|
|
'legacy_constructor': 'CreateGlobalMessageManager',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{bfcb82c2-5611-4318-90d6-baf4a7864252}',
|
|
|
|
'contract_ids': ['@mozilla.org/inspector/deep-tree-walker;1'],
|
|
|
|
'type': 'inDeepTreeWalker',
|
|
|
|
'headers': ['/layout/inspector/inDeepTreeWalker.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{0e3afd3d-eb60-4c2b-963b-56d7c439f124}',
|
|
|
|
'contract_ids': ['@mozilla.org/layout/content-policy;1'],
|
|
|
|
'legacy_constructor': 'CreateContentPolicy',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{4aef38b7-6364-4e23-a5e7-12f837fbbd9c}',
|
|
|
|
'contract_ids': [
|
|
|
|
'@mozilla.org/layout/contentserializer;1?mimetype=application/vnd.mozilla.xul+xml',
|
|
|
|
'@mozilla.org/layout/contentserializer;1?mimetype=application/xml',
|
|
|
|
'@mozilla.org/layout/contentserializer;1?mimetype=image/svg+xml',
|
|
|
|
'@mozilla.org/layout/contentserializer;1?mimetype=text/xml',
|
|
|
|
],
|
|
|
|
'type': 'nsIContentSerializer',
|
|
|
|
'legacy_constructor': 'CreateXMLContentSerializer',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{e7c2aaf5-c11a-4954-9dbf-e28edec1fd91}',
|
|
|
|
'contract_ids': ['@mozilla.org/layout/contentserializer;1?mimetype=application/xhtml+xml'],
|
|
|
|
'legacy_constructor': 'CreateXHTMLContentSerializer',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{9d3f70da-86e9-11d4-95ec-00b0d03e37b7}',
|
|
|
|
'contract_ids': ['@mozilla.org/layout/contentserializer;1?mimetype=text/html'],
|
|
|
|
'type': 'nsIContentSerializer',
|
|
|
|
'legacy_constructor': 'CreateHTMLContentSerializer',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{6030f7ef-32ed-46a7-9a63-6a5d3f90445f}',
|
|
|
|
'contract_ids': ['@mozilla.org/layout/contentserializer;1?mimetype=text/plain'],
|
|
|
|
'legacy_constructor': 'CreatePlainTextSerializer',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{abc622ea-9655-4123-80d9-22621bdd5465}',
|
|
|
|
'contract_ids': ['@mozilla.org/mediaManagerService;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'nsIMediaManagerService',
|
|
|
|
'headers': ['mozilla/MediaManager.h'],
|
|
|
|
'constructor': 'mozilla::MediaManager::GetInstance',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{daf1461b-bf29-4f88-8d0e-4bcdf332c862}',
|
|
|
|
'contract_ids': ['@mozilla.org/mixedcontentblocker;1'],
|
|
|
|
'type': 'nsMixedContentBlocker',
|
|
|
|
'headers': ['mozilla/dom/nsMixedContentBlocker.h'],
|
|
|
|
'categories': {
|
|
|
|
'content-policy': '@mozilla.org/mixedcontentblocker;1',
|
|
|
|
'net-channel-event-sinks': '@mozilla.org/mixedcontentblocker;1',
|
|
|
|
},
|
|
|
|
},
|
2019-02-12 22:35:32 +03:00
|
|
|
{
|
|
|
|
'cid': '{041a129f-10ce-4bda-a60d-e027a26d5ed0}',
|
|
|
|
'contract_ids': ['@mozilla.org/referrer-info;1'],
|
|
|
|
'type': 'mozilla::dom::ReferrerInfo',
|
|
|
|
'headers': ['mozilla/dom/ReferrerInfo.h'],
|
|
|
|
},
|
2019-01-24 02:45:56 +03:00
|
|
|
{
|
|
|
|
'cid': '{4bbe1b96-8956-457f-a03f-9c27435f2afa}',
|
|
|
|
'contract_ids': ['@mozilla.org/net/osfileconstantsservice;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::OSFileConstantsService',
|
|
|
|
'headers': ['mozilla/OSFileConstants.h'],
|
|
|
|
'constructor': 'mozilla::OSFileConstantsService::GetOrCreate',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{bfc310d2-38a0-11d3-8cd3-0060b0fc14a3}',
|
|
|
|
'contract_ids': ['@mozilla.org/network/protocol;1?name=javascript'],
|
2019-11-27 23:05:02 +03:00
|
|
|
'type': 'nsJSProtocolHandler',
|
2019-01-24 02:45:56 +03:00
|
|
|
'headers': ['nsJSProtocolHandler.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{ac9e3e82-bfbd-4f26-941e-f58c8ee178c1}',
|
|
|
|
'contract_ids': ['@mozilla.org/no-data-protocol-content-policy;1'],
|
|
|
|
'type': 'nsNoDataProtocolContentPolicy',
|
|
|
|
'headers': ['/dom/base/nsNoDataProtocolContentPolicy.h'],
|
|
|
|
'categories': {'content-policy': '@mozilla.org/no-data-protocol-content-policy;1'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{bd066e5f-146f-4472-8331-7bfd05b1ed90}',
|
|
|
|
'contract_ids': ['@mozilla.org/nullprincipal;1'],
|
|
|
|
'type': 'mozilla::NullPrincipal',
|
|
|
|
'headers': ['/caps/NullPrincipal.h'],
|
|
|
|
'init_method': 'Init',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{2a058404-fb85-44ec-8cfd-e8cbdc988dc1}',
|
|
|
|
'contract_ids': ['@mozilla.org/parentprocessmessagemanager;1'],
|
|
|
|
'legacy_constructor': 'CreateParentMessageManager',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{af7b24cb-893f-41bb-961f-5a69388e27c3}',
|
|
|
|
'contract_ids': ['@mozilla.org/parserutils;1'],
|
|
|
|
'type': 'nsParserUtils',
|
|
|
|
'headers': ['nsParserUtils.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{e1e79dec-4085-4994-ac5b-744b016697e6}',
|
|
|
|
'contract_ids': ['@mozilla.org/presentation-device/manager;1'],
|
|
|
|
'type': 'mozilla::dom::PresentationDeviceManager',
|
|
|
|
'headers': ['mozilla/dom/PresentationDeviceManager.h'],
|
|
|
|
'categories': {'profile-after-change': 'PresentationDeviceManager'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{1d9bb10c-c0ab-4fe8-9e4f-4058b8519832}',
|
|
|
|
'contract_ids': ['@mozilla.org/presentation/presentationservice;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'nsIPresentationService',
|
|
|
|
'constructor': 'NS_CreatePresentationService',
|
|
|
|
'headers': ['nsIPresentationService.h', '/layout/build/nsLayoutModule.h'],
|
|
|
|
'categories': {'profile-after-change': 'PresentationService'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{c9d023f4-6228-4c07-8b1d-9c19573faa27}',
|
|
|
|
'contract_ids': ['@mozilla.org/presentation/presentationtcpsessiontransport;1'],
|
|
|
|
'type': 'mozilla::dom::PresentationTCPSessionTransport',
|
|
|
|
'headers': ['mozilla/dom/PresentationTCPSessionTransport.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{653e0e4d-3ee4-45fa-b272-97c20bc01eb8}',
|
|
|
|
'contract_ids': ['@mozilla.org/principal;1'],
|
|
|
|
'type': 'mozilla::ContentPrincipal',
|
|
|
|
'headers': ['/caps/ContentPrincipal.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{2fc2d3e3-020f-404e-b06a-6ecf3ea2334a}',
|
|
|
|
'contract_ids': ['@mozilla.org/push/Notifier;1'],
|
|
|
|
'type': 'mozilla::dom::PushNotifier',
|
|
|
|
'headers': ['mozilla/dom/PushNotifier.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{f68037ec-2790-44c5-8e5f-df5da58b93a7}',
|
|
|
|
'contract_ids': ['@mozilla.org/scriptable-content-iterator;1'],
|
|
|
|
'type': 'ScriptableContentIterator',
|
|
|
|
'headers': ['mozilla/ScriptableContentIterator.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{1950539a-90f0-4d22-b5af-71329c68fa35}',
|
|
|
|
'contract_ids': ['@mozilla.org/scripterror;1'],
|
|
|
|
'type': 'nsScriptError',
|
|
|
|
'headers': ['/dom/bindings/nsScriptError.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{7ee2a4c0-4b93-17d3-ba18-0060b0f199a2}',
|
|
|
|
'contract_ids': ['@mozilla.org/scriptsecuritymanager;1'],
|
|
|
|
'legacy_constructor': 'Construct_nsIScriptSecurityManager',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{c74bde32-bcc7-4840-8430-c733351b212a}',
|
|
|
|
'contract_ids': ['@mozilla.org/serviceworkers/manager;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::ServiceWorkerManager',
|
|
|
|
'headers': ['mozilla/dom/ServiceWorkerManager.h'],
|
|
|
|
'constructor': 'mozilla::dom::ServiceWorkerManager::GetInstance',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{69da374a-fda3-4a93-9fbc-d9304f66a7fe}',
|
|
|
|
'contract_ids': ['@mozilla.org/storage/activity-service;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::StorageActivityService',
|
|
|
|
'headers': ['mozilla/StaticPtr.h', 'mozilla/dom/StorageActivityService.h'],
|
|
|
|
'constructor': 'mozilla::dom::StorageActivityService::GetOrCreate',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{4a6212db-accb-11d3-b765-0060b0b6cecb}',
|
|
|
|
'contract_ids': ['@mozilla.org/systemprincipal;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'nsIPrincipal',
|
|
|
|
'headers': ['nsScriptSecurityManager.h', '/caps/SystemPrincipal.h'],
|
|
|
|
'constructor': 'nsScriptSecurityManager::SystemPrincipalSingletonConstructor',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{caaab47f-1e31-478e-8919-970904e9cb72}',
|
|
|
|
'contract_ids': ['@mozilla.org/text-input-processor;1'],
|
|
|
|
'type': 'mozilla::TextInputProcessor',
|
|
|
|
'headers': ['mozilla/TextInputProcessor.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{08c6cc8b-cfb0-421d-b1f7-683ff2989681}',
|
|
|
|
'contract_ids': ['@mozilla.org/thirdpartyutil;1'],
|
|
|
|
'type': 'ThirdPartyUtil',
|
|
|
|
'headers': ['/dom/base/ThirdPartyUtil.h'],
|
|
|
|
'init_method': 'Init',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{31689828-da66-49a6-870c-df62b83fe789}',
|
|
|
|
'contract_ids': ['@mozilla.org/websocketevent/service;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::net::WebSocketEventService',
|
|
|
|
'headers': ['mozilla/net/WebSocketEventService.h'],
|
|
|
|
'constructor': 'mozilla::net::WebSocketEventService::GetOrCreate',
|
|
|
|
},
|
2020-04-25 22:27:07 +03:00
|
|
|
{
|
|
|
|
'cid': '{abfbb785-5a44-49cf-88db-2f300bf727c9}',
|
|
|
|
'contract_ids': ['@mozilla.org/eventsourceevent/service;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::EventSourceEventService',
|
|
|
|
'headers': ['mozilla/dom/EventSourceEventService.h'],
|
|
|
|
'constructor': 'mozilla::dom::EventSourceEventService::GetOrCreate',
|
|
|
|
},
|
2019-01-24 02:45:56 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
if defined('MOZ_WEBSPEECH'):
|
|
|
|
Classes += [
|
|
|
|
{
|
|
|
|
'cid': '{7090524d-5574-4492-a77f-d8d558ced59d}',
|
|
|
|
'contract_ids': ['@mozilla.org/synth-voice-registry;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'mozilla::dom::nsSynthVoiceRegistry',
|
|
|
|
'headers': ['mozilla/dom/nsSynthVoiceRegistry.h'],
|
|
|
|
'constructor': 'mozilla::dom::nsSynthVoiceRegistry::GetInstanceForService',
|
|
|
|
},
|
2019-10-21 23:58:57 +03:00
|
|
|
{
|
|
|
|
'cid': '{0ff5ce56-5b09-4db8-adc6-8266af95f864}',
|
|
|
|
'contract_ids': ['@mozilla.org/webspeech/service;1?name=online'],
|
|
|
|
'type': 'mozilla::OnlineSpeechRecognitionService',
|
|
|
|
'headers': ['mozilla/dom/OnlineSpeechRecognitionService.h'],
|
|
|
|
},
|
2019-01-24 02:45:56 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
if defined('MOZ_WEBSPEECH_TEST_BACKEND'):
|
|
|
|
Classes += [
|
|
|
|
{
|
|
|
|
'cid': '{48c345e7-9929-4f9a-a563-f478222dabcd}',
|
|
|
|
'contract_ids': ['@mozilla.org/webspeech/service;1?name=fake'],
|
|
|
|
'type': 'mozilla::FakeSpeechRecognitionService',
|
|
|
|
'headers': ['mozilla/dom/FakeSpeechRecognitionService.h'],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
if defined('ACCESSIBILITY'):
|
|
|
|
Classes += [
|
|
|
|
{
|
|
|
|
'cid': '{3b265b69-f813-48ff-880d-d88d101af404}',
|
|
|
|
'contract_ids': ['@mozilla.org/accessibilityService;1'],
|
|
|
|
'type': 'nsIAccessibilityService',
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] == 'android':
|
|
|
|
Classes += [
|
|
|
|
{
|
|
|
|
'cid': '{1f15dbc8-bfaa-45de-8a46-08e2e26326b0}',
|
|
|
|
'contract_ids': ['@mozilla.org/widget/hapticfeedback;1'],
|
|
|
|
'type': 'nsHapticFeedback',
|
|
|
|
'headers': ['/dom/system/android/nsHapticFeedback.h'],
|
|
|
|
},
|
|
|
|
]
|