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 "experimental": true, | 5 "experimental": 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 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 751 "description": "Requests that page scale factor is reset to init ial values." | 751 "description": "Requests that page scale factor is reset to init ial values." |
| 752 }, | 752 }, |
| 753 { | 753 { |
| 754 "name": "setPageScaleFactor", | 754 "name": "setPageScaleFactor", |
| 755 "description": "Sets a specified page scale factor.", | 755 "description": "Sets a specified page scale factor.", |
| 756 "parameters": [ | 756 "parameters": [ |
| 757 { "name": "pageScaleFactor", "type": "number", "description" : "Page scale factor." } | 757 { "name": "pageScaleFactor", "type": "number", "description" : "Page scale factor." } |
| 758 ] | 758 ] |
| 759 }, | 759 }, |
| 760 { | 760 { |
| 761 "name": "setVisibleSize", | |
| 762 "description": "Resizes the frame/viewport of the page. Note tha t this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.", | |
| 763 "parameters": [ | |
| 764 { "name": "width", "type": "integer", "description": "Frame width (DIP)." }, | |
|
Sami
2016/08/22 13:42:12
nit: Visible width/height instead of frame width/h
| |
| 765 { "name": "height", "type": "integer", "description": "Frame height (DIP)." } | |
| 766 ], | |
| 767 "handlers": ["browser"] | |
| 768 }, | |
| 769 { | |
| 761 "name": "setScriptExecutionDisabled", | 770 "name": "setScriptExecutionDisabled", |
| 762 "description": "Switches script execution in the page.", | 771 "description": "Switches script execution in the page.", |
| 763 "parameters": [ | 772 "parameters": [ |
| 764 { "name": "value", "type": "boolean", "description": "Whethe r script execution should be disabled in the page." } | 773 { "name": "value", "type": "boolean", "description": "Whethe r script execution should be disabled in the page." } |
| 765 ] | 774 ] |
| 766 }, | 775 }, |
| 767 { | 776 { |
| 768 "name": "setGeolocationOverride", | 777 "name": "setGeolocationOverride", |
| 769 "description": "Overrides the Geolocation Position or Error. Omi tting any of the parameters emulates position unavailable.", | 778 "description": "Overrides the Geolocation Position or Error. Omi tting any of the parameters emulates position unavailable.", |
| 770 "parameters": [ | 779 "parameters": [ |
| (...skipping 3712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4483 "description": "Informs that port was successfully bound and got a specified connection id.", | 4492 "description": "Informs that port was successfully bound and got a specified connection id.", |
| 4484 "parameters": [ | 4493 "parameters": [ |
| 4485 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4494 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
| 4486 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4495 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
| 4487 ], | 4496 ], |
| 4488 "handlers": ["browser"] | 4497 "handlers": ["browser"] |
| 4489 } | 4498 } |
| 4490 ] | 4499 ] |
| 4491 }] | 4500 }] |
| 4492 } | 4501 } |
| OLD | NEW |