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

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

Issue 393033006: Added tab notification to accessibility_event_router_views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated 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.cc
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
index 9bd1dc90d85c95ed1a2464aa425c6d2e23cc06af..3c66a6c65eb4aaa55172eacbe8ec4f8c0ea62cec 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -1011,6 +1011,7 @@ void Tab::GetAccessibleState(ui::AXViewState* state) {
state->name = data_.title;
state->AddStateFlag(ui::AX_STATE_MULTISELECTABLE);
state->AddStateFlag(ui::AX_STATE_SELECTABLE);
+ controller_->UpdateTabAccessibilityState(this, state);
if (IsSelected())
state->AddStateFlag(ui::AX_STATE_SELECTED);
}

Powered by Google App Engine
This is Rietveld 408576698