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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.cpp

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
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/MouseEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.cpp b/third_party/WebKit/Source/core/events/MouseEvent.cpp
index 9e2f748dd61bd8645a6a4b500550d814fdd49803..95a5fa5f6dddf18fa88217c3569e0cc05ff53f0a 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.cpp
+++ b/third_party/WebKit/Source/core/events/MouseEvent.cpp
@@ -357,6 +357,7 @@ DispatchEventResult MouseEventDispatchMediator::dispatchEvent(
mouseEvent.screenY(), mouseEvent.clientX(), mouseEvent.clientY(),
mouseEvent.modifiers(), mouseEvent.button(), relatedTarget,
mouseEvent.sourceCapabilities(), mouseEvent.buttons());
+ doubleClickEvent->setComposed(mouseEvent.composed());
// Inherit the trusted status from the original event.
doubleClickEvent->setTrusted(mouseEvent.isTrusted());
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698