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

Unified Diff: Source/core/events/GestureEvent.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/GenericEventQueue.h ('k') | Source/core/events/HashChangeEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/GestureEvent.h
diff --git a/Source/core/events/GestureEvent.h b/Source/core/events/GestureEvent.h
index 13ce6d8fd89ed404f8c6c62092a053671b58aeb1..884ffe165a69a4398bd5348a65cd250aa028b912 100644
--- a/Source/core/events/GestureEvent.h
+++ b/Source/core/events/GestureEvent.h
@@ -32,20 +32,20 @@
namespace blink {
-class GestureEvent FINAL : public MouseRelatedEvent {
+class GestureEvent final : public MouseRelatedEvent {
public:
virtual ~GestureEvent() { }
static PassRefPtrWillBeRawPtr<GestureEvent> create(PassRefPtrWillBeRawPtr<AbstractView>, const PlatformGestureEvent&);
- virtual bool isGestureEvent() const OVERRIDE;
+ virtual bool isGestureEvent() const override;
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
float deltaX() const { return m_deltaX; }
float deltaY() const { return m_deltaY; }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
GestureEvent();
@@ -55,7 +55,7 @@ private:
float m_deltaY;
};
-class GestureEventDispatchMediator FINAL : public EventDispatchMediator {
+class GestureEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<GestureEventDispatchMediator> create(PassRefPtrWillBeRawPtr<GestureEvent> gestureEvent)
{
@@ -67,7 +67,7 @@ private:
GestureEvent* event() const;
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
DEFINE_EVENT_TYPE_CASTS(GestureEvent);
« no previous file with comments | « Source/core/events/GenericEventQueue.h ('k') | Source/core/events/HashChangeEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698