Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7689)

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 204703002: Rename NOTIFICATION_EXTENSION_UNLOADED to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maybe upload wont do something bizarre this time Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index df73e4c8b9699a93eb0a1de6b608df224339c5f2..177ba02f1ac4b5165155576714f230720ed7a221 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -428,7 +428,9 @@ void LocationBarView::Init() {
chrome::NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED,
profile_source);
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, profile_source);
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, profile_source);
+ registrar_.Add(this,
+ chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
+ profile_source);
// Initialize the location entry. We do this to avoid a black flash which is
// visible when the location entry has just been initialized.
@@ -1345,7 +1347,7 @@ void LocationBarView::Observe(int type,
}
case chrome::NOTIFICATION_EXTENSION_LOADED:
- case chrome::NOTIFICATION_EXTENSION_UNLOADED:
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED:
Update(NULL);
break;
« no previous file with comments | « chrome/browser/ui/panels/panel_browsertest.cc ('k') | chrome/browser/ui/webui/app_list/start_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698