Bug 883953: Part 1: Move infobar to bottom of screen. r=mbrubeck

This commit is contained in:
Marina Samuel 2013-08-13 13:34:36 -04:00
Родитель 4dbc84e9f0
Коммит bf851fef13
2 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -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();