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_;
}
// Print current page.
virtual void Print(bool silent, bool print_background);
+ // Toggle the menu bar.
+ virtual void SetAutoHideMenuBar(bool auto_hide);
+ virtual bool IsMenuBarAutoHide();
+ virtual void SetMenuBarVisibility(bool visible);
+ virtual bool IsMenuBarVisible();
+
// The same with closing a tab in a real browser.
//
// Should be called by platform code when user want to close the window.