Merge pull request #2327 from deepak1556/devtools_api_patch

webContents: api to add/remove path from devtools workspace
This commit is contained in:
Cheng Zhao 2015-07-29 17:16:02 +08:00
commit d719244d1e
5 changed files with 59 additions and 18 deletions

View file

@ -1042,6 +1042,18 @@ win.webContents.on("did-finish-load", function() {
});
```
### WebContents.addWorkSpace(path)
* `path` String
Adds the specified path to devtools workspace.
### WebContents.removeWorkSpace(path)
* `path` String
Removes the specified path from devtools workspace.
### WebContents.send(channel[, args...])
* `channel` String