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
|
@ -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_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue