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

Unified Diff: chrome/browser/ui/cocoa/background_gradient_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/background_gradient_view.h
diff --git a/chrome/browser/ui/cocoa/background_gradient_view.h b/chrome/browser/ui/cocoa/background_gradient_view.h
index e8b6c2d6c8a2ae03a9e7110772819ba71e6b6ce8..1f6c7e8bb82516a6c1889923d4b3580e8d2a8f61 100644
--- a/chrome/browser/ui/cocoa/background_gradient_view.h
+++ b/chrome/browser/ui/cocoa/background_gradient_view.h
@@ -7,9 +7,11 @@
#import <Cocoa/Cocoa.h>
+#import "chrome/browser/ui/cocoa/themed_window.h"
+
// A custom view that draws a 'standard' background gradient.
// Base class for other Chromium views.
-@interface BackgroundGradientView : NSView {
+@interface BackgroundGradientView : NSView<ThemedWindowDrawing> {
@private
BOOL showsDivider_;
}

Powered by Google App Engine
This is Rietveld 408576698