From 9cea0d120a21c80f812be19cc7eb6e3fffdd6913 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Tue, 3 Mar 2009 21:41:43 +0000 Subject: Move RemoveTabAt to the TabStrip interface from RemoveTabAnimation. * This change is needed to allow a clean refactoring of TabStrip. The animation classes should be as cross-platform as possible. * RemoveTabStrip animation now requests the TabStrip to remove a tab for it. Review URL: http://codereview.chromium.org/27366 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10830 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/tabs/tab_strip.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser/views/tabs/tab_strip.h') diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h index e2e322fc..1cffb945 100644 --- a/chrome/browser/views/tabs/tab_strip.h +++ b/chrome/browser/views/tabs/tab_strip.h @@ -267,6 +267,10 @@ class TabStrip : public views::View, // hit-test region of the specified Tab. bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords); + // Cleans up the Tab from the TabStrip at the specified |index|. This is + // called from the tab animation code and is not a general-purpose method. + void RemoveTabAt(int index); + // -- Member Variables ------------------------------------------------------ // Our model. -- cgit v1.1