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

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

Issue 2848653003: Add a DevTools command to create an isolated world for a given frame (Closed)
Patch Set: Rebased Created 3 years, 7 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": "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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 }, 513 },
514 { 514 {
515 "name": "getLayoutMetrics", 515 "name": "getLayoutMetrics",
516 "description": "Returns metrics relating to the layouting of the page, such as viewport bounds/scale.", 516 "description": "Returns metrics relating to the layouting of the page, such as viewport bounds/scale.",
517 "experimental": true, 517 "experimental": true,
518 "returns": [ 518 "returns": [
519 { "name": "layoutViewport", "$ref": "LayoutViewport", "descr iption": "Metrics relating to the layout viewport." }, 519 { "name": "layoutViewport", "$ref": "LayoutViewport", "descr iption": "Metrics relating to the layout viewport." },
520 { "name": "visualViewport", "$ref": "VisualViewport", "descr iption": "Metrics relating to the visual viewport." }, 520 { "name": "visualViewport", "$ref": "VisualViewport", "descr iption": "Metrics relating to the visual viewport." },
521 { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."} 521 { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."}
522 ] 522 ]
523 },
524 {
525 "name": "createIsolatedWorld",
526 "description": "Creates an isolated world for the given frame.",
527 "experimental": true,
528 "parameters": [
529 { "name": "frameId", "$ref": "FrameId", "description": "Id o f the frame in which the isolated world should be created." },
530 { "name": "worldName", "type": "string", "optional": true, " description": "An optional name which is reported in the Execution Context." },
531 { "name": "grantUniveralAccess", "type": "boolean", "optiona l": true, "description": "Whether or not universal access should be granted to t he isolated world. This is a powerful option, use with caution." }
532 ]
523 } 533 }
524 ], 534 ],
525 "events": [ 535 "events": [
526 { 536 {
527 "name": "domContentEventFired", 537 "name": "domContentEventFired",
528 "parameters": [ 538 "parameters": [
529 { "name": "timestamp", "type": "number" } 539 { "name": "timestamp", "type": "number" }
530 ] 540 ]
531 }, 541 },
532 { 542 {
(...skipping 4129 matching lines...) Expand 10 before | Expand all | Expand 10 after
4662 "parameters": [ 4672 "parameters": [
4663 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4673 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4664 ], 4674 ],
4665 "returns": [ 4675 "returns": [
4666 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4676 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4667 ] 4677 ]
4668 } 4678 }
4669 ] 4679 ]
4670 }] 4680 }]
4671 } 4681 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698