Merge pull request #1309 from hokein/workspace-visible-api

Add workspace visible APIs
This commit is contained in:
Cheng Zhao 2015-03-29 20:37:07 +08:00
commit 3b1be743ef
8 changed files with 68 additions and 0 deletions

View file

@ -130,6 +130,9 @@ class Window : public mate::EventEmitter,
void ShowDefinitionForSelection();
#endif
void SetVisibleOnAllWorkspaces(bool visible);
bool IsVisibleOnAllWorkspaces();
// APIs for WebContents.
mate::Handle<WebContents> GetWebContents(v8::Isolate* isolate) const;
mate::Handle<WebContents> GetDevToolsWebContents(v8::Isolate* isolate) const;