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

Unified Diff: chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h

Issue 1965193002: [Mac][Material Design] Fix ghosting of cast and other extension icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h b/chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h
index d4d904ebcb125b060a548289bb0cff861d1dca6a..acc93174ab36b45f6d5aa0dbfcdf6eb16807f117 100644
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h
+++ b/chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h
@@ -7,11 +7,13 @@
#import <Cocoa/Cocoa.h>
+#import "base/mac/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/themed_window.h"
#import "ui/gfx/color_utils.h"
#include "ui/gfx/vector_icons_public.h"
enum class ToolbarButtonImageBackgroundStyle {
+ DEFAULT,
HOVER,
HOVER_THEMED,
PRESSED,
@@ -21,6 +23,9 @@ enum class ToolbarButtonImageBackgroundStyle {
// NSButton subclass which handles middle mouse clicking.
@interface ToolbarButton : NSButton<ThemedWindowDrawing> {
@protected
+ // The toolbar button's image, as assigned by setImage:.
+ base::scoped_nsobject<NSImage> image_;
+
// YES when middle mouse clicks should be handled.
BOOL handleMiddleClick_;
}
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698