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

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

Issue 1285793004: isTrusted is incorrect for events generated by Element.click() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change bool on SimulatedMouseEvent to the enum class introduced everywhere else Created 5 years, 4 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
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/SimulatedClickOptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index b43e212fa481249fdb2f37f2694fe3f32096852a..cbc576ee66c31e153e90057a34e80f3d07114b5c 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -2049,9 +2049,9 @@ bool Node::dispatchGestureEvent(const PlatformGestureEvent& event)
return dispatchEvent(gestureEvent);
}
-void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions eventOptions)
+void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions eventOptions, SimulatedClickCreationScope scope)
{
- EventDispatcher::dispatchSimulatedClick(*this, underlyingEvent, eventOptions);
+ EventDispatcher::dispatchSimulatedClick(*this, underlyingEvent, eventOptions, scope);
}
bool Node::dispatchWheelEvent(const PlatformWheelEvent& event)
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/SimulatedClickOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698