Chromium Code Reviews| 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_) { |