summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/browser_frame_view.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 15:23:58 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 15:23:58 +0000
commitdb9a89edef7f262df2091e08a88e015a752a61c9 (patch)
tree8e8842b913b2266eb45bc7abe4075dc9e0dfc800 /chrome/browser/cocoa/browser_frame_view.h
parentd2359559618e7aad5fb2b98cbd9a06420fe89c5c (diff)
downloadchromium_src-db9a89edef7f262df2091e08a88e015a752a61c9.zip
chromium_src-db9a89edef7f262df2091e08a88e015a752a61c9.tar.gz
chromium_src-db9a89edef7f262df2091e08a88e015a752a61c9.tar.bz2
Pinstripe the top of the browser window to give it that 3D effect.
BUG=http://crbug.com/36794 TEST=as in bug Review URL: http://codereview.chromium.org/660305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_frame_view.h')
-rw-r--r--chrome/browser/cocoa/browser_frame_view.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/browser_frame_view.h b/chrome/browser/cocoa/browser_frame_view.h
index 3ae13ea0..ebee82c 100644
--- a/chrome/browser/cocoa/browser_frame_view.h
+++ b/chrome/browser/cocoa/browser_frame_view.h
@@ -50,8 +50,10 @@
// not.
@interface BrowserFrameView : NSView
-// Draws the window theme into the specified rect.
-+ (void)drawWindowThemeInDirtyRect:(NSRect)dirtyRect
+// Draws the window theme into the specified rect. Returns whether a theme was
+// drawn (whether incognito or full pattern theme; an overlay image doesn't
+// count).
++ (BOOL)drawWindowThemeInDirtyRect:(NSRect)dirtyRect
forView:(NSView*)view
bounds:(NSRect)bounds;