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

Issue 195048: Simplify the gtk location bar padding and make it more consistent. (Closed)

Created:
11 years, 3 months ago by mattm
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Simplify the gtk location bar padding and make it more consistent. Sets the container border and box padding values, so that each widget doesn't need an alignment to pad itself. With this the horizontal padding is almost the same as windows (in a few cases we have 1 more pixel between elements.) The vertical padding should be unchanged. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25831

Patch Set 1 #

Total comments: 1

Patch Set 2 : simplify tab to search comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -63 lines) Patch
M chrome/browser/gtk/location_bar_view_gtk.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 10 chunks +31 lines, -60 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mattm
Examples: http://www/~mattm/no_crawl/chrome/location_bar_padding/comparison1.png http://www/~mattm/no_crawl/chrome/location_bar_padding/comparison2.png (note: the middle image also includes page actions, which aren't part of ...
11 years, 3 months ago (2009-09-09 23:57:13 UTC) #1
Elliot Glaysher
LGTM: http://codereview.chromium.org/195048/diff/1/2 File chrome/browser/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/195048/diff/1/2#newcode160 Line 160: // keyword text with a border, background ...
11 years, 3 months ago (2009-09-10 01:13:09 UTC) #2
mattm
11 years, 3 months ago (2009-09-10 01:23:03 UTC) #3
On 2009/09/10 01:13:09, Elliot Glaysher wrote:
> LGTM:
> 
> http://codereview.chromium.org/195048/diff/1/2
> File chrome/browser/gtk/location_bar_view_gtk.cc (right):
> 
> http://codereview.chromium.org/195048/diff/1/2#newcode160
> Line 160: // keyword text with a border, background color, and padding around
> the text.
> Comment no longer applicable now that alignment gone?

I don't know, I assumed the comment was (mostly) talking about what
gtk_util::CreateGtkBorderBin does, though it's a bit weird to talk about
implementation details of a library function defined elsewhere.  I simplified
the comment.

Powered by Google App Engine
This is Rietveld 408576698