mac: Add BrowserWindow.getRepresentedFilename API, fixes #460.

This commit is contained in:
Haojian Wu 2014-07-18 21:42:26 +08:00
parent 301706b7d6
commit acb8b7771e
7 changed files with 20 additions and 0 deletions

View file

@ -383,6 +383,10 @@ Returns whether the window is in kiosk mode.
__OS X Only:__ Sets the pathname of the file the window represents, and the icon
of the file will show in window's title bar.
### BrowserWindow.getRepresentedFilename()
__OS X Only:__ Returns the pathname of the file the window represents.
### BrowserWindow.setDocumentEdited(edited)
* `edited` Boolean