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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp

Issue 2424983004: Introduce enum InputType::ValueMode. (Closed)
Patch Set: Created 4 years, 2 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/forms/BaseCheckableInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
index 5ebffeb78f108a5348c3af41f447e16708ce7069..ffea71eec0b2c0091705e8823880c14bca2c904e 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
@@ -102,8 +102,8 @@ String BaseCheckableInputType::fallbackValue() const {
return "on";
}
-bool BaseCheckableInputType::storesValueSeparateFromAttribute() {
- return false;
+InputType::ValueMode BaseCheckableInputType::valueMode() const {
+ return ValueMode::kDefaultOn;
}
void BaseCheckableInputType::setValue(const String& sanitizedValue,

Powered by Google App Engine
This is Rietveld 408576698