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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.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/EventTarget.h
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h
index 6e9612012efeb7bed821e6f9239bf677e5793031..27cfd723a536aa146351cc51ac4ccc12b9d7ea27 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.h
+++ b/third_party/WebKit/Source/core/events/EventTarget.h
@@ -114,8 +114,8 @@ public:
virtual MessagePort* toMessagePort();
bool addEventListener(const AtomicString& eventType, EventListener*, bool useCapture = false);
- bool addEventListener(const AtomicString& eventType, EventListener*, const EventListenerOptionsOrBoolean&);
- bool addEventListener(const AtomicString& eventType, EventListener*, EventListenerOptions&);
+ bool addEventListener(const AtomicString& eventType, EventListener*, const AddEventListenerOptionsOrBoolean&);
+ bool addEventListener(const AtomicString& eventType, EventListener*, AddEventListenerOptions&);
bool removeEventListener(const AtomicString& eventType, const EventListener*, bool useCapture = false);
bool removeEventListener(const AtomicString& eventType, const EventListener*, const EventListenerOptionsOrBoolean&);
@@ -151,7 +151,7 @@ public:
protected:
EventTarget();
- virtual bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&);
+ virtual bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const AddEventListenerOptions&);
virtual bool removeEventListenerInternal(const AtomicString& eventType, const EventListener*, const EventListenerOptions&);
// Called when an event listener has been successfully added.
« no previous file with comments | « third_party/WebKit/Source/core/events/EventListenerOptions.idl ('k') | third_party/WebKit/Source/core/events/EventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698