Index: third_party/WebKit/Source/core/events/EventDispatcher.h |
diff --git a/third_party/WebKit/Source/core/events/EventDispatcher.h b/third_party/WebKit/Source/core/events/EventDispatcher.h |
index f2a4455dae9891d9c823bac9292fd9d85196e31c..972fa2146008d01f36a73bbfa3e18c1045720502 100644 |
--- a/third_party/WebKit/Source/core/events/EventDispatcher.h |
+++ b/third_party/WebKit/Source/core/events/EventDispatcher.h |
@@ -27,6 +27,7 @@ |
#define EventDispatcher_h |
#include "core/dom/SimulatedClickOptions.h" |
+#include "core/events/EventDispatchResult.h" |
#include "platform/heap/Handle.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
@@ -48,12 +49,12 @@ enum EventDispatchContinuation { |
class EventDispatcher { |
STACK_ALLOCATED(); |
public: |
- static bool dispatchEvent(Node&, PassRefPtrWillBeRawPtr<EventDispatchMediator>); |
+ static DispatchEventResult dispatchEvent(Node&, PassRefPtrWillBeRawPtr<EventDispatchMediator>); |
static void dispatchScopedEvent(Node&, PassRefPtrWillBeRawPtr<EventDispatchMediator>); |
static void dispatchSimulatedClick(Node&, Event* underlyingEvent, SimulatedClickMouseEventOptions, SimulatedClickCreationScope); |
- bool dispatch(); |
+ DispatchEventResult dispatch(); |
Node& node() const { return *m_node; } |
Event& event() const { return *m_event; } |