mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
Backed out changeset d45a33d0fc2e
This commit is contained in:
parent
9af49fc965
commit
ac1c6a8950
@ -170,10 +170,6 @@ let gInitialPages = [
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "Win7Features", function () {
|
||||
#ifdef XP_WIN
|
||||
// Bug 666808 - AeroPeek support for e10s
|
||||
if (!gMultiProcessBrowser)
|
||||
return null;
|
||||
|
||||
const WINTASKBAR_CONTRACTID = "@mozilla.org/windows-taskbar;1";
|
||||
if (WINTASKBAR_CONTRACTID in Cc &&
|
||||
Cc[WINTASKBAR_CONTRACTID].getService(Ci.nsIWinTaskbar).available) {
|
||||
@ -1139,8 +1135,11 @@ var gBrowserInit = {
|
||||
gBrowser.mPanelContainer.addEventListener("PreviewBrowserTheme", LightWeightThemeWebInstaller, false, true);
|
||||
gBrowser.mPanelContainer.addEventListener("ResetBrowserThemePreview", LightWeightThemeWebInstaller, false, true);
|
||||
|
||||
if (Win7Features)
|
||||
Win7Features.onOpenWindow();
|
||||
// Bug 666808 - AeroPeek support for e10s
|
||||
if (!gMultiProcessBrowser) {
|
||||
if (Win7Features)
|
||||
Win7Features.onOpenWindow();
|
||||
}
|
||||
|
||||
// called when we go into full screen, even if initiated by a web page script
|
||||
window.addEventListener("fullscreen", onFullScreen, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user