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

Unified Diff: Source/core/events/MouseEvent.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/MessageEvent.h ('k') | Source/core/events/MouseRelatedEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/MouseEvent.h
diff --git a/Source/core/events/MouseEvent.h b/Source/core/events/MouseEvent.h
index 3e3ab06f57ff3f5b74526e6e6e0d172e900b1f7b..8c2e2d26902dbd8f4c50b8cefc55917f1e785347 100644
--- a/Source/core/events/MouseEvent.h
+++ b/Source/core/events/MouseEvent.h
@@ -55,7 +55,7 @@ public:
static PassRefPtrWillBeRawPtr<MouseEvent> create(ScriptState*, const AtomicString& eventType, const MouseEventInit&);
- virtual ~MouseEvent();
+ ~MouseEvent() override;
static unsigned short platformModifiersToButtons(unsigned modifiers);
@@ -86,11 +86,11 @@ public:
bool fromTouch() const { return m_syntheticEventType == PlatformMouseEvent::FromTouch; }
- virtual const AtomicString& interfaceName() const override;
+ const AtomicString& interfaceName() const override;
- virtual bool isMouseEvent() const override;
- virtual bool isDragEvent() const override final;
- virtual int which() const override final;
+ bool isMouseEvent() const override;
+ bool isDragEvent() const final;
+ int which() const final;
DECLARE_VIRTUAL_TRACE();
@@ -117,7 +117,7 @@ private:
class SimulatedMouseEvent final : public MouseEvent {
public:
static PassRefPtrWillBeRawPtr<SimulatedMouseEvent> create(const AtomicString& eventType, PassRefPtrWillBeRawPtr<AbstractView>, PassRefPtrWillBeRawPtr<Event> underlyingEvent);
- virtual ~SimulatedMouseEvent();
+ ~SimulatedMouseEvent() override;
DECLARE_VIRTUAL_TRACE();
@@ -134,7 +134,7 @@ private:
explicit MouseEventDispatchMediator(PassRefPtrWillBeRawPtr<MouseEvent>, MouseEventType);
MouseEvent& event() const;
- virtual bool dispatchEvent(EventDispatcher&) const override;
+ bool dispatchEvent(EventDispatcher&) const override;
bool isSyntheticMouseEvent() const { return m_mouseEventType == SyntheticMouseEvent; }
MouseEventType m_mouseEventType;
};
« no previous file with comments | « Source/core/events/MessageEvent.h ('k') | Source/core/events/MouseRelatedEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698