diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-20 16:48:29 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-20 16:48:29 +0000 |
commit | b3e3a7c25563c04221141be853d91af264c8c440 (patch) | |
tree | 3fad894326a1e5514fcff26710a0541253a49ebd /chrome/browser/cocoa/tab_contents_controller.h | |
parent | 42179c2ecb844952a49c44c7598400b7f69270db (diff) | |
download | chromium_src-b3e3a7c25563c04221141be853d91af264c8c440.zip chromium_src-b3e3a7c25563c04221141be853d91af264c8c440.tar.gz chromium_src-b3e3a7c25563c04221141be853d91af264c8c440.tar.bz2 |
Roll our own grow box since the OS one wants to indent by 3px due to the textured window style.
Review URL: http://codereview.chromium.org/21544
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_contents_controller.h')
-rw-r--r-- | chrome/browser/cocoa/tab_contents_controller.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/tab_contents_controller.h b/chrome/browser/cocoa/tab_contents_controller.h index 20d9a38..9f2eddd 100644 --- a/chrome/browser/cocoa/tab_contents_controller.h +++ b/chrome/browser/cocoa/tab_contents_controller.h @@ -8,6 +8,7 @@ #include <Cocoa/Cocoa.h> class CommandUpdater; +@class GrowBoxView; class LocationBar; class TabContents; class TabContentsCommandObserver; @@ -36,6 +37,7 @@ class TabStripModel; IBOutlet NSButton* starButton_; IBOutlet NSTextField* locationBar_; IBOutlet NSBox* contentsBox_; + IBOutlet GrowBoxView* growBox_; } // Create the contents of a tab represented by |contents| and loaded from the @@ -70,8 +72,7 @@ class TabStripModel; // Return the rect, in WebKit coordinates (flipped), of the window's grow box // in the coordinate system of the content area of this tab. -// |windowGrowBox| needs to be in the window's coordinate system. -- (NSRect)growBoxFromWindowGrowBox:(NSRect)windowGrowBox; +- (NSRect)growBoxRect; @end |