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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 740 { "name": "screenOrientation", "$ref": "ScreenOrientation", "optional": true, "description": "Screen orientation override." } | 740 { "name": "screenOrientation", "$ref": "ScreenOrientation", "optional": true, "description": "Screen orientation override." } |
| 741 ], | 741 ], |
| 742 "handlers": ["browser"] | 742 "handlers": ["browser"] |
| 743 }, | 743 }, |
| 744 { | 744 { |
| 745 "name": "clearDeviceMetricsOverride", | 745 "name": "clearDeviceMetricsOverride", |
| 746 "description": "Clears the overriden device metrics.", | 746 "description": "Clears the overriden device metrics.", |
| 747 "handlers": ["browser"] | 747 "handlers": ["browser"] |
| 748 }, | 748 }, |
| 749 { | 749 { |
| 750 "name": "setVisualTransformOverride", | |
|
dgozman
2016/08/18 20:11:10
The overall approach sounds good, but I think we s
Eric Seckler
2016/08/18 22:04:28
Hmm, the current parameters in the device metrics
| |
| 751 "description": "Overrides the visible area of the page in the fr ame. In effect, moves the specified area of the page into the top-left corner of the frame.", | |
| 752 "parameters": [ | |
| 753 { "name": "x", "type": "number", "description": "X coordinat e of top-left corner of the area (CSS pixels)." }, | |
| 754 { "name": "y", "type": "number", "description": "Y coordinat e of top-left corner of the area (CSS pixels)." }, | |
| 755 { "name": "width", "type": "number", "description": "Width o f the area (CSS pixels)." }, | |
|
dgozman
2016/08/18 20:11:10
So, these are here only for optimization purpose?
Eric Seckler
2016/08/18 22:04:28
We only use them to specify the interest area for
| |
| 756 { "name": "height", "type": "number", "description": "Height of the area (CSS pixels)." }, | |
| 757 { "name": "scale", "type": "number", "optional": true, "desc ription": "Scale to apply to the selected area (default 1.0)." } | |
| 758 ] | |
| 759 }, | |
| 760 { | |
| 761 "name": "clearVisualTransformOverride", | |
| 762 "description": "Clears any active visual transform override." | |
| 763 }, | |
| 764 { | |
| 750 "name": "resetPageScaleFactor", | 765 "name": "resetPageScaleFactor", |
| 751 "description": "Requests that page scale factor is reset to init ial values." | 766 "description": "Requests that page scale factor is reset to init ial values." |
| 752 }, | 767 }, |
| 753 { | 768 { |
| 754 "name": "setPageScaleFactor", | 769 "name": "setPageScaleFactor", |
| 755 "description": "Sets a specified page scale factor.", | 770 "description": "Sets a specified page scale factor.", |
| 756 "parameters": [ | 771 "parameters": [ |
| 757 { "name": "pageScaleFactor", "type": "number", "description" : "Page scale factor." } | 772 { "name": "pageScaleFactor", "type": "number", "description" : "Page scale factor." } |
| 758 ] | 773 ] |
| 759 }, | 774 }, |
| (...skipping 3723 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.", | 4498 "description": "Informs that port was successfully bound and got a specified connection id.", |
| 4484 "parameters": [ | 4499 "parameters": [ |
| 4485 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4500 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
| 4486 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4501 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
| 4487 ], | 4502 ], |
| 4488 "handlers": ["browser"] | 4503 "handlers": ["browser"] |
| 4489 } | 4504 } |
| 4490 ] | 4505 ] |
| 4491 }] | 4506 }] |
| 4492 } | 4507 } |
| OLD | NEW |