Commit 0dbbfcab authored by estade@chromium.org's avatar estade@chromium.org

reapply r107999

my last patch r108172 uninentionally reverted r107999 (due to my own fumbilng with git). So this re-applies it.

TBR=erg

Review URL: http://codereview.chromium.org/8372046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108176 0039d316-1c4b-4281-b951-d872f2087c98
parent 1c3e3cb6
......@@ -456,7 +456,8 @@ void BookmarkBarGtk::Hide(BookmarkBar::State old_state,
// After coming out of fullscreen, the browser window sets the bookmark bar
// to the "hidden" state, which means we need to show our minimum height.
gtk_widget_show(widget());
if (!window_->IsFullscreen())
gtk_widget_show(widget());
CalculateMaxHeight();
// Sometimes we get called without a matching call to open. If that happens
// then force hide.
......
......@@ -1456,8 +1456,10 @@ gboolean BrowserWindowGtk::OnWindowState(GtkWidget* sender,
GURL(),
FEB_TYPE_BROWSER_FULLSCREEN_EXIT_INSTRUCTION));
}
gtk_widget_hide(titlebar_widget());
gtk_widget_hide(toolbar_border_);
} else {
gtk_widget_show(titlebar_widget());
fullscreen_exit_bubble_.reset();
UpdateCustomFrame();
ShowSupportedWindowFeatures();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment