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

Unified Diff: Source/core/html/shadow/DateTimeNumericFieldElement.h

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/shadow/DateTimeNumericFieldElement.h
diff --git a/Source/core/html/shadow/DateTimeNumericFieldElement.h b/Source/core/html/shadow/DateTimeNumericFieldElement.h
index 2ac2a7aebcdc45e657caaa4775ee8ab68b75c2c4..1dd2d8f5593d3f863484a491cced39a3c0a86075 100644
--- a/Source/core/html/shadow/DateTimeNumericFieldElement.h
+++ b/Source/core/html/shadow/DateTimeNumericFieldElement.h
@@ -70,24 +70,24 @@ protected:
const Range& range() const { return m_range; }
// DateTimeFieldElement functions.
- virtual bool hasValue() const override final;
+ bool hasValue() const final;
void initialize(const AtomicString& pseudo, const String& axHelpText);
int maximum() const;
- virtual void setEmptyValue(EventBehavior = DispatchNoEvent) override final;
- virtual void setValueAsInteger(int, EventBehavior = DispatchNoEvent) override;
- virtual int valueAsInteger() const override final;
- virtual String visibleValue() const override final;
+ void setEmptyValue(EventBehavior = DispatchNoEvent) final;
+ void setValueAsInteger(int, EventBehavior = DispatchNoEvent) override;
+ int valueAsInteger() const final;
+ String visibleValue() const final;
private:
// DateTimeFieldElement functions.
- virtual void handleKeyboardEvent(KeyboardEvent*) override final;
- virtual float maximumWidth(const Font&) override;
- virtual void stepDown() override final;
- virtual void stepUp() override final;
- virtual String value() const override final;
+ void handleKeyboardEvent(KeyboardEvent*) final;
+ float maximumWidth(const Font&) override;
+ void stepDown() final;
+ void stepUp() final;
+ String value() const final;
// Node functions.
- virtual void setFocus(bool) override final;
+ void setFocus(bool) final;
String formatValue(int) const;
int roundUp(int) const;
« no previous file with comments | « Source/core/html/shadow/DateTimeFieldElements.h ('k') | Source/core/html/shadow/DateTimeSymbolicFieldElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698