Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: third_party/WebKit/Source/core/events/EventDispatchMediator.h

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Fix typo Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/EventDispatchMediator.h
diff --git a/third_party/WebKit/Source/core/events/EventDispatchMediator.h b/third_party/WebKit/Source/core/events/EventDispatchMediator.h
index a0589856bfe9b698e85af57a446f2f0a3c7afe83..194256850958eb18f1fc2bc517b79dbb55412007 100644
--- a/third_party/WebKit/Source/core/events/EventDispatchMediator.h
+++ b/third_party/WebKit/Source/core/events/EventDispatchMediator.h
@@ -31,6 +31,7 @@
#ifndef EventDispatchMediator_h
#define EventDispatchMediator_h
+#include "core/events/EventDispatchResult.h"
#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -46,7 +47,7 @@ public:
static PassRefPtrWillBeRawPtr<EventDispatchMediator> create(PassRefPtrWillBeRawPtr<Event>);
virtual ~EventDispatchMediator() { }
DECLARE_VIRTUAL_TRACE();
- virtual bool dispatchEvent(EventDispatcher&) const;
+ virtual DispatchEventResult dispatchEvent(EventDispatcher&) const;
Event& event() const { return *m_event; }
protected:
« no previous file with comments | « third_party/WebKit/Source/core/events/DragEvent.cpp ('k') | third_party/WebKit/Source/core/events/EventDispatchMediator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698