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

Unified Diff: Source/web/WebFormControlElement.cpp

Issue 234803004: Wrap isActivatedSubmit() in WebFormControlElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove IsActivatedsumbit() in webInputElement Created 6 years, 8 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
« no previous file with comments | « no previous file | Source/web/WebInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFormControlElement.cpp
diff --git a/Source/web/WebFormControlElement.cpp b/Source/web/WebFormControlElement.cpp
index 1a1fb4ec468edc55fed7d1b21c378443983f18ef..a4edd8b4330d98b145156d9d4bf448b486f6a7b9 100644
--- a/Source/web/WebFormControlElement.cpp
+++ b/Source/web/WebFormControlElement.cpp
@@ -178,6 +178,11 @@ WebString WebFormControlElement::directionForFormData() const
return WebString();
}
+bool WebFormControlElement::isActivatedSubmit() const
+{
+ return constUnwrap<HTMLFormControlElement>()->isActivatedSubmit();
+}
+
WebFormElement WebFormControlElement::form() const
{
return WebFormElement(constUnwrap<HTMLFormControlElement>()->form());
« no previous file with comments | « no previous file | Source/web/WebInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698