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

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

Issue 900613003: Mac: Make it easier for views to correctly draw with a theme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gyp
Patch Set: Created 5 years, 11 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/tab_view.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_view.h b/chrome/browser/ui/cocoa/tabs/tab_view.h
index a307bab75fec5fdad3e3144ff7744069ae26bfa1..e549e0cb37c0ba24c0489dc7a7bda3ca117e58df 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_view.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_view.h
@@ -11,6 +11,7 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/mac/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/hover_close_button.h"
+#import "chrome/browser/ui/cocoa/themed_window.h"
namespace tabs {
@@ -42,7 +43,7 @@ const CGFloat kImageNoFocusAlpha = 0.65;
// on the tab strip. Relies on an associated TabController to provide a
// target/action for selecting the tab.
-@interface TabView : NSView {
+@interface TabView : NSView<ThemedWindowDrawing> {
@private
TabController* controller_;
base::scoped_nsobject<NSTextField> titleView_;

Powered by Google App Engine
This is Rietveld 408576698