From af2fd777dae98b84279707490382002276dfc006 Mon Sep 17 00:00:00 2001 From: "rohitrao@chromium.org" Date: Mon, 29 Jun 2009 17:58:47 +0000 Subject: 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 --- chrome/browser/cocoa/tab_strip_controller.mm | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'chrome/browser/cocoa/tab_strip_controller.mm') 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 -- cgit v1.1