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

Unified Diff: Source/core/events/WheelEvent.h

Issue 636833002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/events (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/events/WebKitAnimationEvent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/WheelEvent.h
diff --git a/Source/core/events/WheelEvent.h b/Source/core/events/WheelEvent.h
index fff561a46de554db724ea43900586ceb62bd2a75..dd98ec56b6feca40d7763163a745d38c90853dac 100644
--- a/Source/core/events/WheelEvent.h
+++ b/Source/core/events/WheelEvent.h
@@ -44,7 +44,7 @@ struct WheelEventInit : public MouseEventInit {
unsigned deltaMode;
};
-class WheelEvent FINAL : public MouseEvent {
+class WheelEvent final : public MouseEvent {
DEFINE_WRAPPERTYPEINFO();
public:
enum { TickMultiplier = 120 };
@@ -84,11 +84,11 @@ public:
float ticksX() const { return static_cast<float>(m_wheelDelta.x()) / TickMultiplier; }
float ticksY() const { return static_cast<float>(m_wheelDelta.y()) / TickMultiplier; }
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual bool isMouseEvent() const OVERRIDE;
- virtual bool isWheelEvent() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual bool isMouseEvent() const override;
+ virtual bool isWheelEvent() const override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
WheelEvent();
@@ -106,13 +106,13 @@ private:
DEFINE_EVENT_TYPE_CASTS(WheelEvent);
-class WheelEventDispatchMediator FINAL : public EventDispatchMediator {
+class WheelEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<WheelEventDispatchMediator> create(const PlatformWheelEvent&, PassRefPtrWillBeRawPtr<AbstractView>);
private:
WheelEventDispatchMediator(const PlatformWheelEvent&, PassRefPtrWillBeRawPtr<AbstractView>);
WheelEvent* event() const;
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
} // namespace blink
« no previous file with comments | « Source/core/events/WebKitAnimationEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698