mac: Add BrowserWindow.isDoucumentEdited API, fixes #459.

This commit is contained in:
Haojian Wu 2014-07-24 15:48:33 +08:00
parent acb8b7771e
commit 6f231d5860
7 changed files with 20 additions and 0 deletions

View file

@ -394,6 +394,10 @@ __OS X Only:__ Returns the pathname of the file the window represents.
__OS X Only:__ Specifies whether the windows document has been edited, and the
icon in titlebar will become grey when set to `true`.
### BrowserWindow.IsDocumentEdited()
__OS X Only:__ Whether the window's document has been edited.
### BrowserWindow.openDevTools()
Opens the developer tools.