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

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

Issue 1841333002: Various fixes for aria-activedescendant. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated tests. Stopped firing a focus changed event when the active descendant changes. Created 4 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
Index: third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
index 40a4d970cac4c52a0b740cf64bed874698a4a979..550e311ec7c9edd43e6cdb5ce9a95957cadfc547 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
@@ -64,6 +64,7 @@ protected:
virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const;
String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMember<Element>> &elements) const;
void alterSliderValue(bool increase);
+ AXObject* activeDescendant() const override;
String ariaAccessibilityDescription() const;
String ariaAutoComplete() const;
AccessibilityRole determineAriaRoleAttribute() const;
@@ -130,6 +131,7 @@ protected:
// Check whether certain properties can be modified.
bool canSetFocusAttribute() const override;
bool canSetValueAttribute() const override;
+ bool canSetSelectedAttribute() const override;
// Properties of static elements.
RGBA32 colorValue() const final;

Powered by Google App Engine
This is Rietveld 408576698