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

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

Issue 2490883002: Make UA dblclick events composed events (Closed)
Patch Set: update 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 bfe0b65fd212991db66c1fd72457d644de71425f..479e499457e29bd6f0877177d599e4e77e945ade 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -265,6 +265,10 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
virtual void receivedTarget();
void setCanBubble(bool bubble) { m_canBubble = bubble; }
+ void setComposed(bool composed) {
+ DCHECK(!isBeingDispatched());
+ m_composed = composed;
+ }
PassiveMode handlingPassive() const { return m_handlingPassive; }
« no previous file with comments | « third_party/WebKit/LayoutTests/shadow-dom/event-composed-ua.html ('k') | third_party/WebKit/Source/core/events/MouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698