Add a bunch of menu bar related APIs

This commit is contained in:
Cheng Zhao 2014-11-12 17:36:20 +08:00
parent e699cac92c
commit 79d4724a15
2 changed files with 20 additions and 0 deletions

View file

@ -243,6 +243,20 @@ void NativeWindow::Print(bool silent, bool print_background) {
PrintNow(silent, print_background);
}
void NativeWindow::SetAutoHideMenuBar(bool auto_hide) {
}
bool NativeWindow::IsMenuBarAutoHide() {
return false;
}
void NativeWindow::SetMenuBarVisibility(bool visible) {
}
bool NativeWindow::IsMenuBarVisible() {
return true;
}
bool NativeWindow::HasModalDialog() {
return has_dialog_attached_;
}