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

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

Issue 2819183002: [DevTools] Consolidate overlay-related functionality in Overlay domain (Closed)
Patch Set: rebased bad merge 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 }, 462 },
463 { 463 {
464 "name": "handleJavaScriptDialog", 464 "name": "handleJavaScriptDialog",
465 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).", 465 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).",
466 "parameters": [ 466 "parameters": [
467 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." }, 467 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." },
468 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." } 468 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." }
469 ] 469 ]
470 }, 470 },
471 { 471 {
472 "name": "configureOverlay",
473 "parameters": [
474 { "name": "suspended", "type": "boolean", "optional": true, "description": "Whether overlay should be suspended and not consume any resource s." },
475 { "name": "message", "type": "string", "optional": true, "de scription": "Overlay message to display." }
476 ],
477 "experimental": true,
478 "description": "Configures overlay."
479 },
480 {
481 "name": "getAppManifest", 472 "name": "getAppManifest",
482 "experimental": true, 473 "experimental": true,
483 "returns": [ 474 "returns": [
484 { "name": "url", "type": "string", "description": "Manifest location." }, 475 { "name": "url", "type": "string", "description": "Manifest location." },
485 { "name": "errors", "type": "array", "items": { "$ref": "App ManifestError" } }, 476 { "name": "errors", "type": "array", "items": { "$ref": "App ManifestError" } },
486 { "name": "data", "type": "string", "optional": true, "descr iption": "Manifest content." } 477 { "name": "data", "type": "string", "optional": true, "descr iption": "Manifest content." }
487 ] 478 ]
488 }, 479 },
489 { 480 {
490 "name": "requestAppBanner", 481 "name": "requestAppBanner",
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 "parameters": [ 629 "parameters": [
639 { "name": "isInMainFrame", "type": "boolean", "description": "Whether the navigation is taking place in the main frame or in a subframe." }, 630 { "name": "isInMainFrame", "type": "boolean", "description": "Whether the navigation is taking place in the main frame or in a subframe." },
640 { "name": "isRedirect", "type": "boolean", "description": "W hether the navigation has encountered a server redirect or not." }, 631 { "name": "isRedirect", "type": "boolean", "description": "W hether the navigation has encountered a server redirect or not." },
641 { "name": "navigationId", "type": "integer" }, 632 { "name": "navigationId", "type": "integer" },
642 { "name": "url", "type": "string", "description": "URL of re quested navigation." } 633 { "name": "url", "type": "string", "description": "URL of re quested navigation." }
643 ] 634 ]
644 } 635 }
645 ] 636 ]
646 }, 637 },
647 { 638 {
648 "domain": "Rendering", 639 "domain": "Overlay",
649 "description": "This domain allows to control rendering of the page.", 640 "description": "This domain provides various functionality related to dr awing atop the inspected page.",
641 "dependencies": ["DOM", "Page", "Runtime"],
650 "experimental": true, 642 "experimental": true,
643 "types": [
644 {
645 "id": "HighlightConfig",
646 "type": "object",
647 "properties": [
648 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." },
649 { "name": "showRulers", "type": "boolean", "optional": true, "description": "Whether the rulers should be shown (default: false)." },
650 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." },
651 { "name": "displayAsMaterial", "type": "boolean", "optional" : true},
652 { "name": "contentColor", "$ref": "DOM.RGBA", "optional": tr ue, "description": "The content box highlight fill color (default: transparent). " },
653 { "name": "paddingColor", "$ref": "DOM.RGBA", "optional": tr ue, "description": "The padding highlight fill color (default: transparent)." },
654 { "name": "borderColor", "$ref": "DOM.RGBA", "optional": tru e, "description": "The border highlight fill color (default: transparent)." },
655 { "name": "marginColor", "$ref": "DOM.RGBA", "optional": tru e, "description": "The margin highlight fill color (default: transparent)." },
656 { "name": "eventTargetColor", "$ref": "DOM.RGBA", "optional" : true, "description": "The event target element highlight fill color (default: transparent)." },
657 { "name": "shapeColor", "$ref": "DOM.RGBA", "optional": true , "description": "The shape outside fill color (default: transparent)." },
658 { "name": "shapeMarginColor", "$ref": "DOM.RGBA", "optional" : true, "description": "The shape margin fill color (default: transparent)." },
659 { "name": "selectorList", "type": "string", "optional": true , "description": "Selectors to highlight relevant nodes."}
660 ],
661 "description": "Configuration data for the highlighting of page elements."
662 },
663 {
664 "id": "InspectMode",
665 "type": "string",
666 "enum": [
667 "searchForNode",
668 "searchForUAShadowDOM",
669 "none"
670 ]
671 }
672 ],
651 "commands": [ 673 "commands": [
652 { 674 {
675 "name": "enable",
676 "description": "Enables domain notifications."
677 },
678 {
679 "name": "disable",
680 "description": "Disables domain notifications."
681 },
682 {
653 "name": "setShowPaintRects", 683 "name": "setShowPaintRects",
654 "description": "Requests that backend shows paint rectangles", 684 "description": "Requests that backend shows paint rectangles",
655 "parameters": [ 685 "parameters": [
656 { "name": "result", "type": "boolean", "description": "True for showing paint rectangles" } 686 { "name": "result", "type": "boolean", "description": "True for showing paint rectangles" }
657 ] 687 ]
658 }, 688 },
659 { 689 {
660 "name": "setShowDebugBorders", 690 "name": "setShowDebugBorders",
661 "description": "Requests that backend shows debug borders on lay ers", 691 "description": "Requests that backend shows debug borders on lay ers",
662 "parameters": [ 692 "parameters": [
(...skipping 13 matching lines...) Expand all
676 "parameters": [ 706 "parameters": [
677 { "name": "show", "type": "boolean", "description": "True fo r showing scroll bottleneck rects" } 707 { "name": "show", "type": "boolean", "description": "True fo r showing scroll bottleneck rects" }
678 ] 708 ]
679 }, 709 },
680 { 710 {
681 "name": "setShowViewportSizeOnResize", 711 "name": "setShowViewportSizeOnResize",
682 "description": "Paints viewport size upon main frame resize.", 712 "description": "Paints viewport size upon main frame resize.",
683 "parameters": [ 713 "parameters": [
684 { "name": "show", "type": "boolean", "description": "Whether to paint size or not." } 714 { "name": "show", "type": "boolean", "description": "Whether to paint size or not." }
685 ] 715 ]
716 },
717 {
718 "name": "setPausedInDebuggerMessage",
719 "parameters": [
720 { "name": "message", "type": "string", "optional": true, "de scription": "The message to display, also triggers resume and step over controls ." }
721 ]
722 },
723 {
724 "name": "setSuspended",
725 "parameters": [
726 { "name": "suspended", "type": "boolean", "description": "Wh ether overlay should be suspended and not consume any resources until resumed." }
727 ]
728 },
729 {
730 "name": "setInspectMode",
731 "description": "Enters the 'inspect' mode. In this mode, element s that user is hovering over are highlighted. Backend then generates 'inspectNod eRequested' event upon element selection.",
732 "parameters": [
733 { "name": "mode", "$ref": "InspectMode", "description": "Set an inspection mode." },
734 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt ional": true, "description": "A descriptor for the highlight appearance of hover ed-over nodes. May be omitted if <code>enabled == false</code>." }
735 ]
736 },
737 {
738 "name": "highlightRect",
739 "description": "Highlights given rectangle. Coordinates are abso lute with respect to the main frame viewport.",
740 "parameters": [
741 { "name": "x", "type": "integer", "description": "X coordina te" },
742 { "name": "y", "type": "integer", "description": "Y coordina te" },
743 { "name": "width", "type": "integer", "description": "Rectan gle width" },
744 { "name": "height", "type": "integer", "description": "Recta ngle height" },
745 { "name": "color", "$ref": "DOM.RGBA", "optional": true, "de scription": "The highlight fill color (default: transparent)." },
746 { "name": "outlineColor", "$ref": "DOM.RGBA", "optional": tr ue, "description": "The highlight outline color (default: transparent)." }
747 ]
748 },
749 {
750 "name": "highlightQuad",
751 "description": "Highlights given quad. Coordinates are absolute with respect to the main frame viewport.",
752 "parameters": [
753 { "name": "quad", "$ref": "DOM.Quad", "description": "Quad t o highlight" },
754 { "name": "color", "$ref": "DOM.RGBA", "optional": true, "de scription": "The highlight fill color (default: transparent)." },
755 { "name": "outlineColor", "$ref": "DOM.RGBA", "optional": tr ue, "description": "The highlight outline color (default: transparent)." }
756 ]
757 },
758 {
759 "name": "highlightNode",
760 "description": "Highlights DOM node with given id or with the gi ven JavaScript object wrapper. Either nodeId or objectId must be specified.",
761 "parameters": [
762 { "name": "highlightConfig", "$ref": "HighlightConfig", "de scription": "A descriptor for the highlight appearance." },
763 { "name": "nodeId", "$ref": "DOM.NodeId", "optional": true, "description": "Identifier of the node to highlight." },
764 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "opt ional": true, "description": "Identifier of the backend node to highlight." },
765 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "opt ional": true, "description": "JavaScript object id of the node to be highlighted ." }
766 ]
767 },
768 {
769 "name": "highlightFrame",
770 "description": "Highlights owner element of the frame with given id.",
771 "parameters": [
772 { "name": "frameId", "$ref": "Page.FrameId", "description": "Identifier of the frame to highlight." },
773 { "name": "contentColor", "$ref": "DOM.RGBA", "optional": tr ue, "description": "The content box highlight fill color (default: transparent). " },
774 { "name": "contentOutlineColor", "$ref": "DOM.RGBA", "option al": true, "description": "The content box highlight outline color (default: tra nsparent)." }
775 ]
776 },
777 {
778 "name": "hideHighlight",
779 "description": "Hides any highlight."
780 },
781 {
782 "name": "getHighlightObjectForTest",
783 "description": "For testing.",
784 "parameters": [
785 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get highlight object for." }
786 ],
787 "returns": [
788 { "name": "highlight", "type": "object", "description": "Hig hlight data for the node." }
789 ]
790 }
791 ],
792 "events": [
793 {
794 "name": "nodeHighlightRequested",
795 "description": "Fired when the node should be highlighted. This happens after call to <code>setInspectMode</code>.",
796 "parameters": [
797 { "name": "nodeId", "$ref": "DOM.NodeId" }
798 ]
799 },
800 {
801 "name": "inspectNodeRequested",
802 "description": "Fired when the node should be inspected. This ha ppens after call to <code>setInspectMode</code> or when user manually inspects a n element.",
803 "parameters": [
804 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des cription": "Id of the node to inspect." }
805 ]
686 } 806 }
687 ] 807 ]
688 }, 808 },
689 { 809 {
690 "domain": "Emulation", 810 "domain": "Emulation",
691 "description": "This domain emulates different environments for the page .", 811 "description": "This domain emulates different environments for the page .",
692 "dependencies": ["DOM"], 812 "dependencies": ["DOM"],
693 "types": [ 813 "types": [
694 { 814 {
695 "id": "ScreenOrientation", 815 "id": "ScreenOrientation",
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
2131 "id": "Rect", 2251 "id": "Rect",
2132 "type": "object", 2252 "type": "object",
2133 "experimental": true, 2253 "experimental": true,
2134 "properties": [ 2254 "properties": [
2135 { "name": "x", "type": "number", "description": "X coordinat e" }, 2255 { "name": "x", "type": "number", "description": "X coordinat e" },
2136 { "name": "y", "type": "number", "description": "Y coordinat e" }, 2256 { "name": "y", "type": "number", "description": "Y coordinat e" },
2137 { "name": "width", "type": "number", "description": "Rectang le width" }, 2257 { "name": "width", "type": "number", "description": "Rectang le width" },
2138 { "name": "height", "type": "number", "description": "Rectan gle height" } 2258 { "name": "height", "type": "number", "description": "Rectan gle height" }
2139 ], 2259 ],
2140 "description": "Rectangle." 2260 "description": "Rectangle."
2141 },
2142 {
2143 "id": "HighlightConfig",
2144 "type": "object",
2145 "properties": [
2146 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." },
2147 { "name": "showRulers", "type": "boolean", "optional": true, "description": "Whether the rulers should be shown (default: false)." },
2148 { "name": "showExtensionLines", "type": "boolean", "optional ": true, "description": "Whether the extension lines from node to the rulers sho uld be shown (default: false)." },
2149 { "name": "displayAsMaterial", "type": "boolean", "optional" : true, "experimental": true},
2150 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." },
2151 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." },
2152 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." },
2153 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." },
2154 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "experimental": true, "description": "The event target element highlight fil l color (default: transparent)." },
2155 { "name": "shapeColor", "$ref": "RGBA", "optional": true, "e xperimental": true, "description": "The shape outside fill color (default: trans parent)." },
2156 { "name": "shapeMarginColor", "$ref": "RGBA", "optional": tr ue, "experimental": true, "description": "The shape margin fill color (default: transparent)." },
2157 { "name": "selectorList", "type": "string", "optional": true , "description": "Selectors to highlight relevant nodes."}
2158 ],
2159 "description": "Configuration data for the highlighting of page elements."
2160 },
2161 {
2162 "id": "InspectMode",
2163 "type": "string",
2164 "experimental": true,
2165 "enum": [
2166 "searchForNode",
2167 "searchForUAShadowDOM",
2168 "none"
2169 ]
2170 } 2261 }
2171 ], 2262 ],
2172 "commands": [ 2263 "commands": [
2173 { 2264 {
2174 "name": "enable", 2265 "name": "enable",
2175 "description": "Enables DOM agent for the given page." 2266 "description": "Enables DOM agent for the given page."
2176 }, 2267 },
2177 { 2268 {
2178 "name": "disable", 2269 "name": "disable",
2179 "description": "Disables DOM agent for the given page." 2270 "description": "Disables DOM agent for the given page."
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2350 "name": "requestNode", 2441 "name": "requestNode",
2351 "parameters": [ 2442 "parameters": [
2352 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "JavaScript object id to convert into node." } 2443 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "JavaScript object id to convert into node." }
2353 ], 2444 ],
2354 "returns": [ 2445 "returns": [
2355 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } 2446 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." }
2356 ], 2447 ],
2357 "description": "Requests that the node is sent to the caller giv en the JavaScript node object reference. All nodes that form the path from the n ode to the root are also sent to the client as a series of <code>setChildNodes</ code> notifications." 2448 "description": "Requests that the node is sent to the caller giv en the JavaScript node object reference. All nodes that form the path from the n ode to the root are also sent to the client as a series of <code>setChildNodes</ code> notifications."
2358 }, 2449 },
2359 { 2450 {
2360 "name": "setInspectMode",
2361 "experimental": true,
2362 "parameters": [
2363 { "name": "mode", "$ref": "InspectMode", "description": "Set an inspection mode." },
2364 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt ional": true, "description": "A descriptor for the highlight appearance of hover ed-over nodes. May be omitted if <code>enabled == false</code>." }
2365 ],
2366 "description": "Enters the 'inspect' mode. In this mode, element s that user is hovering over are highlighted. Backend then generates 'inspectNod eRequested' event upon element selection."
2367 },
2368 {
2369 "name": "highlightRect", 2451 "name": "highlightRect",
2370 "parameters": [ 2452 "description": "Highlights given rectangle.",
2371 { "name": "x", "type": "integer", "description": "X coordina te" }, 2453 "redirect": "Overlay"
2372 { "name": "y", "type": "integer", "description": "Y coordina te" },
2373 { "name": "width", "type": "integer", "description": "Rectan gle width" },
2374 { "name": "height", "type": "integer", "description": "Recta ngle height" },
2375 { "name": "color", "$ref": "RGBA", "optional": true, "descri ption": "The highlight fill color (default: transparent)." },
2376 { "name": "outlineColor", "$ref": "RGBA", "optional": true, "description": "The highlight outline color (default: transparent)." }
2377 ],
2378 "description": "Highlights given rectangle. Coordinates are abso lute with respect to the main frame viewport."
2379 },
2380 {
2381 "name": "highlightQuad",
2382 "parameters": [
2383 { "name": "quad", "$ref": "Quad", "description": "Quad to hi ghlight" },
2384 { "name": "color", "$ref": "RGBA", "optional": true, "descri ption": "The highlight fill color (default: transparent)." },
2385 { "name": "outlineColor", "$ref": "RGBA", "optional": true, "description": "The highlight outline color (default: transparent)." }
2386 ],
2387 "description": "Highlights given quad. Coordinates are absolute with respect to the main frame viewport.",
2388 "experimental": true
2389 }, 2454 },
2390 { 2455 {
2391 "name": "highlightNode", 2456 "name": "highlightNode",
2392 "parameters": [ 2457 "description": "Highlights DOM node.",
2393 { "name": "highlightConfig", "$ref": "HighlightConfig", "de scription": "A descriptor for the highlight appearance." }, 2458 "redirect": "Overlay"
2394 { "name": "nodeId", "$ref": "NodeId", "optional": true, "des cription": "Identifier of the node to highlight." },
2395 { "name": "backendNodeId", "$ref": "BackendNodeId", "optiona l": true, "description": "Identifier of the backend node to highlight." },
2396 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "opt ional": true, "description": "JavaScript object id of the node to be highlighted .", "experimental": true }
2397 ],
2398 "description": "Highlights DOM node with given id or with the gi ven JavaScript object wrapper. Either nodeId or objectId must be specified."
2399 }, 2459 },
2400 { 2460 {
2401 "name": "hideHighlight", 2461 "name": "hideHighlight",
2402 "description": "Hides DOM node highlight." 2462 "description": "Hides any highlight.",
2403 }, 2463 "redirect": "Overlay"
2404 {
2405 "name": "highlightFrame",
2406 "parameters": [
2407 { "name": "frameId", "$ref": "Page.FrameId", "description": "Identifier of the frame to highlight." },
2408 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." },
2409 { "name": "contentOutlineColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight outline color (default: transpa rent)." }
2410 ],
2411 "description": "Highlights owner element of the frame with given id.",
2412 "experimental": true
2413 }, 2464 },
2414 { 2465 {
2415 "name": "pushNodeByPathToFrontend", 2466 "name": "pushNodeByPathToFrontend",
2416 "parameters": [ 2467 "parameters": [
2417 { "name": "path", "type": "string", "description": "Path to node in the proprietary format." } 2468 { "name": "path", "type": "string", "description": "Path to node in the proprietary format." }
2418 ], 2469 ],
2419 "returns": [ 2470 "returns": [
2420 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." } 2471 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." }
2421 ], 2472 ],
2422 "description": "Requests that the node is sent to the caller giv en its path. // FIXME, use XPath", 2473 "description": "Requests that the node is sent to the caller giv en its path. // FIXME, use XPath",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2546 { 2597 {
2547 "name": "getRelayoutBoundary", 2598 "name": "getRelayoutBoundary",
2548 "parameters": [ 2599 "parameters": [
2549 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node." } 2600 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node." }
2550 ], 2601 ],
2551 "returns": [ 2602 "returns": [
2552 { "name": "nodeId", "$ref": "NodeId", "description": "Relayo ut boundary node id for the given node." } 2603 { "name": "nodeId", "$ref": "NodeId", "description": "Relayo ut boundary node id for the given node." }
2553 ], 2604 ],
2554 "description": "Returns the id of the nearest ancestor that is a relayout boundary.", 2605 "description": "Returns the id of the nearest ancestor that is a relayout boundary.",
2555 "experimental": true 2606 "experimental": true
2556 },
2557 {
2558 "name": "getHighlightObjectForTest",
2559 "parameters": [
2560 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get highlight object for." }
2561 ],
2562 "returns": [
2563 { "name": "highlight", "type": "object", "description": "Hig hlight data for the node." }
2564 ],
2565 "description": "For testing.",
2566 "experimental": true
2567 } 2607 }
2568 ], 2608 ],
2569 "events": [ 2609 "events": [
2570 { 2610 {
2571 "name": "documentUpdated", 2611 "name": "documentUpdated",
2572 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid." 2612 "description": "Fired when <code>Document</code> has been totall y updated. Node ids are no longer valid."
2573 }, 2613 },
2574 { 2614 {
2575 "name": "inspectNodeRequested",
2576 "parameters": [
2577 { "name": "backendNodeId", "$ref": "BackendNodeId", "descrip tion": "Id of the node to inspect." }
2578 ],
2579 "description": "Fired when the node should be inspected. This ha ppens after call to <code>setInspectMode</code>.",
2580 "experimental" : true
2581 },
2582 {
2583 "name": "setChildNodes", 2615 "name": "setChildNodes",
2584 "parameters": [ 2616 "parameters": [
2585 { "name": "parentId", "$ref": "NodeId", "description": "Pare nt node id to populate with children." }, 2617 { "name": "parentId", "$ref": "NodeId", "description": "Pare nt node id to populate with children." },
2586 { "name": "nodes", "type": "array", "items": { "$ref": "Node " }, "description": "Child nodes array." } 2618 { "name": "nodes", "type": "array", "items": { "$ref": "Node " }, "description": "Child nodes array." }
2587 ], 2619 ],
2588 "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node i ds." 2620 "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node i ds."
2589 }, 2621 },
2590 { 2622 {
2591 "name": "attributeModified", 2623 "name": "attributeModified",
2592 "parameters": [ 2624 "parameters": [
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
2682 "experimental": true 2714 "experimental": true
2683 }, 2715 },
2684 { 2716 {
2685 "name": "distributedNodesUpdated", 2717 "name": "distributedNodesUpdated",
2686 "parameters": [ 2718 "parameters": [
2687 { "name": "insertionPointId", "$ref": "NodeId", "description ": "Insertion point where distrubuted nodes were updated." }, 2719 { "name": "insertionPointId", "$ref": "NodeId", "description ": "Insertion point where distrubuted nodes were updated." },
2688 { "name": "distributedNodes", "type": "array", "items": { "$ ref": "BackendNode" }, "description": "Distributed nodes for given insertion poi nt." } 2720 { "name": "distributedNodes", "type": "array", "items": { "$ ref": "BackendNode" }, "description": "Distributed nodes for given insertion poi nt." }
2689 ], 2721 ],
2690 "description": "Called when distrubution is changed.", 2722 "description": "Called when distrubution is changed.",
2691 "experimental": true 2723 "experimental": true
2692 },
2693 {
2694 "name": "nodeHighlightRequested",
2695 "parameters": [
2696 {"name": "nodeId", "$ref": "NodeId"}
2697 ],
2698 "experimental": true
2699 } 2724 }
2700 ] 2725 ]
2701 }, 2726 },
2702 { 2727 {
2703 "domain": "CSS", 2728 "domain": "CSS",
2704 "experimental": true, 2729 "experimental": true,
2705 "description": "This domain exposes CSS read/write operations. All CSS o bjects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su bsequently load the required stylesheet contents using the <code>getStyleSheet[T ext]()</code> methods.", 2730 "description": "This domain exposes CSS read/write operations. All CSS o bjects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su bsequently load the required stylesheet contents using the <code>getStyleSheet[T ext]()</code> methods.",
2706 "dependencies": ["DOM"], 2731 "dependencies": ["DOM"],
2707 "types": [ 2732 "types": [
2708 { 2733 {
(...skipping 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after
4624 "parameters": [ 4649 "parameters": [
4625 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4650 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4626 ], 4651 ],
4627 "returns": [ 4652 "returns": [
4628 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 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." }
4629 ] 4654 ]
4630 } 4655 }
4631 ] 4656 ]
4632 }] 4657 }]
4633 } 4658 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698