| 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;
|
|
|