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

Unified Diff: Source/core/html/forms/DateTimeLocalInputType.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/DateInputType.h ('k') | Source/core/html/forms/EmailInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/DateTimeLocalInputType.h
diff --git a/Source/core/html/forms/DateTimeLocalInputType.h b/Source/core/html/forms/DateTimeLocalInputType.h
index 38b4d2d16de78f4267e5c8845ba3c5ccc737afaa..f2d8844993a0c30d495e1d47827896c487442adc 100644
--- a/Source/core/html/forms/DateTimeLocalInputType.h
+++ b/Source/core/html/forms/DateTimeLocalInputType.h
@@ -44,24 +44,24 @@ typedef BaseMultipleFieldsDateAndTimeInputType BaseDateTimeLocalInputType;
typedef BaseChooserOnlyDateAndTimeInputType BaseDateTimeLocalInputType;
#endif
-class DateTimeLocalInputType FINAL : public BaseDateTimeLocalInputType {
+class DateTimeLocalInputType final : public BaseDateTimeLocalInputType {
public:
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
private:
DateTimeLocalInputType(HTMLInputElement& element) : BaseDateTimeLocalInputType(element) { }
- virtual void countUsage() OVERRIDE;
- virtual const AtomicString& formControlType() const OVERRIDE;
- virtual double valueAsDate() const OVERRIDE;
- virtual void setValueAsDate(double, ExceptionState&) const OVERRIDE;
+ virtual void countUsage() override;
+ virtual const AtomicString& formControlType() const override;
+ virtual double valueAsDate() const override;
+ virtual void setValueAsDate(double, ExceptionState&) const override;
virtual StepRange createStepRange(AnyStepHandling) const;
- virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const OVERRIDE;
- virtual bool setMillisecondToDateComponents(double, DateComponents*) const OVERRIDE;
+ virtual bool parseToDateComponentsInternal(const String&, DateComponents*) const override;
+ virtual bool setMillisecondToDateComponents(double, DateComponents*) const override;
#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
// BaseMultipleFieldsDateAndTimeInputType functions
- virtual String formatDateTimeFieldsState(const DateTimeFieldsState&) const OVERRIDE FINAL;
- virtual void setupLayoutParameters(DateTimeEditElement::LayoutParameters&, const DateComponents&) const OVERRIDE FINAL;
+ virtual String formatDateTimeFieldsState(const DateTimeFieldsState&) const override final;
+ virtual void setupLayoutParameters(DateTimeEditElement::LayoutParameters&, const DateComponents&) const override final;
virtual bool isValidFormat(bool hasYear, bool hasMonth, bool hasWeek, bool hasDay, bool hasAMPM, bool hasHour, bool hasMinute, bool hasSecond) const;
#endif
};
« no previous file with comments | « Source/core/html/forms/DateInputType.h ('k') | Source/core/html/forms/EmailInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698