diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-29 17:58:47 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-29 17:58:47 +0000 |
commit | af2fd777dae98b84279707490382002276dfc006 (patch) | |
tree | 74e7b41b42f7c92a540f9a108ea176fcbf6817c3 /chrome/browser/cocoa/tab_strip_controller.mm | |
parent | dce5df54b85ca90d4bd2d2a04c9f78d3a149072c (diff) | |
download | chromium_src-af2fd777dae98b84279707490382002276dfc006.zip chromium_src-af2fd777dae98b84279707490382002276dfc006.tar.gz chromium_src-af2fd777dae98b84279707490382002276dfc006.tar.bz2 |
Removes our homespun grow box and replaces it with the
standard widget. This may also fix some of our resizing
issues.
BUG=http://crbug.com/14663
TEST=The resizer widget should still work as expected.
Review URL: http://codereview.chromium.org/149094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_strip_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/tab_strip_controller.mm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/browser/cocoa/tab_strip_controller.mm b/chrome/browser/cocoa/tab_strip_controller.mm index eae1bbb..0bf6a59 100644 --- a/chrome/browser/cocoa/tab_strip_controller.mm +++ b/chrome/browser/cocoa/tab_strip_controller.mm @@ -579,21 +579,4 @@ NSString* const kTabStripNumberOfTabsChanged = @"kTabStripNumberOfTabsChanged"; tabModel_->InsertTabContentsAt(index, contents, true, false); } -// Return the rect, in WebKit coordinates (flipped), of the window's grow box -// in the coordinate system of the content area of the currently selected tab. -- (NSRect)selectedTabGrowBoxRect { - int selectedIndex = tabModel_->selected_index(); - if (selectedIndex == TabStripModel::kNoTab) { - // When the window is initially being constructed, there may be no currently - // selected tab, so pick the first one. If there aren't any, just bail with - // an empty rect. - selectedIndex = 0; - } - TabContentsController* selectedController = - [tabContentsArray_ objectAtIndex:selectedIndex]; - if (!selectedController) - return NSZeroRect; - return [selectedController growBoxRect]; -} - @end |