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

@ -202,6 +202,10 @@ void NativeWindow::SetDocumentEdited(bool edited) {
void NativeWindow::SetMenu(ui::MenuModel* menu) {
}
bool NativeWindow::IsDocumentEdited() {
return false;
}
bool NativeWindow::HasModalDialog() {
return has_dialog_attached_;
}