mac: Add BrowserWindow.isDoucumentEdited API, fixes #459.
This commit is contained in:
parent
acb8b7771e
commit
6f231d5860
7 changed files with 20 additions and 0 deletions
|
@ -100,6 +100,7 @@ class Window : public mate::EventEmitter,
|
|||
void SetRepresentedFilename(const std::string& filename);
|
||||
std::string GetRepresentedFilename();
|
||||
void SetDocumentEdited(bool edited);
|
||||
bool IsDocumentEdited();
|
||||
|
||||
// APIs for WebContents.
|
||||
mate::Handle<WebContents> GetWebContents(v8::Isolate* isolate) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue