summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tabs/tab_strip.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 21:41:43 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 21:41:43 +0000
commit9cea0d120a21c80f812be19cc7eb6e3fffdd6913 (patch)
treef68ea8358ccfc1b52cbb9a4edd84139e34a70b8d /chrome/browser/views/tabs/tab_strip.h
parent6e4f53e62df44c9a91a0d7d127771c4bbabf850d (diff)
downloadchromium_src-9cea0d120a21c80f812be19cc7eb6e3fffdd6913.zip
chromium_src-9cea0d120a21c80f812be19cc7eb6e3fffdd6913.tar.gz
chromium_src-9cea0d120a21c80f812be19cc7eb6e3fffdd6913.tar.bz2
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
Diffstat (limited to 'chrome/browser/views/tabs/tab_strip.h')
-rw-r--r--chrome/browser/views/tabs/tab_strip.h4
1 files changed, 4 insertions, 0 deletions
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.