| Index: third_party/WebKit/Source/core/dom/Node.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
|
| index bca9099e9d7a2fd8d88317f11fce9d5f4798a158..8c95f8f68db451e8b70f1289a40619b80ffc12ee 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.h
|
| +++ b/third_party/WebKit/Source/core/dom/Node.h
|
| @@ -726,10 +726,10 @@ class CORE_EXPORT Node : public EventTarget {
|
| DispatchEventResult dispatchDOMActivateEvent(int detail,
|
| Event* underlyingEvent);
|
|
|
| - DispatchEventResult dispatchMouseEvent(const PlatformMouseEvent&,
|
| - const AtomicString& eventType,
|
| - int clickCount = 0,
|
| - Node* relatedTarget = nullptr);
|
| + void dispatchMouseEvent(const PlatformMouseEvent&,
|
| + const AtomicString& eventType,
|
| + int clickCount = 0,
|
| + Node* relatedTarget = nullptr);
|
|
|
| void dispatchSimulatedClick(
|
| Event* underlyingEvent,
|
| @@ -855,6 +855,13 @@ class CORE_EXPORT Node : public EventTarget {
|
| void setFlag(NodeFlags mask) { m_nodeFlags |= mask; }
|
| void clearFlag(NodeFlags mask) { m_nodeFlags &= ~mask; }
|
|
|
| + // TODO(mustaq): This is a hack to fix sites with flash objects. We should
|
| + // instead route all PlatformMouseEvents through EventHandler. See
|
| + // crbug.com/665924.
|
| + void createAndDispatchPointerEvent(const AtomicString& mouseEventName,
|
| + const PlatformMouseEvent&,
|
| + LocalDOMWindow* view);
|
| +
|
| protected:
|
| enum ConstructionType {
|
| CreateOther = DefaultNodeFlags,
|
|
|