webContents: api to add/remove path from devtools workspace

This commit is contained in:
Robo 2015-07-24 15:09:11 +05:30
parent 1bc49487ad
commit 66553eea1a
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