Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Unified Diff: chrome/browser/views/frame/browser_frame_gtk.cc

Issue 542001: Fixes two fullscreen bugs on views/gtk:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/extensions/extension_shelf.cc ('k') | chrome/browser/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_frame_gtk.cc
===================================================================
--- chrome/browser/views/frame/browser_frame_gtk.cc (revision 35755)
+++ chrome/browser/views/frame/browser_frame_gtk.cc (working copy)
@@ -155,6 +155,7 @@
gboolean BrowserFrameGtk::OnWindowStateEvent(GtkWidget* widget,
GdkEventWindowState* event) {
+ bool was_full_screen = IsFullscreen();
gboolean result = views::WindowGtk::OnWindowStateEvent(widget, event);
if ((!IsVisible() || IsMinimized()) && browser_view_->GetStatusBubble()) {
// The window is effectively hidden. We have to hide the status bubble as
@@ -162,6 +163,8 @@
// with the parent.
browser_view_->GetStatusBubble()->Hide();
}
+ if (was_full_screen != IsFullscreen())
+ browser_view_->FullScreenStateChanged();
return result;
}
« no previous file with comments | « chrome/browser/views/extensions/extension_shelf.cc ('k') | chrome/browser/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698