Index: Source/core/events/MouseEvent.h |
diff --git a/Source/core/events/MouseEvent.h b/Source/core/events/MouseEvent.h |
index 41ab261eb8ed20fcaf784a881336a7df7ed13856..47682c7148c9c56703adf86228b17409b83b8000 100644 |
--- a/Source/core/events/MouseEvent.h |
+++ b/Source/core/events/MouseEvent.h |
@@ -86,18 +86,18 @@ public: |
EventTarget* relatedTarget(bool& isNull) const { isNull = !m_relatedTarget; return m_relatedTarget.get(); } |
void setRelatedTarget(PassRefPtr<EventTarget> relatedTarget) { m_relatedTarget = relatedTarget; } |
- Clipboard* clipboard() const { return m_clipboard.get(); } |
+ virtual Clipboard* clipboard() const OVERRIDE FINAL { return m_clipboard.get(); } |
Node* toElement() const; |
Node* fromElement() const; |
Clipboard* dataTransfer() const { return isDragEvent() ? m_clipboard.get() : 0; } |
- virtual const AtomicString& interfaceName() const; |
+ virtual const AtomicString& interfaceName() const OVERRIDE; |
- virtual bool isMouseEvent() const; |
- virtual bool isDragEvent() const; |
- virtual int which() const; |
+ virtual bool isMouseEvent() const OVERRIDE; |
+ virtual bool isDragEvent() const OVERRIDE FINAL; |
+ virtual int which() const OVERRIDE FINAL; |
protected: |
MouseEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView>, |
@@ -117,7 +117,7 @@ private: |
RefPtr<Clipboard> m_clipboard; |
}; |
-class SimulatedMouseEvent : public MouseEvent { |
+class SimulatedMouseEvent FINAL : public MouseEvent { |
public: |
static PassRefPtr<SimulatedMouseEvent> create(const AtomicString& eventType, PassRefPtr<AbstractView>, PassRefPtr<Event> underlyingEvent); |
virtual ~SimulatedMouseEvent(); |
@@ -126,7 +126,7 @@ private: |
SimulatedMouseEvent(const AtomicString& eventType, PassRefPtr<AbstractView>, PassRefPtr<Event> underlyingEvent); |
}; |
-class MouseEventDispatchMediator : public EventDispatchMediator { |
+class MouseEventDispatchMediator FINAL : public EventDispatchMediator { |
public: |
enum MouseEventType { SyntheticMouseEvent, NonSyntheticMouseEvent}; |
static PassRefPtr<MouseEventDispatchMediator> create(PassRefPtr<MouseEvent>, MouseEventType = NonSyntheticMouseEvent); |