Index: chrome/browser/ui/views/tabs/tab_strip.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
index cc5b5e993f5ddaba62970cfd07f93f6219a3dbc0..54974af23c359263c8b5159a3fae4d6e0be7a7e3 100644 |
--- a/chrome/browser/ui/views/tabs/tab_strip.cc |
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
@@ -1324,6 +1324,14 @@ SkColor TabStrip::GetToolbarTopSeparatorColor() const { |
return controller_->GetToolbarTopSeparatorColor(); |
} |
+// Returns the accessible tab name for the tab. |
+base::string16 TabStrip::GetAccessibleTabName(const Tab* tab) const { |
+ int model_index = GetModelIndexOfTab(tab); |
+ if (IsValidModelIndex(model_index)) |
+ return controller_->GetAccessibleTabName(tab); |
+ return base::string16(); |
+} |
+ |
int TabStrip::GetBackgroundResourceId(bool* custom_image) const { |
const ui::ThemeProvider* tp = GetThemeProvider(); |