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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.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_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index 42835490b6401cedfaf0876b52a6c1977048510f..a7b062597837b1b6614a1d5dbea9774477a6c516 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -1183,6 +1183,12 @@ bool TabStrip::IsImmersiveStyle() const {
return immersive_style_;
}
+void TabStrip::UpdateTabAccessibilityState(const Tab* tab,
+ ui::AXViewState* state) {
sky 2014/07/23 17:38:42 nit: indentation.
evy 2014/07/23 18:44:11 Done.
+ state->count = tab_count();
+ state->index = GetModelIndexOfTab(tab);
sky 2014/07/23 17:38:42 Do you care if this returns -1?
evy 2014/07/23 18:44:11 Is there a case where the user hovers over/touches
+}
+
void TabStrip::MouseMovedOutOfHost() {
ResizeLayoutTabs();
if (reset_to_shrink_on_exit_) {

Powered by Google App Engine
This is Rietveld 408576698