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

Issue 287015: GTK: properly resize bookmark bar when going from attached to detached on NTP... (Closed)

Created:
11 years, 2 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

GTK: properly resize bookmark bar when going from attached to detached on NTP fullscreen. BUG=24463 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29353

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/browser/gtk/bookmark_bar_gtk.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Evan Stade
11 years, 2 months ago (2009-10-16 23:02:04 UTC) #1
Elliot Glaysher
11 years, 2 months ago (2009-10-16 23:17:49 UTC) #2
Lgtm

On Friday, October 16, 2009,  <estade@chromium.org> wrote:
> Reviewers: Elliot Glaysher,
>
> Description:
> GTK: properly resize bookmark bar when going from attached to detached on=
 NTP
> fullscreen.
>
> BUG=3D24463
>
>
> Please review this at http://codereview.chromium.org/287015
>
> SVN Base: svn://chrome-svn/chrome/trunk/src/
>
> Affected files:
>  =A0M =A0 =A0 chrome/browser/gtk/bookmark_bar_gtk.cc
>
>
> Index: chrome/browser/gtk/bookmark_bar_gtk.cc
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- chrome/browser/gtk/bookmark_bar_gtk.cc =A0 =A0 =A0(revision 29332)
> +++ chrome/browser/gtk/bookmark_bar_gtk.cc =A0 =A0 =A0(working copy)
> @@ -343,8 +343,9 @@
> =A0#endif
>
> =A0void BookmarkBarGtk::EnterFullscreen() {
> - =A0UpdateFloatingState();
> - =A0if (!floating_)
> + =A0if (ShouldBeFloating())
> + =A0 =A0Show(false);
> + =A0else
>  =A0 =A0 gtk_widget_hide(widget());
> =A0}
>
>
>
>

Powered by Google App Engine
This is Rietveld 408576698