| Index: Source/core/html/forms/BaseDateAndTimeInputType.h
|
| diff --git a/Source/core/html/forms/BaseDateAndTimeInputType.h b/Source/core/html/forms/BaseDateAndTimeInputType.h
|
| index de28ea96d6004a18a6a99f3d8aa13579ee63e9a9..e882ab7021bfaa598e48c48cd1d38f77d9612ef9 100644
|
| --- a/Source/core/html/forms/BaseDateAndTimeInputType.h
|
| +++ b/Source/core/html/forms/BaseDateAndTimeInputType.h
|
| @@ -42,36 +42,36 @@ class ExceptionState;
|
| class BaseDateAndTimeInputType : public InputType {
|
| protected:
|
| BaseDateAndTimeInputType(HTMLInputElement& element) : InputType(element) { }
|
| - virtual Decimal parseToNumber(const String&, const Decimal&) const override;
|
| + Decimal parseToNumber(const String&, const Decimal&) const override;
|
| // Parses the specified string for this InputType, and returns true if it
|
| // is successfully parsed. An instance pointed by the DateComponents*
|
| // parameter will have parsed values and be modified even if the parsing
|
| // fails. The DateComponents* parameter may be 0.
|
| bool parseToDateComponents(const String&, DateComponents*) const;
|
| - virtual String sanitizeValue(const String&) const override;
|
| - virtual String serialize(const Decimal&) const override;
|
| + String sanitizeValue(const String&) const override;
|
| + String serialize(const Decimal&) const override;
|
| String serializeWithComponents(const DateComponents&) const;
|
| virtual bool setMillisecondToDateComponents(double, DateComponents*) const = 0;
|
| - virtual String visibleValue() const override;
|
| + String visibleValue() const override;
|
|
|
| private:
|
| virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const = 0;
|
| - virtual double valueAsDate() const override;
|
| - virtual void setValueAsDate(double, ExceptionState&) const override;
|
| - virtual double valueAsDouble() const override;
|
| - virtual void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState&) const override;
|
| - virtual bool typeMismatchFor(const String&) const override;
|
| - virtual bool typeMismatch() const override;
|
| - virtual bool valueMissing(const String&) const override;
|
| - virtual String rangeOverflowText(const Decimal& maximum) const override;
|
| - virtual String rangeUnderflowText(const Decimal& minimum) const override;
|
| - virtual Decimal defaultValueForStepUp() const override;
|
| - virtual bool isSteppable() const override;
|
| + double valueAsDate() const override;
|
| + void setValueAsDate(double, ExceptionState&) const override;
|
| + double valueAsDouble() const override;
|
| + void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState&) const override;
|
| + bool typeMismatchFor(const String&) const override;
|
| + bool typeMismatch() const override;
|
| + bool valueMissing(const String&) const override;
|
| + String rangeOverflowText(const Decimal& maximum) const override;
|
| + String rangeUnderflowText(const Decimal& minimum) const override;
|
| + Decimal defaultValueForStepUp() const override;
|
| + bool isSteppable() const override;
|
| virtual String serializeWithMilliseconds(double) const;
|
| - virtual String localizeValue(const String&) const override;
|
| - virtual bool supportsReadOnly() const override;
|
| - virtual bool shouldRespectListAttribute() override;
|
| - virtual bool shouldShowFocusRingOnMouseFocus() const override;
|
| + String localizeValue(const String&) const override;
|
| + bool supportsReadOnly() const override;
|
| + bool shouldRespectListAttribute() override;
|
| + bool shouldShowFocusRingOnMouseFocus() const override;
|
| };
|
|
|
| } // namespace blink
|
|
|