mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1177774 - Import ContentAreaUtils. r=margaret
--HG-- extra : commitid : Cvggf7YK8vX extra : rebase_source : 8c836e50fac312e793bcd8a7a0457f59d35225e2
This commit is contained in:
parent
e97ff48038
commit
966cb95a0b
@ -3,6 +3,8 @@
|
||||
* 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/. */
|
||||
|
||||
/*globals ContentAreaUtils */
|
||||
|
||||
const { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components;
|
||||
|
||||
const APK_MIME_TYPE = "application/vnd.android.package-archive";
|
||||
@ -20,6 +22,12 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
// HelperApp Launcher Dialog
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "ContentAreaUtils", function() {
|
||||
let ContentAreaUtils = {};
|
||||
Services.scriptloader.loadSubScript("chrome://global/content/contentAreaUtils.js", ContentAreaUtils);
|
||||
return ContentAreaUtils;
|
||||
});
|
||||
|
||||
function HelperAppLauncherDialog() { }
|
||||
|
||||
HelperAppLauncherDialog.prototype = {
|
||||
|
Loading…
Reference in New Issue
Block a user