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

Unified Diff: Source/modules/accessibility/AXListBox.h

Issue 1034493005: Fire AX notifications on list box options. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@menu_list_more
Patch Set: Update expectations for other test that failed Created 5 years, 9 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
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/modules/accessibility/AXListBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXListBox.h
diff --git a/Source/modules/accessibility/AXListBox.h b/Source/modules/accessibility/AXListBox.h
index ce3c82e41274f6ad7d7a25a5245b3620307120f2..e625796a0b4c6525ad24c496c03142c76779d35a 100644
--- a/Source/modules/accessibility/AXListBox.h
+++ b/Source/modules/accessibility/AXListBox.h
@@ -45,6 +45,14 @@ public:
virtual ~AXListBox();
virtual AccessibilityRole roleValue() const override;
+ virtual bool isAXListBox() const override { return true; }
+ virtual bool shouldFocusActiveDescendant() const override { return true; }
+ virtual AXObject* activeDescendant() const override;
+
+ void activeIndexChanged();
+
+private:
+ int m_activeIndex;
};
} // namespace blink
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/modules/accessibility/AXListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698