OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |