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

Unified Diff: third_party/WebKit/Source/core/html/forms/RangeInputType.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/RangeInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
index 5511ee7b3061d0239ece9b98d6030e3dc7515d9b..9eb7f880b258eac60f6ae0ec664d56bb1d0792b3 100644
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
@@ -88,6 +88,10 @@ InputTypeView* RangeInputType::createView() {
return this;
}
+InputType::ValueMode RangeInputType::valueMode() const {
+ return ValueMode::kValue;
+}
+
void RangeInputType::countUsage() {
countUsageIfVisible(UseCounter::InputTypeRange);
if (const ComputedStyle* style = element().computedStyle()) {

Powered by Google App Engine
This is Rietveld 408576698