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

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

Issue 2581023002: Add tab status to accessibility labels (Closed)
Patch Set: Add check for active browser tab index to prevent crashes 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..0c706ddf3eed8dc7fe571dc8a768de0224ab41c0 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 = 0;
+
protected:
virtual ~TabController() {}
};

Powered by Google App Engine
This is Rietveld 408576698