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

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: Work around MSVC optimization bug 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..462eb615dff2b75f9fb0daf755e881d0b3e793cf 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -623,9 +623,6 @@ 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>);
@@ -753,6 +750,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