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

@ -98,6 +98,7 @@ class Window : public mate::EventEmitter,
bool IsWebViewFocused();
void CapturePage(mate::Arguments* args);
void SetRepresentedFilename(const std::string& filename);
std::string GetRepresentedFilename();
void SetDocumentEdited(bool edited);
// APIs for WebContents.