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

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

Issue 1020473004: Fire an event when a menu list option becomes unselected. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment about selectedIndex=-1 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/dom/AXObjectCache.h ('k') | Source/modules/accessibility/AXMenuListPopup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXMenuListPopup.h
diff --git a/Source/modules/accessibility/AXMenuListPopup.h b/Source/modules/accessibility/AXMenuListPopup.h
index 1b61b1287515937bd68ece63778e794920942855..85e2d1c198b5e7d608a4fb8de104d11a19eefac3 100644
--- a/Source/modules/accessibility/AXMenuListPopup.h
+++ b/Source/modules/accessibility/AXMenuListPopup.h
@@ -58,6 +58,9 @@ private:
virtual bool computeAccessibilityIsIgnored() const override;
AXMenuListOption* menuListOptionAXObject(HTMLElement*) const;
+
+ // Note that this may be -1 if nothing is selected.
+ int m_activeIndex;
};
DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListPopup, isMenuListPopup());
« no previous file with comments | « Source/core/dom/AXObjectCache.h ('k') | Source/modules/accessibility/AXMenuListPopup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698