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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormElement.h

Issue 1764063002: Rename two functions related to 'default button' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/core/html/HTMLFormElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.h b/third_party/WebKit/Source/core/html/HTMLFormElement.h
index 219c15e8a8be74da880722e37482610f42fabeb2..9dbecb71bf0a36d72b628271c2d08214f1885ba9 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.h
@@ -91,7 +91,9 @@ public:
bool wasUserSubmitted() const;
- HTMLFormControlElement* defaultButton() const;
+ // Find the 'default button.'
+ // https://html.spec.whatwg.org/multipage/forms.html#default-button
+ HTMLFormControlElement* findDefaultButton() const;
bool checkValidity();
bool reportValidity();

Powered by Google App Engine
This is Rietveld 408576698