| Index: Source/core/events/PointerEvent.h
|
| diff --git a/Source/core/events/PointerEvent.h b/Source/core/events/PointerEvent.h
|
| index 2bb6b8f3dcbb78bae58baf7212e3529eecdcff32..187a4904158f6ebc16377309b023ae8945b16812 100644
|
| --- a/Source/core/events/PointerEvent.h
|
| +++ b/Source/core/events/PointerEvent.h
|
| @@ -33,6 +33,7 @@ public:
|
| const String& pointerType() const { return m_pointerType; }
|
| bool isPrimary() const { return m_isPrimary; }
|
|
|
| + virtual bool isMouseEvent() const override;
|
| virtual bool isPointerEvent() const override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
| @@ -51,6 +52,17 @@ private:
|
| bool m_isPrimary;
|
| };
|
|
|
| +
|
| +class PointerEventDispatchMediator final : public EventDispatchMediator {
|
| +public:
|
| + static PassRefPtrWillBeRawPtr<PointerEventDispatchMediator> create(PassRefPtrWillBeRawPtr<PointerEvent>);
|
| +
|
| +private:
|
| + explicit PointerEventDispatchMediator(PassRefPtrWillBeRawPtr<PointerEvent>);
|
| + PointerEvent& event() const;
|
| + virtual bool dispatchEvent(EventDispatcher&) const override;
|
| +};
|
| +
|
| DEFINE_EVENT_TYPE_CASTS(PointerEvent);
|
|
|
| } // namespace blink
|
|
|