github-electron: Add addWorkSpace() and removeWorkSpace to WebContents

This commit is contained in:
rhysd
2015-11-21 07:20:04 +09:00
parent 31bef5ed02
commit addd482a5b
2 changed files with 10 additions and 0 deletions

View File

@@ -710,6 +710,14 @@ declare module GitHubElectron {
* data Buffer - PDF file content
*/
callback: (error: Error, data: Buffer) => void): void;
/**
* Adds the specified path to DevTools workspace.
*/
addWorkSpace(path: string): void;
/**
* Removes the specified path from DevTools workspace.
*/
removeWorkSpace(path: string): void;
/**
* Opens the developer tools.
*/