Index: third_party/WebKit/Source/core/events/EventTarget.h |
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h |
index 5f56ecb04adcf376f578f59ca61a2f76aede39e3..0dac27a7edcab3c8675d081c519af36a9e95e702 100644 |
--- a/third_party/WebKit/Source/core/events/EventTarget.h |
+++ b/third_party/WebKit/Source/core/events/EventTarget.h |
@@ -40,6 +40,7 @@ |
#include "core/EventTypeNames.h" |
#include "core/events/EventListenerMap.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebInputEventResult.h" |
#include "wtf/Allocator.h" |
#include "wtf/text/AtomicString.h" |
@@ -138,7 +139,7 @@ public: |
bool removeEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener>, EventListenerOptions&); |
virtual void removeAllEventListeners(); |
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>); |
+ WebInputEventResult dispatchEvent(PassRefPtrWillBeRawPtr<Event>); |
// dispatchEventForBindings is intended to only be called from |
// javascript originated calls. This method will validate and may adjust |
@@ -156,7 +157,7 @@ public: |
EventListenerVector* getEventListeners(const AtomicString& eventType); |
Vector<AtomicString> eventTypes(); |
- bool fireEventListeners(Event*); |
+ WebInputEventResult fireEventListeners(Event*); |
DEFINE_INLINE_VIRTUAL_TRACE() { } |
@@ -167,7 +168,7 @@ protected: |
virtual bool addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener>, const EventListenerOptions&); |
virtual bool removeEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener>, const EventListenerOptions&); |
- virtual bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>); |
+ virtual WebInputEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>); |
// Subclasses should likely not override these themselves; instead, they should subclass EventTargetWithInlineData. |
virtual EventTargetData* eventTargetData() = 0; |