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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_action_button.mm

Issue 10797054: Use NSMenuDelegate for browser action overflow menu to update it upon opening. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/cocoa/extensions/browser_action_button.mm
diff --git a/chrome/browser/ui/cocoa/extensions/browser_action_button.mm b/chrome/browser/ui/cocoa/extensions/browser_action_button.mm
index 61e2c9bf6d321d011c6ca83328fa4c3ec6b89bf8..0ab34116a3837320678197f9b9a3d2f60f996fcf 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_action_button.mm
+++ b/chrome/browser/ui/cocoa/extensions/browser_action_button.mm
@@ -31,9 +31,6 @@
using extensions::Extension;
-NSString* const kBrowserActionButtonUpdatedNotification =
- @"BrowserActionButtonUpdatedNotification";
-
NSString* const kBrowserActionButtonDraggingNotification =
@"BrowserActionButtonDraggingNotification";
NSString* const kBrowserActionButtonDragEndNotification =
@@ -277,10 +274,6 @@ class ExtensionImageTrackerBridge : public content::NotificationObserver,
[self setEnabled:enabled ? YES : NO];
[self setNeedsDisplay:YES];
-
- [[NSNotificationCenter defaultCenter]
- postNotificationName:kBrowserActionButtonUpdatedNotification
- object:self];
}
- (BOOL)isAnimating {

Powered by Google App Engine
This is Rietveld 408576698