Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
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": "setCompositedAreaOverride",
Sami 2016/08/11 10:09:07 Alternative name idea: setVisibleAreaOverride Not
Eric Seckler 2016/08/11 11:34:45 Renamed to VisualTransformOverride, Thanks!
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)." },
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": "clearCompositedAreaOverride",
762 "description": "Clears any active composited area 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 3697 matching lines...) Expand 10 before | Expand all | Expand 10 after
4457 "description": "Informs that port was successfully bound and got a specified connection id.", 4472 "description": "Informs that port was successfully bound and got a specified connection id.",
4458 "parameters": [ 4473 "parameters": [
4459 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4474 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4460 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4475 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4461 ], 4476 ],
4462 "handlers": ["browser"] 4477 "handlers": ["browser"]
4463 } 4478 }
4464 ] 4479 ]
4465 }] 4480 }]
4466 } 4481 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698