mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 883953: Part 1: Move infobar to bottom of screen. r=mbrubeck
This commit is contained in:
parent
4dbc84e9f0
commit
bf851fef13
@ -187,8 +187,9 @@ var ContentAreaObserver = {
|
||||
},
|
||||
|
||||
onBrowserCreated: function onBrowserCreated(aBrowser) {
|
||||
aBrowser.classList.add("content-width");
|
||||
aBrowser.classList.add("content-height");
|
||||
let notificationBox = aBrowser.parentNode.parentNode;
|
||||
notificationBox.classList.add("content-width");
|
||||
notificationBox.classList.add("content-height");
|
||||
},
|
||||
|
||||
/*
|
||||
|
@ -1718,9 +1718,6 @@ Tab.prototype = {
|
||||
browser.id = "browser-" + this._id;
|
||||
this._chromeTab.linkedBrowser = browser;
|
||||
|
||||
// let the content area manager know about this browser.
|
||||
ContentAreaObserver.onBrowserCreated(browser);
|
||||
|
||||
browser.setAttribute("type", "content");
|
||||
|
||||
let useRemote = Services.prefs.getBoolPref("browser.tabs.remote");
|
||||
@ -1735,6 +1732,11 @@ Tab.prototype = {
|
||||
notification.appendChild(stack);
|
||||
Elements.browsers.insertBefore(notification, aInsertBefore);
|
||||
|
||||
notification.dir = "reverse";
|
||||
|
||||
// let the content area manager know about this browser.
|
||||
ContentAreaObserver.onBrowserCreated(browser);
|
||||
|
||||
// stop about:blank from loading
|
||||
browser.stop();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user