Chromium Code Reviews

Unified Diff: Source/core/inspector/InspectorInputAgent.cpp

Issue 453493002: Improve detection of touch events when hiding media controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@autoHideControls
Patch Set: Fix build breakage Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/inspector/InspectorInputAgent.cpp
diff --git a/Source/core/inspector/InspectorInputAgent.cpp b/Source/core/inspector/InspectorInputAgent.cpp
index b77159f1370e24312817c1da05849cc7ea751d5e..9729cb8af38ee24b89687b94bfa3a4443477c04c 100644
--- a/Source/core/inspector/InspectorInputAgent.cpp
+++ b/Source/core/inspector/InspectorInputAgent.cpp
@@ -175,6 +175,7 @@ void InspectorInputAgent::dispatchMouseEvent(ErrorString* error, const String& t
convertedModifiers & PlatformEvent::CtrlKey,
convertedModifiers & PlatformEvent::AltKey,
convertedModifiers & PlatformEvent::MetaKey,
+ PlatformMouseEvent::RealOrIndistinguishable,
timestamp ? *timestamp : currentTime());
m_client->dispatchMouseEvent(event);

Powered by Google App Engine