Bug 617528 Part 2 - Core implementation r=smaug

This commit is contained in:
Jan Varga
2011-08-08 19:31:32 +02:00
parent 2b91286805
commit a76cfe8db7
54 changed files with 2363 additions and 89 deletions

View File

@@ -216,6 +216,12 @@ XPCOMUtils.defineLazyServiceGetter(this, "gCrashReporter",
"nsICrashReporter");
#endif
XPCOMUtils.defineLazyGetter(this, "PageMenu", function() {
let tmp = {};
Cu.import("resource://gre/modules/PageMenu.jsm", tmp);
return new tmp.PageMenu();
});
/**
* We can avoid adding multiple load event listeners and save some time by adding
* one listener that calls all real handlers.