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

Unified Diff: third_party/WebKit/Source/core/events/Event.h

Issue 2501333003: Event failed to dispatch after stopPropagation (Closed)
Patch Set: After format. Created 4 years, 1 month 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/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index e2074dd1a552b65efdc6b9c0d7419c24aae861ac..3cb3cf06f16d8dbcafbf1f8e06f49cbbcb20e7e2 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -159,7 +159,13 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
double platformTimeStamp() const { return m_platformTimeStamp; }
void stopPropagation() { m_propagationStopped = true; }
+ void setStopPropagation(bool stopPropagation) {
+ m_propagationStopped = stopPropagation;
+ }
void stopImmediatePropagation() { m_immediatePropagationStopped = true; }
+ void setStopImmediatePropagation(bool stopImmediatePropagation) {
+ m_immediatePropagationStopped = stopImmediatePropagation;
+ }
// IE Extensions
EventTarget* srcElement() const {

Powered by Google App Engine
This is Rietveld 408576698