| Index: third_party/WebKit/Source/core/events/MouseEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h
|
| index 098d7a7b3d4f141a655ce9af7f231e03242218eb..ac75f7fe139b0564da59b4e203e2f76a7c002b13 100644
|
| --- a/third_party/WebKit/Source/core/events/MouseEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/MouseEvent.h
|
| @@ -50,7 +50,8 @@ public:
|
| EventTarget* relatedTarget,
|
| double platformTimeStamp,
|
| PlatformMouseEvent::SyntheticEventType,
|
| - const String& region);
|
| + const String& region,
|
| + const PlatformMouseEvent*);
|
|
|
| static MouseEvent* create(const AtomicString& eventType, AbstractView*, const PlatformMouseEvent&, int detail, Node* relatedTarget);
|
|
|
| @@ -94,6 +95,8 @@ public:
|
|
|
| int clickCount() { return detail(); }
|
|
|
| + const PlatformMouseEvent* mouseEvent() const { return m_mouseEvent.get(); }
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| @@ -104,7 +107,8 @@ protected:
|
| EventTarget* relatedTarget,
|
| double platformTimeStamp,
|
| PlatformMouseEvent::SyntheticEventType,
|
| - const String& region);
|
| + const String& region,
|
| + const PlatformMouseEvent*);
|
|
|
| MouseEvent(const AtomicString& type, const MouseEventInit&);
|
|
|
| @@ -124,6 +128,7 @@ private:
|
| Member<EventTarget> m_relatedTarget;
|
| PlatformMouseEvent::SyntheticEventType m_syntheticEventType;
|
| String m_region;
|
| + std::unique_ptr<PlatformMouseEvent> m_mouseEvent;
|
| };
|
|
|
| class MouseEventDispatchMediator final : public EventDispatchMediator {
|
|
|