Chromium Code Reviews| 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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 536 "hidden": true, | 536 "hidden": true, |
| 537 "handlers": ["browser", "renderer"] | 537 "handlers": ["browser", "renderer"] |
| 538 }, | 538 }, |
| 539 { | 539 { |
| 540 "name": "stopScreencast", | 540 "name": "stopScreencast", |
| 541 "description": "Stops sending each frame in the <code>screencast Frame</code>.", | 541 "description": "Stops sending each frame in the <code>screencast Frame</code>.", |
| 542 "hidden": true, | 542 "hidden": true, |
| 543 "handlers": ["browser", "renderer"] | 543 "handlers": ["browser", "renderer"] |
| 544 }, | 544 }, |
| 545 { | 545 { |
| 546 "name": "screencastFrameAck", | |
| 547 "description": "Acknowledges that a screencast frame has been re ceived by the frontend.", | |
| 548 "parameters": [ | |
| 549 { "name": "frameNumber", "type": "integer", "description": " Frame number." } | |
| 550 ], | |
| 551 "hidden": true, | |
| 552 "handlers": ["browser"] | |
| 553 }, | |
| 554 { | |
| 546 "name": "handleJavaScriptDialog", | 555 "name": "handleJavaScriptDialog", |
| 547 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).", | 556 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).", |
| 548 "parameters": [ | 557 "parameters": [ |
| 549 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." }, | 558 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." }, |
| 550 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." } | 559 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." } |
| 551 ], | 560 ], |
| 552 "hidden": true, | 561 "hidden": true, |
| 553 "handlers": ["browser"] | 562 "handlers": ["browser"] |
| 554 }, | 563 }, |
| 555 { | 564 { |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 676 "parameters": [ | 685 "parameters": [ |
| 677 { "name": "isEnabled", "type": "boolean", "description": "Wh ether script execution is enabled or disabled on the page." } | 686 { "name": "isEnabled", "type": "boolean", "description": "Wh ether script execution is enabled or disabled on the page." } |
| 678 ], | 687 ], |
| 679 "hidden": true | 688 "hidden": true |
| 680 }, | 689 }, |
| 681 { | 690 { |
| 682 "name": "screencastFrame", | 691 "name": "screencastFrame", |
| 683 "description": "Compressed image data requested by the <code>sta rtScreencast</code>.", | 692 "description": "Compressed image data requested by the <code>sta rtScreencast</code>.", |
| 684 "parameters": [ | 693 "parameters": [ |
| 685 { "name": "data", "type": "string", "description": "Base64-e ncoded compressed image." }, | 694 { "name": "data", "type": "string", "description": "Base64-e ncoded compressed image." }, |
| 686 { "name": "metadata", "$ref": "ScreencastFrameMetadata", "de scription": "Screencast frame metadata"} | 695 { "name": "metadata", "$ref": "ScreencastFrameMetadata", "de scription": "Screencast frame metadata."}, |
| 696 { "name": "frameNumber", "type": "integer", "description": " Frame number."} | |
|
dgozman
2014/11/14 13:43:30
Optional?
vkuzkokov
2014/11/14 14:45:07
Yes. Fixed.
| |
| 687 ], | 697 ], |
| 688 "hidden": true, | 698 "hidden": true, |
| 689 "handlers": ["browser"] | 699 "handlers": ["browser"] |
| 690 }, | 700 }, |
| 691 { | 701 { |
| 692 "name": "screencastVisibilityChanged", | 702 "name": "screencastVisibilityChanged", |
| 693 "description": "Fired when the page with currently enabled scree ncast was shown or hidden </code>.", | 703 "description": "Fired when the page with currently enabled scree ncast was shown or hidden </code>.", |
| 694 "parameters": [ | 704 "parameters": [ |
| 695 { "name": "visible", "type": "boolean", "description": "True if the page is visible." } | 705 { "name": "visible", "type": "boolean", "description": "True if the page is visible." } |
| 696 ], | 706 ], |
| (...skipping 3837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4534 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } | 4544 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } |
| 4535 ], | 4545 ], |
| 4536 "description": "Gets the state of an AnimationPlayer.", | 4546 "description": "Gets the state of an AnimationPlayer.", |
| 4537 "hidden": true | 4547 "hidden": true |
| 4538 } | 4548 } |
| 4539 ], | 4549 ], |
| 4540 "events": [ | 4550 "events": [ |
| 4541 ] | 4551 ] |
| 4542 }] | 4552 }] |
| 4543 } | 4553 } |
| OLD | NEW |