summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_window_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index f556012..172529a 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -144,6 +144,10 @@ class BrowserWindowGtk : public BrowserWindow,
void OnDebouncedBoundsChanged();
void OnStateChanged(GdkWindowState state, GdkWindowState changed_mask);
+ // Request the underlying window to unmaximize. Also tries to work around
+ // a window manager "feature" that can prevent this in some edge cases.
+ void UnMaximize();
+
// Returns false if we're not ready to close yet. E.g., a tab may have an
// onbeforeunload handler that prevents us from closing.
bool CanClose() const;