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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 "redirect": "DeviceOrientation", | 460 "redirect": "DeviceOrientation", |
461 "hidden": true | 461 "hidden": true |
462 }, | 462 }, |
463 { | 463 { |
464 "name": "clearDeviceOrientationOverride", | 464 "name": "clearDeviceOrientationOverride", |
465 "description": "Clears the overridden Device Orientation.", | 465 "description": "Clears the overridden Device Orientation.", |
466 "redirect": "DeviceOrientation", | 466 "redirect": "DeviceOrientation", |
467 "hidden": true | 467 "hidden": true |
468 }, | 468 }, |
469 { | 469 { |
470 "name": "hasTouchInputs", | |
471 "description": "Tells whether touch inputs are present.", | |
472 "returns": [ | |
473 { "name": "result", "type": "boolean", "description": "True
if touch inputs are present." } | |
474 ], | |
475 "hidden": true | |
476 }, | |
477 { | |
478 "name": "setTouchEmulationEnabled", | 470 "name": "setTouchEmulationEnabled", |
479 "parameters": [ | 471 "parameters": [ |
480 { "name": "enabled", "type": "boolean", "description": "Whet
her the touch event emulation should be enabled." } | 472 { "name": "enabled", "type": "boolean", "description": "Whet
her the touch event emulation should be enabled." } |
481 ], | 473 ], |
482 "description": "Toggles mouse event-based touch event emulation.
", | 474 "description": "Toggles mouse event-based touch event emulation.
", |
483 "hidden": true | 475 "hidden": true |
484 }, | 476 }, |
485 { | 477 { |
486 "name": "setEmulatedMedia", | 478 "name": "setEmulatedMedia", |
487 "parameters": [ | 479 "parameters": [ |
(...skipping 3784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4272 { | 4264 { |
4273 "name": "dataAvailable", | 4265 "name": "dataAvailable", |
4274 "parameters": [ | 4266 "parameters": [ |
4275 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4267 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4276 ], | 4268 ], |
4277 "handlers": ["browser", "frontend"] | 4269 "handlers": ["browser", "frontend"] |
4278 } | 4270 } |
4279 ] | 4271 ] |
4280 }] | 4272 }] |
4281 } | 4273 } |
OLD | NEW |