Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1930)

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 393033006: Added tab notification to accessibility_event_router_views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 42835490b6401cedfaf0876b52a6c1977048510f..0b48280cfd114d5b9796495ab2128b14d77274ef 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -856,10 +856,6 @@ void TabStrip::TabTitleChangedNotLoading(int model_index) {
tab->StartMiniTabTitleAnimation();
}
-int TabStrip::GetModelIndexOfTab(const Tab* tab) const {
- return tabs_.GetIndexOfView(tab);
-}
-
int TabStrip::GetModelCount() const {
return controller_->GetCount();
}
@@ -1469,6 +1465,10 @@ views::View* TabStrip::GetTooltipHandlerForPoint(const gfx::Point& point) {
return this;
}
+int TabStrip::GetModelIndexOfTab(const Tab* tab) const {
+ return tabs_.GetIndexOfView(tab);
+}
+
// static
int TabStrip::GetImmersiveHeight() {
return Tab::GetImmersiveHeight();
« chrome/browser/ui/views/tabs/tab_controller.h ('K') | « chrome/browser/ui/views/tabs/tab_strip.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698