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

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

Issue 197283031: DevTools: fix author shadow dom inspection mode, speacial-case ua. Fix crash from the bug. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 6 years, 9 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/SettingsScreen.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 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after
2081 "returns": [ 2081 "returns": [
2082 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." } 2082 { "name": "nodeId", "$ref": "NodeId", "description": "Node i d for given object." }
2083 ], 2083 ],
2084 "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." 2084 "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."
2085 }, 2085 },
2086 { 2086 {
2087 "name": "setInspectModeEnabled", 2087 "name": "setInspectModeEnabled",
2088 "hidden": true, 2088 "hidden": true,
2089 "parameters": [ 2089 "parameters": [
2090 { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." }, 2090 { "name": "enabled", "type": "boolean", "description": "True to enable inspection mode, false to disable it." },
2091 { "name": "inspectShadowDOM", "type": "boolean", "optional": true, "description": "True to enable inspection mode for shadow DOM." }, 2091 { "name": "inspectUAShadowDOM", "type": "boolean", "optional ": true, "description": "True to enable inspection mode for user agent shadow DO M." },
2092 { "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>." } 2092 { "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>." }
2093 ], 2093 ],
2094 "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." 2094 "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."
2095 }, 2095 },
2096 { 2096 {
2097 "name": "highlightRect", 2097 "name": "highlightRect",
2098 "parameters": [ 2098 "parameters": [
2099 { "name": "x", "type": "integer", "description": "X coordina te" }, 2099 { "name": "x", "type": "integer", "description": "X coordina te" },
2100 { "name": "y", "type": "integer", "description": "Y coordina te" }, 2100 { "name": "y", "type": "integer", "description": "Y coordina te" },
2101 { "name": "width", "type": "integer", "description": "Rectan gle width" }, 2101 { "name": "width", "type": "integer", "description": "Rectan gle width" },
(...skipping 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after
4064 { 4064 {
4065 "name": "dataAvailable", 4065 "name": "dataAvailable",
4066 "parameters": [ 4066 "parameters": [
4067 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4067 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4068 ], 4068 ],
4069 "handlers": ["browser", "frontend"] 4069 "handlers": ["browser", "frontend"]
4070 } 4070 }
4071 ] 4071 ]
4072 }] 4072 }]
4073 } 4073 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/SettingsScreen.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698