Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
| 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 500 }, | 500 }, |
| 501 { | 501 { |
| 502 "name": "getLayoutMetrics", | 502 "name": "getLayoutMetrics", |
| 503 "description": "Returns metrics relating to the layouting of the page, such as viewport bounds/scale.", | 503 "description": "Returns metrics relating to the layouting of the page, such as viewport bounds/scale.", |
| 504 "experimental": true, | 504 "experimental": true, |
| 505 "returns": [ | 505 "returns": [ |
| 506 { "name": "layoutViewport", "$ref": "LayoutViewport", "descr iption": "Metrics relating to the layout viewport." }, | 506 { "name": "layoutViewport", "$ref": "LayoutViewport", "descr iption": "Metrics relating to the layout viewport." }, |
| 507 { "name": "visualViewport", "$ref": "VisualViewport", "descr iption": "Metrics relating to the visual viewport." }, | 507 { "name": "visualViewport", "$ref": "VisualViewport", "descr iption": "Metrics relating to the visual viewport." }, |
| 508 { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."} | 508 { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."} |
| 509 ] | 509 ] |
| 510 }, | |
| 511 { | |
| 512 "name": "ensureIsolatedWorld", | |
| 513 "description": "Ensures an isolated world for the given frame ex ists,", | |
| 514 "experimental": true, | |
| 515 "parameters": [ | |
| 516 { "name": "frameId", "$ref": "FrameId", "description": "Id o f the frame in which the isolated world should be created." }, | |
| 517 { "name": "worldId", "type": "integer", "description": "Id o f the isolated world. Must be >= 1 and < 1<<29." }, | |
|
pfeldman
2017/04/27 19:25:42
I'd rather return the worldId.
Sami
2017/04/28 10:12:57
Yeah, that would make it easier for clients to cre
alex clarke (OOO till 29th)
2017/04/28 21:18:43
Done.
| |
| 518 { "name": "securityOrigin", "type": "string", "optional": tr ue, "description": "Associates the isolated world with a particular security ori gin." }, | |
|
pfeldman
2017/04/27 19:25:42
When is it is different from frame?
Sami
2017/04/28 10:12:57
Discussed offline that we probably want a bool ins
alex clarke (OOO till 29th)
2017/04/28 21:18:43
Done.
| |
| 519 { "name": "contentSecurityPolicy", "type": "string", "option al": true, "description": "Associates the isolated world with a particular Conte nt Security Policy." } | |
| 520 ] | |
| 510 } | 521 } |
| 511 ], | 522 ], |
| 512 "events": [ | 523 "events": [ |
| 513 { | 524 { |
| 514 "name": "domContentEventFired", | 525 "name": "domContentEventFired", |
| 515 "parameters": [ | 526 "parameters": [ |
| 516 { "name": "timestamp", "type": "number" } | 527 { "name": "timestamp", "type": "number" } |
| 517 ] | 528 ] |
| 518 }, | 529 }, |
| 519 { | 530 { |
| (...skipping 4129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4649 "parameters": [ | 4660 "parameters": [ |
| 4650 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } | 4661 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } |
| 4651 ], | 4662 ], |
| 4652 "returns": [ | 4663 "returns": [ |
| 4653 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } | 4664 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } |
| 4654 ] | 4665 ] |
| 4655 } | 4666 } |
| 4656 ] | 4667 ] |
| 4657 }] | 4668 }] |
| 4658 } | 4669 } |
| OLD | NEW |