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

Unified Diff: Source/devtools/protocol.json

Issue 300393002: Merge DevTools Refactor CL to Blink36 (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1985
Patch Set: PTAL 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index e19a82c44c4667fd8a5e3de96c5c2186763fe99b..4d3e2368630d580a0eac13ef76701cd7962b35b2 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -662,7 +662,8 @@
{ "name": "value", "type": "any", "optional": true, "description": "Remote object value in case of primitive values or JSON values (if it was requested), or description string if the value can not be JSON-stringified (like NaN, Infinity, -Infinity, -0)." },
{ "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
{ "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." },
- { "name": "preview", "$ref": "ObjectPreview", "optional": true, "description": "Preview containing abbreviated property values.", "hidden": true }
+ { "name": "preview", "$ref": "ObjectPreview", "optional": true, "description": "Preview containing abbreviated property values.", "hidden": true },
+ { "name": "language", "type": "string", "optional": true, "description": "Programming language of the object" }
]
},
{
@@ -780,6 +781,17 @@
"description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object."
},
{
+ "name": "getCompletions",
+ "parameters": [
+ { "name": "expression", "type": "string", "description": "Expression to get completions to." },
+ { "name": "contextId", "$ref": "Runtime.ExecutionContextId", "optional": true, "description": "Specifies in which isolated context to get completions. Each content script lives in an isolated context and this parameter may be used to specify one of those contexts. If the parameter is omitted or 0 the evaluation will be performed in the context of the inspected page." }
+ ],
+ "returns": [
+ { "name": "result", "type": "array", "items": { "type": "string" } }
+ ],
+ "description": "Returns completions for a given object."
+ },
+ {
"name": "getProperties",
"parameters": [
{ "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." },
@@ -793,6 +805,18 @@
"description": "Returns properties of a given object. Object group of the result is inherited from the target object."
},
{
+ "name": "getProperty",
+ "parameters": [
+ { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return a property for." },
+ { "name": "propertyPath", "type": "array", "items": { "type": "string" } }
+ ],
+ "returns": [
+ { "name": "result", "$ref": "RemoteObject", "description": "Call result." },
+ { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }
+ ],
+ "description": "Returns a property of a given object. Object group of the result is inherited from the target object."
+ },
+ {
"name": "releaseObject",
"parameters": [
{ "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to release." }
@@ -3116,6 +3140,17 @@
"description": "Evaluates expression on a given call frame."
},
{
+ "name": "getCompletionsOnCallFrame",
+ "parameters": [
+ { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier to get completions on." },
+ { "name": "expression", "type": "string", "description": "Expression to get completions to." }
+ ],
+ "returns": [
+ { "name": "result", "type": "array", "items": { "type": "string" } }
+ ],
+ "description": "Returns completions for a given object."
+ },
+ {
"name": "compileScript",
"hidden": true,
"parameters": [
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698