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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 9ed5287a8a0346c650f397a54f03ab3146be37be..c5c7ef03a33507ab0ecf799eb2093e8715249ab0 100644
--- a/Source/core/events/TouchEvent.h
+++ b/Source/core/events/TouchEvent.h
@@ -37,7 +37,7 @@ namespace blink {
class CORE_EXPORT TouchEvent final : public UIEventWithKeyState {
DEFINE_WRAPPERTYPEINFO();
public:
- virtual ~TouchEvent();
+ ~TouchEvent() override;
// We only initialize sourceDevice when we create TouchEvent from EventHandler, null if it is from JavaScript.
static PassRefPtrWillBeRawPtr<TouchEvent> create()
@@ -70,11 +70,11 @@ public:
bool causesScrollingIfUncanceled() const { return m_causesScrollingIfUncanceled; }
- virtual bool isTouchEvent() const override;
+ bool isTouchEvent() const override;
- virtual const AtomicString& interfaceName() const override;
+ const AtomicString& interfaceName() const override;
- virtual void preventDefault() override;
+ void preventDefault() override;
DECLARE_VIRTUAL_TRACE();
@@ -99,7 +99,7 @@ public:
private:
explicit TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent>);
TouchEvent& event() const;
- virtual bool dispatchEvent(EventDispatcher&) const override;
+ 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