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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseButtonInputType.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/BaseButtonInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
index 7485a3a8a9525147ea7fbd8ced3779b6af6c438a..269a0b18bc4df868e86644187aee5dc0a49599a7 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
@@ -81,8 +81,8 @@ LayoutObject* BaseButtonInputType::createLayoutObject(
return new LayoutButton(&element());
}
-bool BaseButtonInputType::storesValueSeparateFromAttribute() {
- return false;
+InputType::ValueMode BaseButtonInputType::valueMode() const {
+ return ValueMode::kDefault;
}
void BaseButtonInputType::setValue(const String& sanitizedValue,

Powered by Google App Engine
This is Rietveld 408576698