mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
43b7d40966
--HG-- rename : browser/base/content/AllTabs.js => browser/base/content/tabview/modules/AllTabs.js extra : rebase_source : 267110a1a1dd8cc8d4188f20285d688b2b901aa1
39 lines
1.3 KiB
JavaScript
39 lines
1.3 KiB
JavaScript
// profile.js starts a timer to see how long this file takes to load, so it needs to be first.
|
|
// The file should be removed before we ship.
|
|
#include profile.js
|
|
|
|
Components.utils.import("resource://gre/modules/tabview/AllTabs.js");
|
|
Components.utils.import("resource://gre/modules/tabview/groups.js");
|
|
Components.utils.import("resource://gre/modules/tabview/utils.js");
|
|
Components.utils.import("resource://gre/modules/Services.jsm");
|
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
|
|
|
XPCOMUtils.defineLazyGetter(this, "gWindow", function() {
|
|
return window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).
|
|
getInterface(Components.interfaces.nsIWebNavigation).
|
|
QueryInterface(Components.interfaces.nsIDocShell).
|
|
chromeEventHandler.ownerDocument.defaultView;
|
|
});
|
|
|
|
XPCOMUtils.defineLazyGetter(this, "gBrowser", function() gWindow.gBrowser);
|
|
|
|
XPCOMUtils.defineLazyGetter(this, "gTabViewDeck", function() {
|
|
return gWindow.document.getElementById("tab-view-deck");
|
|
});
|
|
|
|
XPCOMUtils.defineLazyGetter(this, "gTabViewFrame", function() {
|
|
return gWindow.document.getElementById("tab-view");
|
|
});
|
|
|
|
# NB: Certain files need to evaluate before others
|
|
|
|
#include iq.js
|
|
#include storage.js
|
|
#include items.js
|
|
#include groupitems.js
|
|
#include tabitems.js
|
|
#include drag.js
|
|
#include trench.js
|
|
#include infoitems.js
|
|
#include ui.js
|