Index: chrome/browser/ui/touch/tabs/touch_tab_strip.cc |
diff --git a/chrome/browser/ui/touch/tabs/touch_tab_strip.cc b/chrome/browser/ui/touch/tabs/touch_tab_strip.cc |
index f051baca43fba29f92754ae46075ac7d1a202933..46bfd716a9874ac9eb5fd02d041e2d4895f1c406 100644 |
--- a/chrome/browser/ui/touch/tabs/touch_tab_strip.cc |
+++ b/chrome/browser/ui/touch/tabs/touch_tab_strip.cc |
@@ -271,6 +271,11 @@ TouchTab* TouchTabStrip::GetTabAtTabDataIndex(int tab_data_index) const { |
return static_cast<TouchTab*>(base_tab_at_tab_index(tab_data_index)); |
} |
+// Retrieves the Tab at the specified *model* index. |
+TouchTab* TouchTabStrip::GetTouchTabAtModelIndex(int model_index) const { |
+ return static_cast<TouchTab*>(GetBaseTabAtModelIndex(model_index)); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// TouchTabStrip, private: |