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

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

Issue 1922093003: Add AddEventListenerOptions addEventListenerOptions interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/EventListenerMap.h
diff --git a/third_party/WebKit/Source/core/events/EventListenerMap.h b/third_party/WebKit/Source/core/events/EventListenerMap.h
index cabd38521877e405db5c6d43608ed9301867fbcc..a6a6b8d67d3314bb7c6a1a65bccc98fa97f45658 100644
--- a/third_party/WebKit/Source/core/events/EventListenerMap.h
+++ b/third_party/WebKit/Source/core/events/EventListenerMap.h
@@ -34,6 +34,7 @@
#define EventListenerMap_h
#include "core/CoreExport.h"
+#include "core/events/AddEventListenerOptions.h"
#include "core/events/EventListenerOptions.h"
#include "core/events/RegisteredEventListener.h"
#include "wtf/Noncopyable.h"
@@ -57,7 +58,7 @@ public:
bool containsCapturing(const AtomicString& eventType) const;
void clear();
- bool add(const AtomicString& eventType, EventListener*, const EventListenerOptions&, RegisteredEventListener* registeredListener);
+ bool add(const AtomicString& eventType, EventListener*, const AddEventListenerOptions&, RegisteredEventListener* registeredListener);
bool remove(const AtomicString& eventType, const EventListener*, const EventListenerOptions&, size_t* indexOfRemovedListener, RegisteredEventListener* registeredListener);
EventListenerVector* find(const AtomicString& eventType);
Vector<AtomicString> eventTypes() const;

Powered by Google App Engine
This is Rietveld 408576698