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

Unified Diff: Source/core/html/forms/MonthInputType.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
« no previous file with comments | « Source/core/html/forms/InputTypeView.h ('k') | Source/core/html/forms/NumberInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/MonthInputType.h
diff --git a/Source/core/html/forms/MonthInputType.h b/Source/core/html/forms/MonthInputType.h
index 5393293003bd9ebbfe9a47790f453a830e1b5c57..0143142ca38982ed8eea735383ecd3d4629725dc 100644
--- a/Source/core/html/forms/MonthInputType.h
+++ b/Source/core/html/forms/MonthInputType.h
@@ -42,28 +42,28 @@ typedef BaseMultipleFieldsDateAndTimeInputType BaseMonthInputType;
typedef BaseChooserOnlyDateAndTimeInputType BaseMonthInputType;
#endif
-class MonthInputType FINAL : public BaseMonthInputType {
+class MonthInputType final : public BaseMonthInputType {
public:
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
private:
MonthInputType(HTMLInputElement& element) : BaseMonthInputType(element) { }
- virtual void countUsage() OVERRIDE;
- virtual const AtomicString& formControlType() const OVERRIDE;
- virtual double valueAsDate() const OVERRIDE;
- virtual String serializeWithMilliseconds(double) const OVERRIDE;
- virtual Decimal parseToNumber(const String&, const Decimal&) const OVERRIDE;
- virtual Decimal defaultValueForStepUp() const OVERRIDE;
- virtual StepRange createStepRange(AnyStepHandling) const OVERRIDE;
- virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const OVERRIDE;
- virtual bool setMillisecondToDateComponents(double, DateComponents*) const OVERRIDE;
- virtual bool canSetSuggestedValue() OVERRIDE;
+ virtual void countUsage() override;
+ virtual const AtomicString& formControlType() const override;
+ virtual double valueAsDate() const override;
+ virtual String serializeWithMilliseconds(double) const override;
+ virtual Decimal parseToNumber(const String&, const Decimal&) const override;
+ virtual Decimal defaultValueForStepUp() const override;
+ virtual StepRange createStepRange(AnyStepHandling) const override;
+ virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const override;
+ virtual bool setMillisecondToDateComponents(double, DateComponents*) const override;
+ virtual bool canSetSuggestedValue() 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;
+ 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;
#endif
};
« no previous file with comments | « Source/core/html/forms/InputTypeView.h ('k') | Source/core/html/forms/NumberInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698