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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 1942723004: Change EventTarget callback APIs for add/RemoveEventListenerInternal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use find_if as per bokan@ request 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/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 0105f11a92155cdea74203758d49c35057d6c8fa..8b1351b42f27be098c856ee3a568896cb09017d5 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -743,8 +743,8 @@ protected:
virtual void didMoveToNewDocument(Document& oldDocument);
- bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) override;
- bool removeEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) override;
+ void addedEventListener(const AtomicString& eventType, RegisteredEventListener&) override;
+ void removedEventListener(const AtomicString& eventType, const RegisteredEventListener&) override;
DispatchEventResult dispatchEventInternal(Event*) override;
static void reattachWhitespaceSiblingsIfNeeded(Text* start);

Powered by Google App Engine
This is Rietveld 408576698