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

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

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Added missing braces. Created 4 years 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 b9bb16cbffc7ab0dc7185fe619d1ccbbe35628de..ebdf64a67748476dc0238901696bcd299264d913 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 {
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | third_party/WebKit/public/platform/WebLocalizedString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698