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

Unified Diff: third_party/WebKit/Source/web/WebAXObject.cpp

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/web/WebAXObject.cpp
diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp
index c0e2205b9ce8bbdf3a20df8119cd9d89aff7919b..ae230cd08a300df459b3103b6890443d76da6b2c 100644
--- a/third_party/WebKit/Source/web/WebAXObject.cpp
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp
@@ -133,11 +133,11 @@ bool WebAXObject::updateLayoutAndCheckValidity() {
return !isDetached();
}
-WebString WebAXObject::actionVerb() const {
+WebAXSupportedAction WebAXObject::action() const {
if (isDetached())
- return WebString();
+ return WebAXSupportedAction::NONE;
- return m_private->actionVerb();
+ return static_cast<WebAXSupportedAction>(m_private->action());
}
bool WebAXObject::canDecrement() const {

Powered by Google App Engine
This is Rietveld 408576698