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

Unified Diff: Source/core/html/shadow/SpinButtonElement.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
« no previous file with comments | « Source/core/html/shadow/SliderThumbElement.h ('k') | Source/core/html/shadow/TextControlInnerElements.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/SpinButtonElement.h
diff --git a/Source/core/html/shadow/SpinButtonElement.h b/Source/core/html/shadow/SpinButtonElement.h
index 14e237610134913ffa01b1b194e224d126b0c315..155d391538fd080b9e76ad1960691b2966342bef 100644
--- a/Source/core/html/shadow/SpinButtonElement.h
+++ b/Source/core/html/shadow/SpinButtonElement.h
@@ -66,8 +66,8 @@ public:
void step(int amount);
- virtual bool willRespondToMouseMoveEvents() override;
- virtual bool willRespondToMouseClickEvents() override;
+ bool willRespondToMouseMoveEvents() override;
+ bool willRespondToMouseClickEvents() override;
void forwardEvent(Event*);
@@ -76,20 +76,20 @@ public:
private:
SpinButtonElement(Document&, SpinButtonOwner&);
- virtual void detach(const AttachContext&) override;
- virtual bool isSpinButtonElement() const override { return true; }
- virtual bool isDisabledFormControl() const override { return shadowHost() && shadowHost()->isDisabledFormControl(); }
- virtual bool matchesReadOnlyPseudoClass() const override;
- virtual bool matchesReadWritePseudoClass() const override;
- virtual void defaultEventHandler(Event*) override;
- virtual void willOpenPopup() override;
+ void detach(const AttachContext&) override;
+ bool isSpinButtonElement() const override { return true; }
+ bool isDisabledFormControl() const override { return shadowHost() && shadowHost()->isDisabledFormControl(); }
+ bool matchesReadOnlyPseudoClass() const override;
+ bool matchesReadWritePseudoClass() const override;
+ void defaultEventHandler(Event*) override;
+ void willOpenPopup() override;
void doStepAction(int);
void startRepeatingTimer();
void stopRepeatingTimer();
void repeatingTimerFired(Timer<SpinButtonElement>*);
- virtual void setHovered(bool = true) override;
+ void setHovered(bool = true) override;
bool shouldRespondToMouseEvents();
- virtual bool isMouseFocusable() const override { return false; }
+ bool isMouseFocusable() const override { return false; }
RawPtrWillBeMember<SpinButtonOwner> m_spinButtonOwner;
bool m_capturing;
« no previous file with comments | « Source/core/html/shadow/SliderThumbElement.h ('k') | Source/core/html/shadow/TextControlInnerElements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698