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

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: Created 4 years, 8 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 ade504d66dc89f294d06fd3af74c4c9166071623..c5f965a9d3b781e20b9cc57eb5c3ce330490e136 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,8 +58,8 @@ public:
bool containsCapturing(const AtomicString& eventType) const;
void clear();
- bool add(const AtomicString& eventType, EventListener*, const EventListenerOptions&);
- bool remove(const AtomicString& eventType, EventListener*, const EventListenerOptions&, size_t& indexOfRemovedListener);
+ bool add(const AtomicString& eventType, EventListener*, const AddEventListenerOptions&);
+ bool remove(const AtomicString& eventType, 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