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

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

Issue 1241613004: Rework dispatchEvent so it is consistent for isTrusted support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 0919deb607835993c907a8db504f70bf57ac740b..993c479bfb20c378264721aab0a79246b6985b3f 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -623,11 +623,9 @@ public:
virtual void* preDispatchEventHandler(Event*) { return nullptr; }
virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/) { }
- using EventTarget::dispatchEvent;
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
-
void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>);
void dispatchScopedEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatchMediator>);
+ void dispatchEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatchMediator>);
tkent 2015/07/15 00:00:54 This looks unnecessary.
dtapuska 2015/07/15 22:34:42 Done.
virtual void handleLocalEvents(Event&);
@@ -753,6 +751,8 @@ protected:
virtual void didMoveToNewDocument(Document& oldDocument);
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+
static void reattachWhitespaceSiblingsIfNeeded(Text* start);
#if !ENABLE(OILPAN)

Powered by Google App Engine
This is Rietveld 408576698