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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/core/html/forms/BaseDateAndTimeInputType.h
diff --git a/Source/core/html/forms/BaseDateAndTimeInputType.h b/Source/core/html/forms/BaseDateAndTimeInputType.h
index 0360eedd132afe8aa09ddf1f3ad019f6af57d51f..de28ea96d6004a18a6a99f3d8aa13579ee63e9a9 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;
+ virtual 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;
+ virtual String sanitizeValue(const String&) const override;
+ virtual String serialize(const Decimal&) const override;
String serializeWithComponents(const DateComponents&) const;
virtual bool setMillisecondToDateComponents(double, DateComponents*) const = 0;
- virtual String visibleValue() const OVERRIDE;
+ virtual 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;
+ 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;
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;
+ virtual String localizeValue(const String&) const override;
+ virtual bool supportsReadOnly() const override;
+ virtual bool shouldRespectListAttribute() override;
+ virtual bool shouldShowFocusRingOnMouseFocus() const override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698