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

Side by Side Diff: Source/devtools/protocol.json

Issue 303653008: DevTools: implement enable/disable commands in DOMAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « Source/devtools/front_end/sdk/DOMModel.js ('k') | no next file » | 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": "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 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." }, 1965 { "name": "paddingColor", "$ref": "RGBA", "optional": true, "description": "The padding highlight fill color (default: transparent)." },
1966 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." }, 1966 { "name": "borderColor", "$ref": "RGBA", "optional": true, " description": "The border highlight fill color (default: transparent)." },
1967 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." }, 1967 { "name": "marginColor", "$ref": "RGBA", "optional": true, " description": "The margin highlight fill color (default: transparent)." },
1968 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." } 1968 { "name": "eventTargetColor", "$ref": "RGBA", "optional": tr ue, "hidden": true, "description": "The event target element highlight fill colo r (default: transparent)." }
1969 ], 1969 ],
1970 "description": "Configuration data for the highlighting of page elements." 1970 "description": "Configuration data for the highlighting of page elements."
1971 } 1971 }
1972 ], 1972 ],
1973 "commands": [ 1973 "commands": [
1974 { 1974 {
1975 "name": "enable",
1976 "description": "Enables DOM agent for the given page."
1977 },
1978 {
1979 "name": "disable",
1980 "description": "Disables DOM agent for the given page."
1981 },
1982 {
1975 "name": "getDocument", 1983 "name": "getDocument",
1976 "returns": [ 1984 "returns": [
1977 { "name": "root", "$ref": "Node", "description": "Resulting node." } 1985 { "name": "root", "$ref": "Node", "description": "Resulting node." }
1978 ], 1986 ],
1979 "description": "Returns the root DOM node to the caller." 1987 "description": "Returns the root DOM node to the caller."
1980 }, 1988 },
1981 { 1989 {
1982 "name": "requestChildNodes", 1990 "name": "requestChildNodes",
1983 "parameters": [ 1991 "parameters": [
1984 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." }, 1992 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." },
(...skipping 2152 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 { 4145 {
4138 "name": "dataAvailable", 4146 "name": "dataAvailable",
4139 "parameters": [ 4147 "parameters": [
4140 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4148 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4141 ], 4149 ],
4142 "handlers": ["browser", "frontend"] 4150 "handlers": ["browser", "frontend"]
4143 } 4151 }
4144 ] 4152 ]
4145 }] 4153 }]
4146 } 4154 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/DOMModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698