Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz

This commit is contained in:
Justin Lebar 2012-11-10 10:32:35 -08:00
Родитель 8b16be636c
Коммит d593f7da26
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -1620,7 +1620,7 @@ nsFrameLoader::MaybeCreateDocShell()
nsCOMPtr<nsIObserverService> os = services::GetObserverService(); nsCOMPtr<nsIObserverService> os = services::GetObserverService();
if (os) { if (os) {
os->NotifyObservers(NS_ISUPPORTS_CAST(nsIFrameLoader*, this), os->NotifyObservers(NS_ISUPPORTS_CAST(nsIFrameLoader*, this),
"in-process-browser-frame-shown", NULL); "in-process-browser-or-app-frame-shown", NULL);
} }
if (mMessageManager) { if (mMessageManager) {

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

@ -120,7 +120,7 @@ BrowserElementParentFactory.prototype = {
var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService); var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService);
os.addObserver(this, 'remote-browser-frame-shown', /* ownsWeak = */ true); os.addObserver(this, 'remote-browser-frame-shown', /* ownsWeak = */ true);
os.addObserver(this, 'in-process-browser-frame-shown', /* ownsWeak = */ true); os.addObserver(this, 'in-process-browser-or-app-frame-shown', /* ownsWeak = */ true);
}, },
_browserFramesPrefEnabled: function() { _browserFramesPrefEnabled: function() {
@ -161,7 +161,7 @@ BrowserElementParentFactory.prototype = {
case 'remote-browser-frame-shown': case 'remote-browser-frame-shown':
this._observeRemoteBrowserFrameShown(subject); this._observeRemoteBrowserFrameShown(subject);
break; break;
case 'in-process-browser-frame-shown': case 'in-process-browser-or-app-frame-shown':
this._observeInProcessBrowserFrameShown(subject); this._observeInProcessBrowserFrameShown(subject);
break; break;
case 'content-document-global-created': case 'content-document-global-created':