X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fcommon%2Fextensions%2Fapi%2Fdevtools%2Fpanels.json;h=fa02daaffbc60c4b8457ff74168d64ec9537396e;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=0fec13a830c5bde19010df6d97e892616b4e641d;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/common/extensions/api/devtools/panels.json b/src/chrome/common/extensions/api/devtools/panels.json index 0fec13a..fa02daa 100644 --- a/src/chrome/common/extensions/api/devtools/panels.json +++ b/src/chrome/common/extensions/api/devtools/panels.json @@ -256,6 +256,10 @@ "elements": { "$ref": "ElementsPanel", "description": "Elements panel." + }, + "sources": { + "$ref": "SourcesPanel", + "description": "Sources panel." } }, "functions": [ @@ -313,6 +317,29 @@ ] } ] + }, + { + "name": "openResource", + "type": "function", + "description": "Requests DevTools to open a URL in a Developer Tools panel.", + "parameters": [ + { + "name": "url", + "type": "string", + "description": "The URL of the resource to open." + }, + { + "name": "lineNumber", + "type": "integer", + "description": "Specifies the line number to scroll to when the resource is loaded." + }, + { + "name": "callback", + "type": "function", + "optional": true, + "description": "A function that is called when the resource has been successfully loaded." + } + ] } ] }