| Index: Source/core/html/forms/DateInputType.h
|
| diff --git a/Source/core/html/forms/DateInputType.h b/Source/core/html/forms/DateInputType.h
|
| index cc2b188354184ee5da1407e0d402eb674585de5d..38002ce531509436d7675bec9462eda2f673991d 100644
|
| --- a/Source/core/html/forms/DateInputType.h
|
| +++ b/Source/core/html/forms/DateInputType.h
|
| @@ -37,9 +37,9 @@
|
| namespace blink {
|
|
|
| #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
|
| -typedef BaseMultipleFieldsDateAndTimeInputType BaseDateInputType;
|
| +using BaseDateInputType = BaseMultipleFieldsDateAndTimeInputType;
|
| #else
|
| -typedef BaseChooserOnlyDateAndTimeInputType BaseDateInputType;
|
| +using BaseDateInputType = BaseChooserOnlyDateAndTimeInputType;
|
| #endif
|
|
|
| class DateInputType final : public BaseDateInputType {
|
| @@ -48,18 +48,18 @@ public:
|
|
|
| private:
|
| DateInputType(HTMLInputElement&);
|
| - virtual void countUsage() override;
|
| - virtual const AtomicString& formControlType() const override;
|
| - virtual StepRange createStepRange(AnyStepHandling) const override;
|
| - virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const override;
|
| - virtual bool setMillisecondToDateComponents(double, DateComponents*) const override;
|
| - virtual void warnIfValueIsInvalid(const String&) const override;
|
| + void countUsage() override;
|
| + const AtomicString& formControlType() const override;
|
| + 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
|
| - virtual String formatDateTimeFieldsState(const DateTimeFieldsState&) const override;
|
| - virtual void setupLayoutParameters(DateTimeEditElement::LayoutParameters&, const DateComponents&) const override;
|
| - virtual bool isValidFormat(bool hasYear, bool hasMonth, bool hasWeek, bool hasDay, bool hasAMPM, bool hasHour, bool hasMinute, bool hasSecond) const override;
|
| + String formatDateTimeFieldsState(const DateTimeFieldsState&) const override;
|
| + void setupLayoutParameters(DateTimeEditElement::LayoutParameters&, const DateComponents&) const override;
|
| + bool isValidFormat(bool hasYear, bool hasMonth, bool hasWeek, bool hasDay, bool hasAMPM, bool hasHour, bool hasMinute, bool hasSecond) const override;
|
| #endif
|
| };
|
|
|
|
|