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

Issue 182004: GTK Themes: Refresh the entire location bar area on Update(). (Closed)

Created:
11 years, 3 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

GTK Themes: Refresh the entire location bar area on Update(). http://crbug.com/20027 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24698

Patch Set 1 #

Total comments: 1

Patch Set 2 : Doing it a different way. #

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

Messages

Total messages: 4 (0 generated)
Elliot Glaysher
11 years, 3 months ago (2009-08-27 23:14:15 UTC) #1
Evan Stade
http://codereview.chromium.org/182004/diff/1/2 File chrome/browser/gtk/browser_toolbar_gtk.cc (right): http://codereview.chromium.org/182004/diff/1/2#newcode201 Line 201: location_bar_->AddLocationBarToBox(location_hbox); I don't like this change. I know ...
11 years, 3 months ago (2009-08-27 23:29:32 UTC) #2
Evan Stade
nah, using parent is fine, although you can use gtk_widget_get_parent for maximum cleanliness LGTM
11 years, 3 months ago (2009-08-27 23:38:18 UTC) #3
Elliot Glaysher
11 years, 3 months ago (2009-08-28 01:18:11 UTC) #4
The first version of the patch did just that, actually. I wasn't
entirely sure if I was touching internal GTK stuff and I'd be
depending on details in a different class, so I decided to make it
more explicit.

Updated.

On Thu, Aug 27, 2009 at 4:29 PM, <estade@chromium.org> wrote:
>
> http://codereview.chromium.org/182004/diff/1/2
> File chrome/browser/gtk/browser_toolbar_gtk.cc (right):
>
> http://codereview.chromium.org/182004/diff/1/2#newcode201
> Line 201: location_bar_->AddLocationBarToBox(location_hbox);
> I don't like this change. I know we have AddXXXToBox functions in
> several places but imo it should be the parent's responsibility to
> control packing. Why can't you just do widget()->parent in the
> LocationBarView?
>
> http://codereview.chromium.org/182004
>

Powered by Google App Engine
This is Rietveld 408576698