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

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

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Created 4 years, 1 month 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/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index 69ebc35548aaca9bff168e5b0dc3ece4718ee0fc..18411c70c360de1e8577ed0842a1c20cc579a430 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -246,6 +246,18 @@ enum AXObjectInclusion {
DefaultBehavior,
};
+enum class AXSupportedAction {
+ NONE = 0,
dmazzoni 2016/11/22 01:01:08 Use CamelCase for these like other enums in this s
+ ACTIVATE,
+ CHECK,
+ CLICK,
+ JUMP,
+ OPEN,
+ PRESS,
+ SELECT,
+ UNCHECK
+};
+
enum AccessibilityButtonState {
ButtonStateOff = 0,
ButtonStateOn,
@@ -795,7 +807,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
virtual void wordBoundaries(Vector<AXRange>&) const {}
// Properties of interactive elements.
- String actionVerb() const;
+ AXSupportedAction action() const;
virtual AccessibilityButtonState checkboxOrRadioValue() const;
virtual AriaCurrentState ariaCurrentState() const {
return AriaCurrentStateUndefined;

Powered by Google App Engine
This is Rietveld 408576698