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

Side by Side 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 "redirect": "DeviceOrientation", 428 "redirect": "DeviceOrientation",
429 "hidden": true 429 "hidden": true
430 }, 430 },
431 { 431 {
432 "name": "clearDeviceOrientationOverride", 432 "name": "clearDeviceOrientationOverride",
433 "description": "Clears the overridden Device Orientation.", 433 "description": "Clears the overridden Device Orientation.",
434 "redirect": "DeviceOrientation", 434 "redirect": "DeviceOrientation",
435 "hidden": true 435 "hidden": true
436 }, 436 },
437 { 437 {
438 "name": "hasTouchInputs",
439 "description": "Tells whether touch inputs are present.",
440 "returns": [
441 { "name": "result", "type": "boolean", "description": "True if touch inputs are present." }
442 ],
443 "hidden": true
444 },
445 {
438 "name": "setTouchEmulationEnabled", 446 "name": "setTouchEmulationEnabled",
439 "parameters": [ 447 "parameters": [
440 { "name": "enabled", "type": "boolean", "description": "Whet her the touch event emulation should be enabled." } 448 { "name": "enabled", "type": "boolean", "description": "Whet her the touch event emulation should be enabled." }
441 ], 449 ],
442 "description": "Toggles mouse event-based touch event emulation. ", 450 "description": "Toggles mouse event-based touch event emulation. ",
443 "hidden": true 451 "hidden": true
444 }, 452 },
445 { 453 {
446 "name": "setEmulatedMedia", 454 "name": "setEmulatedMedia",
447 "parameters": [ 455 "parameters": [
(...skipping 3635 matching lines...) Expand 10 before | Expand all | Expand 10 after
4083 { 4091 {
4084 "name": "dataAvailable", 4092 "name": "dataAvailable",
4085 "parameters": [ 4093 "parameters": [
4086 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4094 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4087 ], 4095 ],
4088 "handlers": ["browser", "frontend"] 4096 "handlers": ["browser", "frontend"]
4089 } 4097 }
4090 ] 4098 ]
4091 }] 4099 }]
4092 } 4100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698