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

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

Issue 1742443003: input[type=datetime-local], input[type=month] and input[type=week] warn if a specified value is an … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/WeekInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/WeekInputType.h b/third_party/WebKit/Source/core/html/forms/WeekInputType.h
index 98acfcba32059515c35aa938d70c9d69cf538abe..04a1bc90d8fc4049a85596c3a82394e77e585d71 100644
--- a/third_party/WebKit/Source/core/html/forms/WeekInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/WeekInputType.h
@@ -54,6 +54,7 @@ private:
StepRange createStepRange(AnyStepHandling) const override;
bool parseToDateComponentsInternal(const String&, DateComponents*) const override;
bool setMillisecondToDateComponents(double, DateComponents*) const override;
+ void warnIfValueIsInvalid(const String&) const override;
#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
// BaseMultipleFieldsDateAndTimeInputType functions

Powered by Google App Engine
This is Rietveld 408576698