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

Side by Side Diff: inspector/Inspector.json

Issue 13601015: Roll Blink IDLs forward. (Closed) Base URL: http://dart.googlecode.com/svn/third_party/WebCore/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « html/track/TextTrackCue.idl ('k') | inspector/InspectorFrontendHost.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "0" }, 2 "version": { "major": "1", "minor": "0" },
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 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 { 1708 {
1709 "domain": "DOM", 1709 "domain": "DOM",
1710 "description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <co de>id</code> can be used to get additional information on the Node, resolve it i nto the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It i s client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corres ponding document elements as their child nodes.</p>", 1710 "description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <co de>id</code> can be used to get additional information on the Node, resolve it i nto the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It i s client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corres ponding document elements as their child nodes.</p>",
1711 "types": [ 1711 "types": [
1712 { 1712 {
1713 "id": "NodeId", 1713 "id": "NodeId",
1714 "type": "integer", 1714 "type": "integer",
1715 "description": "Unique DOM node identifier." 1715 "description": "Unique DOM node identifier."
1716 }, 1716 },
1717 { 1717 {
1718 "id": "BackendNodeId",
1719 "type": "integer",
1720 "description": "Unique DOM node identifier used to reference a n ode that may not have been pushed to the front-end.",
1721 "hidden": true
1722 },
1723 {
1718 "id": "Node", 1724 "id": "Node",
1719 "type": "object", 1725 "type": "object",
1720 "properties": [ 1726 "properties": [
1721 { "name": "nodeId", "$ref": "NodeId", "description": "Node i dentifier that is passed into the rest of the DOM messages as the <code>nodeId</ code>. Backend will only push node with given <code>id</code> once. It is aware of all requested nodes and will only fire DOM events for nodes known to the clie nt." }, 1727 { "name": "nodeId", "$ref": "NodeId", "description": "Node i dentifier that is passed into the rest of the DOM messages as the <code>nodeId</ code>. Backend will only push node with given <code>id</code> once. It is aware of all requested nodes and will only fire DOM events for nodes known to the clie nt." },
1722 { "name": "nodeType", "type": "integer", "description": "<co de>Node</code>'s nodeType." }, 1728 { "name": "nodeType", "type": "integer", "description": "<co de>Node</code>'s nodeType." },
1723 { "name": "nodeName", "type": "string", "description": "<cod e>Node</code>'s nodeName." }, 1729 { "name": "nodeName", "type": "string", "description": "<cod e>Node</code>'s nodeName." },
1724 { "name": "localName", "type": "string", "description": "<co de>Node</code>'s localName." }, 1730 { "name": "localName", "type": "string", "description": "<co de>Node</code>'s localName." },
1725 { "name": "nodeValue", "type": "string", "description": "<co de>Node</code>'s nodeValue." }, 1731 { "name": "nodeValue", "type": "string", "description": "<co de>Node</code>'s nodeValue." },
1726 { "name": "childNodeCount", "type": "integer", "optional": t rue, "description": "Child count for <code>Container</code> nodes." }, 1732 { "name": "childNodeCount", "type": "integer", "optional": t rue, "description": "Child count for <code>Container</code> nodes." },
1727 { "name": "children", "type": "array", "optional": true, "it ems": { "$ref": "Node" }, "description": "Child nodes of this node when requeste d with children." }, 1733 { "name": "children", "type": "array", "optional": true, "it ems": { "$ref": "Node" }, "description": "Child nodes of this node when requeste d with children." },
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 "type": "object", 1768 "type": "object",
1763 "properties": [ 1769 "properties": [
1764 { "name": "r", "type": "integer", "description": "The red co mponent, in the [0-255] range." }, 1770 { "name": "r", "type": "integer", "description": "The red co mponent, in the [0-255] range." },
1765 { "name": "g", "type": "integer", "description": "The green component, in the [0-255] range." }, 1771 { "name": "g", "type": "integer", "description": "The green component, in the [0-255] range." },
1766 { "name": "b", "type": "integer", "description": "The blue c omponent, in the [0-255] range." }, 1772 { "name": "b", "type": "integer", "description": "The blue c omponent, in the [0-255] range." },
1767 { "name": "a", "type": "number", "optional": true, "descript ion": "The alpha component, in the [0-1] range (default: 1)." } 1773 { "name": "a", "type": "number", "optional": true, "descript ion": "The alpha component, in the [0-1] range (default: 1)." }
1768 ], 1774 ],
1769 "description": "A structure holding an RGBA color." 1775 "description": "A structure holding an RGBA color."
1770 }, 1776 },
1771 { 1777 {
1778 "id": "Quad",
1779 "type": "array",
1780 "items": { "type": "number" },
1781 "minItems": 8,
1782 "maxItems": 8,
1783 "description": "An array of quad vertices, x immediately followe d by y for each point, points clock-wise."
1784 },
1785 {
1772 "id": "HighlightConfig", 1786 "id": "HighlightConfig",
1773 "type": "object", 1787 "type": "object",
1774 "properties": [ 1788 "properties": [
1775 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." }, 1789 { "name": "showInfo", "type": "boolean", "optional": true, " description": "Whether the node info tooltip should be shown (default: false)." },
1776 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." }, 1790 { "name": "contentColor", "$ref": "RGBA", "optional": true, "description": "The content box highlight fill color (default: transparent)." },
1777 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, 1791 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." },
1778 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, 1792 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." },
1779 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." } 1793 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }
1780 ], 1794 ],
1781 "description": "Configuration data for the highlighting of page elements." 1795 "description": "Configuration data for the highlighting of page elements."
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1959 { "name": "x", "type": "integer", "description": "X coordina te" }, 1973 { "name": "x", "type": "integer", "description": "X coordina te" },
1960 { "name": "y", "type": "integer", "description": "Y coordina te" }, 1974 { "name": "y", "type": "integer", "description": "Y coordina te" },
1961 { "name": "width", "type": "integer", "description": "Rectan gle width" }, 1975 { "name": "width", "type": "integer", "description": "Rectan gle width" },
1962 { "name": "height", "type": "integer", "description": "Recta ngle height" }, 1976 { "name": "height", "type": "integer", "description": "Recta ngle height" },
1963 { "name": "color", "$ref": "RGBA", "optional": true, "descri ption": "The highlight fill color (default: transparent)." }, 1977 { "name": "color", "$ref": "RGBA", "optional": true, "descri ption": "The highlight fill color (default: transparent)." },
1964 { "name": "outlineColor", "$ref": "RGBA", "optional": true, "description": "The highlight outline color (default: transparent)." } 1978 { "name": "outlineColor", "$ref": "RGBA", "optional": true, "description": "The highlight outline color (default: transparent)." }
1965 ], 1979 ],
1966 "description": "Highlights given rectangle. Coordinates are abso lute with respect to the main frame viewport." 1980 "description": "Highlights given rectangle. Coordinates are abso lute with respect to the main frame viewport."
1967 }, 1981 },
1968 { 1982 {
1983 "name": "highlightQuad",
1984 "parameters": [
1985 { "name": "quad", "$ref": "Quad", "description": "Quad to hi ghlight" },
1986 { "name": "color", "$ref": "RGBA", "optional": true, "descri ption": "The highlight fill color (default: transparent)." },
1987 { "name": "outlineColor", "$ref": "RGBA", "optional": true, "description": "The highlight outline color (default: transparent)." }
1988 ],
1989 "description": "Highlights given quad. Coordinates are absolute with respect to the main frame viewport."
1990 },
1991 {
1969 "name": "highlightNode", 1992 "name": "highlightNode",
1970 "parameters": [ 1993 "parameters": [
1971 { "name": "highlightConfig", "$ref": "HighlightConfig", "de scription": "A descriptor for the highlight appearance." }, 1994 { "name": "highlightConfig", "$ref": "HighlightConfig", "de scription": "A descriptor for the highlight appearance." },
1972 { "name": "nodeId", "$ref": "NodeId", "optional": true, "des cription": "Identifier of the node to highlight." }, 1995 { "name": "nodeId", "$ref": "NodeId", "optional": true, "des cription": "Identifier of the node to highlight." },
1973 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "opt ional": true, "description": "JavaScript object id of the node to be highlighted .", "hidden": true } 1996 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "opt ional": true, "description": "JavaScript object id of the node to be highlighted .", "hidden": true }
1974 ], 1997 ],
1975 "description": "Highlights DOM node with given id or with the gi ven JavaScript object wrapper. Either nodeId or objectId must be specified." 1998 "description": "Highlights DOM node with given id or with the gi ven JavaScript object wrapper. Either nodeId or objectId must be specified."
1976 }, 1999 },
1977 { 2000 {
1978 "name": "hideHighlight", 2001 "name": "hideHighlight",
(...skipping 14 matching lines...) Expand all
1993 "parameters": [ 2016 "parameters": [
1994 { "name": "path", "type": "string", "description": "Path to node in the proprietary format." } 2017 { "name": "path", "type": "string", "description": "Path to node in the proprietary format." }
1995 ], 2018 ],
1996 "returns": [ 2019 "returns": [
1997 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." } 2020 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node for given path." }
1998 ], 2021 ],
1999 "description": "Requests that the node is sent to the caller giv en its path. // FIXME, use XPath", 2022 "description": "Requests that the node is sent to the caller giv en its path. // FIXME, use XPath",
2000 "hidden": true 2023 "hidden": true
2001 }, 2024 },
2002 { 2025 {
2026 "name": "pushNodeByBackendIdToFrontend",
2027 "parameters": [
2028 { "name": "backendNodeId", "$ref": "BackendNodeId", "descrip tion": "The backend node id of the node." }
2029 ],
2030 "returns": [
2031 { "name": "nodeId", "$ref": "NodeId", "description": "The pu shed node's id." }
2032 ],
2033 "description": "Requests that the node is sent to the caller giv en its backend node id.",
2034 "hidden": true
2035 },
2036 {
2037 "name": "releaseBackendNodeIds",
2038 "parameters": [
2039 { "name": "nodeGroup", "type": "string", "description": "The backend node ids group name." }
2040 ],
2041 "description": "Requests that group of <code>BackendNodeIds</cod e> is released.",
2042 "hidden": true
2043 },
2044 {
2003 "name": "resolveNode", 2045 "name": "resolveNode",
2004 "parameters": [ 2046 "parameters": [
2005 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to resolve." }, 2047 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to resolve." },
2006 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." } 2048 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }
2007 ], 2049 ],
2008 "returns": [ 2050 "returns": [
2009 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "JavaScript object wrapper for given node." } 2051 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "JavaScript object wrapper for given node." }
2010 ], 2052 ],
2011 "description": "Resolves JavaScript node object for given node i d." 2053 "description": "Resolves JavaScript node object for given node i d."
2012 }, 2054 },
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 "description": "Fires when a Named Flow's layout may have change d.", 2633 "description": "Fires when a Named Flow's layout may have change d.",
2592 "hidden": true 2634 "hidden": true
2593 } 2635 }
2594 ] 2636 ]
2595 }, 2637 },
2596 { 2638 {
2597 "domain": "Timeline", 2639 "domain": "Timeline",
2598 "description": "Timeline provides its clients with instrumentation recor ds that are generated during the page runtime. Timeline instrumentation can be s tarted and stopped using corresponding commands. While timeline is started, it i s generating timeline event records.", 2640 "description": "Timeline provides its clients with instrumentation recor ds that are generated during the page runtime. Timeline instrumentation can be s tarted and stopped using corresponding commands. While timeline is started, it i s generating timeline event records.",
2599 "types": [ 2641 "types": [
2600 { 2642 {
2643 "id": "DOMCounters",
2644 "type": "object",
2645 "properties": [
2646 { "name": "documents", "type": "integer" },
2647 { "name": "nodes", "type": "integer" },
2648 { "name": "jsEventListeners", "type": "integer" }
2649 ],
2650 "description": "Current values of DOM counters.",
2651 "hidden": true
2652 },
2653 {
2601 "id": "TimelineEvent", 2654 "id": "TimelineEvent",
2602 "type": "object", 2655 "type": "object",
2603 "properties": [ 2656 "properties": [
2604 { "name": "type", "type": "string", "description": "Event ty pe." }, 2657 { "name": "type", "type": "string", "description": "Event ty pe." },
2605 { "name": "thread", "type": "string", "optional": true, "des cription": "If present, identifies the thread that produced the event.", "hidden ": true }, 2658 { "name": "thread", "type": "string", "optional": true, "des cription": "If present, identifies the thread that produced the event.", "hidden ": true },
2606 { "name": "data", "type": "object", "description": "Event da ta." }, 2659 { "name": "data", "type": "object", "description": "Event da ta." },
2607 { "name": "children", "type": "array", "optional": true, "it ems": { "$ref": "TimelineEvent" }, "description": "Nested records." } 2660 { "name": "children", "type": "array", "optional": true, "it ems": { "$ref": "TimelineEvent" }, "description": "Nested records." },
2661 { "name": "counters", "$ref": "DOMCounters", "optional": tru e, "hidden": true, "description": "Current values of DOM counters." },
2662 { "name": "usedHeapSize", "type": "integer", "optional": tru e, "hidden": true, "description": "Current size of JS heap." },
2663 { "name": "nativeHeapStatistics", "type": "object", "optiona l": true, "hidden": true, "description": "Native heap statistics." }
2608 ], 2664 ],
2609 "description": "Timeline record contains information about the r ecorded activity." 2665 "description": "Timeline record contains information about the r ecorded activity."
2610 } 2666 }
2611 ], 2667 ],
2612 "commands": [ 2668 "commands": [
2613 { 2669 {
2614 "name": "start", 2670 "name": "start",
2615 "parameters": [ 2671 "parameters": [
2616 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." }, 2672 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." },
2617 { "name": "includeDomCounters", "optional": true, "type": "b oolean", "hidden": true, "description": "Whether DOM counters data should be inc luded into timeline events." }, 2673 { "name": "includeDomCounters", "optional": true, "type": "b oolean", "hidden": true, "description": "Whether DOM counters data should be inc luded into timeline events." },
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after
3748 ] 3804 ]
3749 } 3805 }
3750 ], 3806 ],
3751 "events": [ 3807 "events": [
3752 { 3808 {
3753 "name": "layerTreeDidChange" 3809 "name": "layerTreeDidChange"
3754 } 3810 }
3755 ] 3811 ]
3756 }] 3812 }]
3757 } 3813 }
OLDNEW
« no previous file with comments | « html/track/TextTrackCue.idl ('k') | inspector/InspectorFrontendHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698