зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1524688: Part 23 - Convert TooltipTextProvider to static registration. r=mconley
--HG-- rename : toolkit/components/tooltiptext/TooltipTextProvider.js => toolkit/components/tooltiptext/TooltipTextProvider.jsm extra : rebase_source : 60c490e617b4e9b32ef7108887f89bc9f55a7aee
This commit is contained in:
Родитель
51f5280430
Коммит
a3f27a9386
|
@ -201,8 +201,6 @@
|
|||
@RESPATH@/browser/components/payments.manifest
|
||||
@RESPATH@/browser/components/paymentUIService.js
|
||||
#endif
|
||||
@RESPATH@/components/TooltipTextProvider.js
|
||||
@RESPATH@/components/TooltipTextProvider.manifest
|
||||
@RESPATH@/components/WebVTT.manifest
|
||||
@RESPATH@/components/WebVTTParserWrapper.js
|
||||
@RESPATH@/components/nsHelperAppDlg.manifest
|
||||
|
|
|
@ -121,8 +121,6 @@
|
|||
@BINPATH@/components/nsDNSServiceDiscovery.js
|
||||
#endif
|
||||
@BINPATH@/components/toolkitsearch.manifest
|
||||
@BINPATH@/components/TooltipTextProvider.js
|
||||
@BINPATH@/components/TooltipTextProvider.manifest
|
||||
|
||||
@BINPATH@/components/extensions.manifest
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
* 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/. */
|
||||
|
||||
const {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
function TooltipTextProvider() {}
|
||||
|
@ -146,5 +145,4 @@ TooltipTextProvider.prototype = {
|
|||
QueryInterface: ChromeUtils.generateQI([Ci.nsITooltipTextProvider]),
|
||||
};
|
||||
|
||||
this.NSGetFactory = XPCOMUtils.generateNSGetFactory([TooltipTextProvider]);
|
||||
|
||||
var EXPORTED_SYMBOLS = ["TooltipTextProvider"];
|
|
@ -1,2 +0,0 @@
|
|||
component {f376627f-0bbc-47b8-887e-fc92574cc91f} TooltipTextProvider.js
|
||||
contract @mozilla.org/embedcomp/default-tooltiptextprovider;1 {f376627f-0bbc-47b8-887e-fc92574cc91f}
|
|
@ -0,0 +1,14 @@
|
|||
# -*- 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/.
|
||||
|
||||
Classes = [
|
||||
{
|
||||
'cid': '{f376627f-0bbc-47b8-887e-fc92574cc91f}',
|
||||
'contract_ids': ['@mozilla.org/embedcomp/default-tooltiptextprovider;1'],
|
||||
'jsm': 'resource://gre/modules/TooltipTextProvider.jsm',
|
||||
'constructor': 'TooltipTextProvider',
|
||||
},
|
||||
]
|
|
@ -6,9 +6,12 @@
|
|||
|
||||
BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
'TooltipTextProvider.js',
|
||||
'TooltipTextProvider.manifest',
|
||||
EXTRA_JS_MODULES += [
|
||||
'TooltipTextProvider.jsm',
|
||||
]
|
||||
|
||||
XPCOM_MANIFESTS += [
|
||||
'components.conf',
|
||||
]
|
||||
|
||||
with Files('**'):
|
||||
|
|
Загрузка…
Ссылка в новой задаче