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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.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/modules/indexeddb/IDBEventDispatcher.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.h b/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.h
index ba4c3ffc5285bcc902964a3f2c3d0c91b97b075f..74abe659d939dcb4ff25cb8fa01709f6c26488ab 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.h
@@ -29,6 +29,7 @@
#ifndef IDBEventDispatcher_h
#define IDBEventDispatcher_h
+#include "core/events/EventTarget.h"
#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
#include "wtf/RefPtr.h"
@@ -37,12 +38,11 @@
namespace blink {
class Event;
-class EventTarget;
class IDBEventDispatcher {
STATIC_ONLY(IDBEventDispatcher);
public:
- static bool dispatch(Event*, WillBeHeapVector<RefPtrWillBeMember<EventTarget>>&); // The target first and then its ancestors in order of how the event bubbles.
+ static DispatchEventResult dispatch(Event*, WillBeHeapVector<RefPtrWillBeMember<EventTarget>>&); // The target first and then its ancestors in order of how the event bubbles.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698