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

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

Issue 309173002: Delete NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, never Notify()d. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf3eee2aaf8135c69394aee53f73e03f90c84e7d..19b19dcc6d456e6fb9b31db2cbf5556a2b96b174 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -435,9 +435,6 @@ void LocationBarView::Init() {
hide_url_animation_->SetSlideDuration(175);
content::Source<Profile> profile_source = content::Source<Profile>(profile());
- registrar_.Add(this,
- chrome::NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED,
- profile_source);
registrar_.Add(
this, chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED, profile_source);
registrar_.Add(this,
@@ -1786,13 +1783,6 @@ void LocationBarView::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
switch (type) {
- case chrome::NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED: {
- // Only update if the updated action box was for the active tab contents.
- if (content::Details<WebContents>(details).ptr() == GetWebContents())
- UpdatePageActions();
- break;
- }
-
case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED:
case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED:
Update(NULL);
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698