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

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

Issue 2581023002: Add tab status to accessibility labels (Closed)
Patch Set: Add tab index check. Fixes ChromeVox crash. Created 4 years 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_controller.h
diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h
index a28d5e56eba1b403eda94912efaaf3d0ca9dc0c0..872c16903a1c81dcb77db2337874c01b45c7b85c 100644
--- a/chrome/browser/ui/views/tabs/tab_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_controller.h
@@ -129,6 +129,9 @@ class TabController {
virtual void UpdateTabAccessibilityState(const Tab* tab,
ui::AXNodeData* node_data) = 0;
+ // Returns the accessible tab name for this tab.
+ virtual base::string16 GetAccessibleTabName(const Tab* tab) const = 0;
+
protected:
virtual ~TabController() {}
};

Powered by Google App Engine
This is Rietveld 408576698