summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_window_gtk.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 23:33:56 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 23:33:56 +0000
commitb83f780b271fb281892c11938ac7032f72d2db35 (patch)
tree2e202f6beacc7ab90988420d72132688de5cbb1e /chrome/browser/gtk/browser_window_gtk.h
parent8096ff750407979d3d5d6f6ce5fc4cbbab86d575 (diff)
downloadchromium_src-b83f780b271fb281892c11938ac7032f72d2db35.zip
chromium_src-b83f780b271fb281892c11938ac7032f72d2db35.tar.gz
chromium_src-b83f780b271fb281892c11938ac7032f72d2db35.tar.bz2
Fix a bug where it's not possible to get out of fullscreen mode.
The bug happened when the previous state was maximized and the monitor has no gnome-panels. When unfullscreen'ing, the maximized sized == the monitor size so metacity re-fullscreened. I also fixed a bug where we assumed that screen size == monitor size. There's still a bug in SetWindowSize-- I'll fix that in a follow up patch. BUG=32347 Review URL: http://codereview.chromium.org/3077012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index 7892368..085d8ff 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -344,6 +344,9 @@ class BrowserWindowGtk : public BrowserWindow,
// Returns |true| if we should use the custom frame.
bool UseCustomFrame();
+ // Returns |true| if the window bounds match the monitor size.
+ bool BoundsMatchMonitorSize();
+
// Put the bookmark bar where it belongs.
void PlaceBookmarkBar(bool is_floating);