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

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

Issue 1086973004: [Extensions Mac] Implement developer mode warning on mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finnur's Created 5 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_actions_container_view.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h
index 09ef7eef5d6ed2ff64c6dd4a6790a5d72be72d4e..f748c17c6b1efcae04d0e37b4d75ecde4d570b23 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h
@@ -73,6 +73,10 @@ class BrowserActionsContainerViewSizeDelegate {
// to large.
BOOL grippyPinned_;
+ // Whether the toolbar is currently highlighting its actions (in which case it
+ // is drawn with an orange background).
+ BOOL isHighlighting_;
+
// A tracking area to receive mouseEntered events, if tracking is enabled.
ui::ScopedCrTrackingArea trackingArea_;
@@ -86,6 +90,9 @@ class BrowserActionsContainerViewSizeDelegate {
// Sets whether or not tracking (for mouseEntered events) is enabled.
- (void)setTrackingEnabled:(BOOL)enabled;
+// Sets whether or not the container is highlighting.
+- (void)setIsHighlighting:(BOOL)isHighlighting;
+
// Resizes the container to the given ideal width, optionally animating.
- (void)resizeToWidth:(CGFloat)width animate:(BOOL)animate;

Powered by Google App Engine
This is Rietveld 408576698