mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +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 () {
|
XPCOMUtils.defineLazyGetter(this, "Win7Features", function () {
|
||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
// Bug 666808 - AeroPeek support for e10s
|
|
||||||
if (!gMultiProcessBrowser)
|
|
||||||
return null;
|
|
||||||
|
|
||||||
const WINTASKBAR_CONTRACTID = "@mozilla.org/windows-taskbar;1";
|
const WINTASKBAR_CONTRACTID = "@mozilla.org/windows-taskbar;1";
|
||||||
if (WINTASKBAR_CONTRACTID in Cc &&
|
if (WINTASKBAR_CONTRACTID in Cc &&
|
||||||
Cc[WINTASKBAR_CONTRACTID].getService(Ci.nsIWinTaskbar).available) {
|
Cc[WINTASKBAR_CONTRACTID].getService(Ci.nsIWinTaskbar).available) {
|
||||||
@ -1139,8 +1135,11 @@ var gBrowserInit = {
|
|||||||
gBrowser.mPanelContainer.addEventListener("PreviewBrowserTheme", LightWeightThemeWebInstaller, false, true);
|
gBrowser.mPanelContainer.addEventListener("PreviewBrowserTheme", LightWeightThemeWebInstaller, false, true);
|
||||||
gBrowser.mPanelContainer.addEventListener("ResetBrowserThemePreview", LightWeightThemeWebInstaller, false, true);
|
gBrowser.mPanelContainer.addEventListener("ResetBrowserThemePreview", LightWeightThemeWebInstaller, false, true);
|
||||||
|
|
||||||
if (Win7Features)
|
// Bug 666808 - AeroPeek support for e10s
|
||||||
Win7Features.onOpenWindow();
|
if (!gMultiProcessBrowser) {
|
||||||
|
if (Win7Features)
|
||||||
|
Win7Features.onOpenWindow();
|
||||||
|
}
|
||||||
|
|
||||||
// called when we go into full screen, even if initiated by a web page script
|
// called when we go into full screen, even if initiated by a web page script
|
||||||
window.addEventListener("fullscreen", onFullScreen, true);
|
window.addEventListener("fullscreen", onFullScreen, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user