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

Unified Diff: Source/core/events/TouchEvent.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/TextEvent.h ('k') | Source/core/events/TransitionEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TouchEvent.h
diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h
index 87fb9c5ef59af89e2883cc2866c464ed231110f2..f051937b1b498f2f761fcb4430be4bdfcd601414 100644
--- a/Source/core/events/TouchEvent.h
+++ b/Source/core/events/TouchEvent.h
@@ -33,7 +33,7 @@
namespace blink {
-class TouchEvent FINAL : public UIEventWithKeyState {
+class TouchEvent final : public UIEventWithKeyState {
DEFINE_WRAPPERTYPEINFO();
public:
virtual ~TouchEvent();
@@ -65,13 +65,13 @@ public:
void setTargetTouches(PassRefPtrWillBeRawPtr<TouchList> targetTouches) { m_targetTouches = targetTouches; }
void setChangedTouches(PassRefPtrWillBeRawPtr<TouchList> changedTouches) { m_changedTouches = changedTouches; }
- virtual bool isTouchEvent() const OVERRIDE;
+ virtual bool isTouchEvent() const override;
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
- virtual void preventDefault() OVERRIDE;
+ virtual void preventDefault() override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
TouchEvent();
@@ -85,14 +85,14 @@ private:
RefPtrWillBeMember<TouchList> m_changedTouches;
};
-class TouchEventDispatchMediator FINAL : public EventDispatchMediator {
+class TouchEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<TouchEventDispatchMediator> create(PassRefPtrWillBeRawPtr<TouchEvent>);
private:
explicit TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent>);
TouchEvent* event() const;
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
DEFINE_EVENT_TYPE_CASTS(TouchEvent);
« no previous file with comments | « Source/core/events/TextEvent.h ('k') | Source/core/events/TransitionEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698