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

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

Issue 393033006: Added tab notification to accessibility_event_router_views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GetTabCount returns 1 in test class 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.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 85acff923b43b5c989ddf47da602f9884ba46bb1..6543e9b84d52f6c79a961e82e40c4445be47ec45 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -144,13 +144,6 @@ class TabStrip : public views::View,
return static_cast<Tab*>(tabs_.view_at(index));
}
- // Returns the index of the specified tab in the model coordinate system, or
- // -1 if tab is closing or not valid.
- int GetModelIndexOfTab(const Tab* tab) const;
-
- // Gets the number of Tabs in the tab strip.
- int tab_count() const { return tabs_.view_size(); }
-
// Cover method for TabStripController::GetCount.
int GetModelCount() const;
@@ -250,6 +243,8 @@ class TabStrip : public views::View,
virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE;
virtual views::View* GetTooltipHandlerForPoint(
const gfx::Point& point) OVERRIDE;
+ virtual int GetModelIndexOfTab(const Tab* tab) const OVERRIDE;
+ virtual int GetTabCount() const OVERRIDE;
// Returns preferred height in immersive style.
static int GetImmersiveHeight();

Powered by Google App Engine
This is Rietveld 408576698