summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/gradient_button_cell.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 21:43:25 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 21:43:25 +0000
commite9210915326b600a7efc8aa6d1befba549347fe5 (patch)
tree93b86527830652c00a602d1c324b3078257c1372 /chrome/browser/cocoa/gradient_button_cell.h
parentf9fc33227ea65b9b199a1fc7cc1055d362e5594a (diff)
downloadchromium_src-e9210915326b600a7efc8aa6d1befba549347fe5.zip
chromium_src-e9210915326b600a7efc8aa6d1befba549347fe5.tar.gz
chromium_src-e9210915326b600a7efc8aa6d1befba549347fe5.tar.bz2
Removal of GTMTheme gradient use. Unthemed incognito windows now are fully drawn as they should be.
BUG=http://crbug.com/35554 ; http://crbug.com/26983 TEST=no visible change in normal mode; themed incognito windows should look almost correct (missing theme header) Review URL: http://codereview.chromium.org/661097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/gradient_button_cell.h')
-rw-r--r--chrome/browser/cocoa/gradient_button_cell.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/gradient_button_cell.h b/chrome/browser/cocoa/gradient_button_cell.h
index 27909a0..fc79c09 100644
--- a/chrome/browser/cocoa/gradient_button_cell.h
+++ b/chrome/browser/cocoa/gradient_button_cell.h
@@ -9,7 +9,7 @@
#include "base/scoped_nsobject.h"
-@class GTMTheme;
+class ThemeProvider;
// Base class for button cells for toolbar and bookmark bar.
//
@@ -43,7 +43,7 @@ typedef NSInteger ButtonType;
// Turn off theming. Temporary work-around.
- (void)setShouldTheme:(BOOL)shouldTheme;
-- (void)drawBorderAndFillForTheme:(GTMTheme*)theme
+- (void)drawBorderAndFillForTheme:(ThemeProvider*)themeProvider
controlView:(NSView*)controlView
innerPath:(NSBezierPath*)innerPath
showClickedGradient:(BOOL)showClickedGradient