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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseDateAndTimeInputType.h

Issue 1896073002: Make BaseChooserOnlyDateAndTimeInputType a subclass of InputTypeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/BaseDateAndTimeInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/BaseDateAndTimeInputType.h b/third_party/WebKit/Source/core/html/forms/BaseDateAndTimeInputType.h
index 973728872f4d766729701b688d5277acfdf7206b..3910137580e9a0063f0b279878e7b16e49c83586 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseDateAndTimeInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/BaseDateAndTimeInputType.h
@@ -40,6 +40,9 @@ class ExceptionState;
// A super class of date, datetime, datetime-local, month, time, and week types.
class BaseDateAndTimeInputType : public InputType {
+public:
+ String visibleValue() const override;
+
protected:
BaseDateAndTimeInputType(HTMLInputElement& element) : InputType(element) { }
Decimal parseToNumber(const String&, const Decimal&) const override;
@@ -52,7 +55,6 @@ protected:
String serialize(const Decimal&) const override;
String serializeWithComponents(const DateComponents&) const;
virtual bool setMillisecondToDateComponents(double, DateComponents*) const = 0;
- String visibleValue() const override;
bool shouldHaveSecondField(const DateComponents&) const;
private:

Powered by Google App Engine
This is Rietveld 408576698