summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/chrome_browser_window.mm
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 22:41:00 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 22:41:00 +0000
commit1c2b7b515d5e0304101cdac212d37bf5a554a38e (patch)
treecbf960ae1f276acae179c0b9a24b141bc901d6b0 /chrome/browser/cocoa/chrome_browser_window.mm
parente505a900d371c2012fd32a6d763ae283a98f72a1 (diff)
downloadchromium_src-1c2b7b515d5e0304101cdac212d37bf5a554a38e.zip
chromium_src-1c2b7b515d5e0304101cdac212d37bf5a554a38e.tar.gz
chromium_src-1c2b7b515d5e0304101cdac212d37bf5a554a38e.tar.bz2
Finishing removal of GTMTheme. All incognito drawing is now correct, themed or not.
BUG=http://crbug.com/35554 ; http://crbug.com/18568 TEST=everything should still work, all themes should draw correctly Review URL: http://codereview.chromium.org/661206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/chrome_browser_window.mm')
-rw-r--r--chrome/browser/cocoa/chrome_browser_window.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/chrome_browser_window.mm b/chrome/browser/cocoa/chrome_browser_window.mm
index 4002cb7..e66a606 100644
--- a/chrome/browser/cocoa/chrome_browser_window.mm
+++ b/chrome/browser/cocoa/chrome_browser_window.mm
@@ -347,6 +347,10 @@ namespace {
return [[self windowController] themeProvider];
}
+- (BOOL)themeIsIncognito {
+ return [[self windowController] themeIsIncognito];
+}
+
- (NSPoint)themePatternPhase {
return [[self windowController] themePatternPhase];
}