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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h

Issue 2893683002: Selection follows focus/activedescendant in single selection containers (Closed)
Patch Set: Last test to fix we hope Created 3 years, 7 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: third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
index 3447fee4fbce6d9305e050c07fe81ce52db07815..7bf76e9fcec2d7825befe8b0f1aba60eec647ee5 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
@@ -62,6 +62,8 @@ class AXMenuListOption final : public AXMockObject {
bool IsSelected() const override;
void SetSelected(bool) override;
bool CanSetSelectedAttribute() const override;
+ bool CanSetFocusAttribute() const override;
+
void GetRelativeBounds(AXObjectImpl** out_container,
FloatRect& out_bounds_in_container,
SkMatrix44& out_container_transform) const override;
@@ -72,6 +74,7 @@ class AXMenuListOption final : public AXMockObject {
AXRelatedObjectVector*,
NameSources*) const override;
bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
+ HTMLSelectElement* ParentSelectNode() const;
Member<HTMLOptionElement> element_;
};

Powered by Google App Engine
This is Rietveld 408576698