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

Unified Diff: Source/core/html/shadow/DateTimeSymbolicFieldElement.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/DateTimeSymbolicFieldElement.h
diff --git a/Source/core/html/shadow/DateTimeSymbolicFieldElement.h b/Source/core/html/shadow/DateTimeSymbolicFieldElement.h
index cdf4dce67d56ba1307823321e1df9b840bfee71c..9c1ec88f0558d26597985b73d703d4aa052de51c 100644
--- a/Source/core/html/shadow/DateTimeSymbolicFieldElement.h
+++ b/Source/core/html/shadow/DateTimeSymbolicFieldElement.h
@@ -40,11 +40,11 @@ class DateTimeSymbolicFieldElement : public DateTimeFieldElement, public TypeAhe
protected:
DateTimeSymbolicFieldElement(Document&, FieldOwner&, const Vector<String>&, int minimum, int maximum);
size_t symbolsSize() const { return m_symbols.size(); }
- virtual bool hasValue() const override final;
+ bool hasValue() const final;
void initialize(const AtomicString& pseudo, const String& axHelpText);
- virtual void setEmptyValue(EventBehavior = DispatchNoEvent) override final;
- virtual void setValueAsInteger(int, EventBehavior = DispatchNoEvent) override final;
- virtual int valueAsInteger() const override final;
+ void setEmptyValue(EventBehavior = DispatchNoEvent) final;
+ void setValueAsInteger(int, EventBehavior = DispatchNoEvent) final;
+ int valueAsInteger() const final;
private:
static const int invalidIndex = -1;
@@ -53,18 +53,18 @@ private:
bool indexIsInRange(int index) const { return index >= m_minimumIndex && index <= m_maximumIndex; }
// 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;
- virtual int valueForARIAValueNow() const override final;
- virtual String visibleValue() const override final;
+ void handleKeyboardEvent(KeyboardEvent*) final;
+ float maximumWidth(const Font&) override;
+ void stepDown() final;
+ void stepUp() final;
+ String value() const final;
+ int valueForARIAValueNow() const final;
+ String visibleValue() const final;
// TypeAheadDataSource functions.
- virtual int indexOfSelectedOption() const override;
- virtual int optionCount() const override;
- virtual String optionAtIndex(int index) const override;
+ int indexOfSelectedOption() const override;
+ int optionCount() const override;
+ String optionAtIndex(int index) const override;
const Vector<String> m_symbols;
« no previous file with comments | « Source/core/html/shadow/DateTimeNumericFieldElement.h ('k') | Source/core/html/shadow/DetailsMarkerControl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698