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

Unified Diff: Source/core/html/shadow/SpinButtonElement.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/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 ae803177bb9d6f32e6fe075c5f2308462b75963f..422e7e60b63fcd20e339e2dd5a62fef488b5c0b3 100644
--- a/Source/core/html/shadow/SpinButtonElement.h
+++ b/Source/core/html/shadow/SpinButtonElement.h
@@ -33,7 +33,7 @@
namespace blink {
-class SpinButtonElement FINAL : public HTMLDivElement, public PopupOpeningObserver {
+class SpinButtonElement final : public HTMLDivElement, public PopupOpeningObserver {
public:
enum UpDownState {
Indeterminate, // Hovered, but the event is not handled.
@@ -65,30 +65,30 @@ public:
void step(int amount);
- virtual bool willRespondToMouseMoveEvents() OVERRIDE;
- virtual bool willRespondToMouseClickEvents() OVERRIDE;
+ virtual bool willRespondToMouseMoveEvents() override;
+ virtual bool willRespondToMouseClickEvents() override;
void forwardEvent(Event*);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
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;
+ 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 doStepAction(int);
void startRepeatingTimer();
void stopRepeatingTimer();
void repeatingTimerFired(Timer<SpinButtonElement>*);
- virtual void setHovered(bool = true) OVERRIDE;
+ virtual void setHovered(bool = true) override;
bool shouldRespondToMouseEvents();
- virtual bool isMouseFocusable() const OVERRIDE { return false; }
+ virtual 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