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

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

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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_controller.h
diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h
index d20a178673dd12214ce7b9997e494d5d2129f23d..c69f1e3fc3561ee809aa95c705eb5f1ef06fcc10 100644
--- a/chrome/browser/ui/views/tabs/tab_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_controller.h
@@ -89,6 +89,13 @@ class TabController {
// Returns true if tabs painted in the rectangular light-bar style.
virtual bool IsImmersiveStyle() const = 0;
+ // Returns the index of the specified tab in the model coordinate system, or
+ // -1 if tab is closing or not valid.
+ virtual int GetModelIndexOfTab(const Tab* tab) const = 0;
+
+ // Gets the number of Tabs in the tab strip.
+ virtual int tab_count() const = 0;
dmazzoni 2014/07/16 15:08:25 As a convention, we only use the lowercase_with_un
evy 2014/07/16 16:44:26 Done.
+
protected:
virtual ~TabController() {}
};
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698