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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 "id": "UsageItem", | 183 "id": "UsageItem", |
184 "type": "object", | 184 "type": "object", |
185 "description": "Usage information for a client and storage type"
, | 185 "description": "Usage information for a client and storage type"
, |
186 "properties": [ | 186 "properties": [ |
187 { "name": "id", "type": "string", "enum": ["filesystem", "da
tabase", "appcache", "indexeddatabase"], "description": "Item id." }, | 187 { "name": "id", "type": "string", "enum": ["filesystem", "da
tabase", "appcache", "indexeddatabase"], "description": "Item id." }, |
188 { "name": "value", "type": "number", "description": "Item us
age value." } | 188 { "name": "value", "type": "number", "description": "Item us
age value." } |
189 ], | 189 ], |
190 "hidden": true | 190 "hidden": true |
191 }, | 191 }, |
192 { | 192 { |
| 193 "id": "Viewport", |
| 194 "type": "object", |
| 195 "description": "Visible page viewport", |
| 196 "properties": [ |
| 197 { "name": "scrollX", "type": "number", "description": "X scr
oll offset in CSS pixels." }, |
| 198 { "name": "scrollY", "type": "number", "description": "Y scr
oll offset in CSS pixels." }, |
| 199 { "name": "contentsWidth", "type": "number", "description":
"Contents width in CSS pixels." }, |
| 200 { "name": "contentsHeight", "type": "number", "description":
"Contents height in CSS pixels." }, |
| 201 { "name": "pageScaleFactor", "type": "number", "description"
: "Page scale factor." } |
| 202 ], |
| 203 "hidden": true |
| 204 }, |
| 205 { |
193 "id": "ScreencastFrameMetadata", | 206 "id": "ScreencastFrameMetadata", |
194 "type": "object", | 207 "type": "object", |
195 "description": "Screencast frame metadata", | 208 "description": "Screencast frame metadata", |
196 "properties": [ | 209 "properties": [ |
197 { "name": "deviceScaleFactor", "type": "number", "hidden": t
rue, "description": "Device scale factor." }, | 210 { "name": "deviceScaleFactor", "type": "number", "hidden": t
rue, "description": "Device scale factor." }, |
198 { "name": "viewport", "$ref": "DOM.Rect", "hidden": true, "d
escription": "Viewport in CSS pixels." }, | 211 { "name": "viewport", "$ref": "DOM.Rect", "hidden": true, "d
escription": "Viewport in CSS pixels." }, |
199 { "name": "offsetTop", "type": "number", "hidden": true, "op
tional": true, "description": "Top offset in DIP." }, | 212 { "name": "offsetTop", "type": "number", "hidden": true, "op
tional": true, "description": "Top offset in DIP." }, |
200 { "name": "offsetBottom", "type": "number", "hidden": true,
"optional": true, "description": "Bottom offset in DIP." }, | 213 { "name": "offsetBottom", "type": "number", "hidden": true,
"optional": true, "description": "Bottom offset in DIP." }, |
201 { "name": "pageScaleFactor", "type": "number", "hidden": tru
e, "description": "Page scale factor." }, | 214 { "name": "pageScaleFactor", "type": "number", "hidden": tru
e, "description": "Page scale factor." }, |
202 { "name": "pageScaleFactorMin", "type": "number", "hidden":
true, "description": "Page scale factor min." }, | 215 { "name": "pageScaleFactorMin", "type": "number", "hidden":
true, "description": "Page scale factor min." }, |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 "handlers": ["browser"] | 654 "handlers": ["browser"] |
642 }, | 655 }, |
643 { | 656 { |
644 "name": "screencastVisibilityChanged", | 657 "name": "screencastVisibilityChanged", |
645 "description": "Fired when the page with currently enabled scree
ncast was shown or hidden </code>.", | 658 "description": "Fired when the page with currently enabled scree
ncast was shown or hidden </code>.", |
646 "parameters": [ | 659 "parameters": [ |
647 { "name": "visible", "type": "boolean", "description": "True
if the page is visible." } | 660 { "name": "visible", "type": "boolean", "description": "True
if the page is visible." } |
648 ], | 661 ], |
649 "hidden": true, | 662 "hidden": true, |
650 "handlers": ["browser"] | 663 "handlers": ["browser"] |
| 664 }, |
| 665 { |
| 666 "name": "viewportChanged", |
| 667 "description": "Fired when a visible page viewport has changed."
, |
| 668 "parameters": [ |
| 669 { "name": "viewport", "$ref": "Viewport", "description": "Vi
ewport description." } |
| 670 ], |
| 671 "hidden": true |
651 } | 672 } |
652 ] | 673 ] |
653 }, | 674 }, |
654 { | 675 { |
655 "domain": "Runtime", | 676 "domain": "Runtime", |
656 "description": "Runtime domain exposes JavaScript runtime by means of re
mote evaluation and mirror objects. Evaluation results are returned as mirror ob
ject that expose object type, string representation and unique identifier that c
an be used for further object reference. Original objects are maintained in memo
ry unless they are either explicitly released or are released along with the oth
er objects in their object group.", | 677 "description": "Runtime domain exposes JavaScript runtime by means of re
mote evaluation and mirror objects. Evaluation results are returned as mirror ob
ject that expose object type, string representation and unique identifier that c
an be used for further object reference. Original objects are maintained in memo
ry unless they are either explicitly released or are released along with the oth
er objects in their object group.", |
657 "types": [ | 678 "types": [ |
658 { | 679 { |
659 "id": "RemoteObjectId", | 680 "id": "RemoteObjectId", |
660 "type": "string", | 681 "type": "string", |
(...skipping 3546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4207 { | 4228 { |
4208 "name": "dataAvailable", | 4229 "name": "dataAvailable", |
4209 "parameters": [ | 4230 "parameters": [ |
4210 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4231 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4211 ], | 4232 ], |
4212 "handlers": ["browser", "frontend"] | 4233 "handlers": ["browser", "frontend"] |
4213 } | 4234 } |
4214 ] | 4235 ] |
4215 }] | 4236 }] |
4216 } | 4237 } |
OLD | NEW |