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

Unified Diff: Source/devtools/protocol.json

Issue 243233002: [DevTools] Disable touch emulation on devices with touch input. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 5e1fb6d28f1967915d40f1d982b9fda1b39b1353..dee70ee7ad0f0cada386c129bdf1fc3fd1c91cbf 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -435,6 +435,14 @@
"hidden": true
},
{
+ "name": "hasTouchInputs",
+ "description": "Tells whether touch inputs are present.",
+ "returns": [
+ { "name": "result", "type": "boolean", "description": "True if touch inputs are present." }
+ ],
+ "hidden": true
+ },
+ {
"name": "setTouchEmulationEnabled",
"parameters": [
{ "name": "enabled", "type": "boolean", "description": "Whether the touch event emulation should be enabled." }

Powered by Google App Engine
This is Rietveld 408576698