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

Unified Diff: chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h

Issue 1883033002: [Mac] Update tab audio icon to Material Design and tweak close box color. (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/tabs/alert_indicator_button_cocoa.h
diff --git a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h
index c17583ed2b1a77431a9a60251a3ac6d65e3adb0e..94c556ff9887d0e647213cc79d56effca5db7f51 100644
--- a/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h
+++ b/chrome/browser/ui/cocoa/tabs/alert_indicator_button_cocoa.h
@@ -8,6 +8,7 @@
#include <memory>
#import "base/mac/scoped_nsobject.h"
+#import "chrome/browser/ui/cocoa/themed_window.h"
#include "chrome/browser/ui/tabs/tab_utils.h"
#import "ui/base/cocoa/hover_button.h"
@@ -27,7 +28,7 @@ class AnimationDelegate;
//
// Note: Send the |-setClickTarget:withAction:| message instead of the
// |-setTarget:| and |-setAction:| messages to be notified of button clicks.
-@interface AlertIndicatorButton : HoverButton {
+@interface AlertIndicatorButton : HoverButton <ThemedWindowDrawing> {
@private
class FadeAnimationDelegate;
@@ -79,6 +80,10 @@ class AnimationDelegate;
// clicked. A weak reference on |target| is held.
- (void)setClickTarget:(id)target withAction:(SEL)action;
+// ThemedWindowDrawing protocol support.
+- (void)windowDidChangeTheme;
+- (void)windowDidChangeActive;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_TABS_ALERT_INDICATOR_BUTTON_COCOA_H_

Powered by Google App Engine
This is Rietveld 408576698