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

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

Issue 1888133002: [Extensions UI Mac] Fix a bug with popped out actions' highlighted state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_action_button.h b/chrome/browser/ui/cocoa/extensions/browser_action_button.h
index 645243ae8ee123db96544bddd909b3385848546d..a51fff2c6deb1678c6379d77ec244ad9b1b799b0 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_action_button.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_action_button.h
@@ -100,6 +100,8 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
- (void)setTestContextMenu:(NSMenu*)testContextMenu;
// Returns true if the action wants to run.
- (BOOL)wantsToRunForTesting;
+// Returns true if the cell is highlighted.
+- (BOOL)isHighlighted;
@end
@interface BrowserActionCell : ImageButtonCell {

Powered by Google App Engine
This is Rietveld 408576698