2010-07-22 12:35:11 -07:00
|
|
|
Components.utils.import("resource://gre/modules/tabview/tabs.js");
|
2010-07-28 21:56:31 -07:00
|
|
|
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-candy-deck");
|
|
|
|
});
|
|
|
|
|
|
|
|
XPCOMUtils.defineLazyGetter(this, "gTabViewFrame", function() {
|
|
|
|
return gWindow.document.getElementById("tab-candy");
|
|
|
|
});
|
|
|
|
|
|
|
|
# NB: Certain files need to evaluate before others
|
2010-07-22 12:35:11 -07:00
|
|
|
|
2010-07-27 16:18:55 -07:00
|
|
|
#include core/profile.js
|
2010-06-29 01:04:26 -07:00
|
|
|
#include core/utils.js
|
2010-07-26 17:15:19 -07:00
|
|
|
#include core/iq.js
|
2010-06-29 01:04:26 -07:00
|
|
|
#include app/storage.js
|
|
|
|
#include app/items.js
|
2010-07-20 09:46:01 -07:00
|
|
|
#include app/groups.js
|
|
|
|
#include app/tabitems.js
|
|
|
|
|
2010-06-29 01:04:26 -07:00
|
|
|
#include app/drag.js
|
|
|
|
#include app/trench.js
|
2010-07-07 17:04:01 -07:00
|
|
|
#include app/infoitems.js
|
2010-06-29 01:04:26 -07:00
|
|
|
#include app/ui.js
|