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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseTemporalInputType.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/BaseTemporalInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/BaseTemporalInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseTemporalInputType.cpp
index 75e7a198eb856f2b22f682bf89c3f636e26f3a0f..4167030bf5f242ed5a7b9e3d2a2823b48199e60c 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseTemporalInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/BaseTemporalInputType.cpp
@@ -59,6 +59,10 @@ InputTypeView* BaseTemporalInputType::createView() {
return ChooserOnlyTemporalInputTypeView::create(element(), *this);
}
+InputType::ValueMode BaseTemporalInputType::valueMode() const {
+ return ValueMode::kValue;
+}
+
double BaseTemporalInputType::valueAsDate() const {
return valueAsDouble();
}

Powered by Google App Engine
This is Rietveld 408576698