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

Issue 3056022: Fix glitch in rendering of the stroke at the bottom of the browser toolbar.... (Closed)

Created:
10 years, 5 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Fix glitch in rendering of the stroke at the bottom of the browser toolbar. The code that rendered this line was doing weird things (adding/removing kClientEdgeThickness from the edges?!) so I removed this and used toolbar_bounds.right() instead of toolbar_bounds.width() which is correct given that toolbar_bounds.x() > 0. I also got rid of the use of MirroredLeftPointForRect since the flipped version of a horizontal line is... the same horizontal line. I have also updated the glass frame not to subtract a pixel from the right edge which looks glitchy as well. http://crbug.com/48134 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53998

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M chrome/browser/views/frame/glass_browser_frame_view.cc View 1 chunk +4 lines, -2 lines 1 comment Download
M chrome/browser/views/frame/opaque_browser_frame_view.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ben Goodger (Google)
10 years, 5 months ago (2010-07-27 23:06:26 UTC) #1
Peter Kasting
Satoshi Matsuzaki created a changelist for this same bug at http://codereview.chromium.org/3042004 . Could you look ...
10 years, 5 months ago (2010-07-27 23:18:38 UTC) #2
Ben Goodger (Google)
Updated: On 2010/07/27 23:18:38, Peter Kasting wrote: > There are a couple of differences between ...
10 years, 4 months ago (2010-07-27 23:35:38 UTC) #3
Peter Kasting
10 years, 4 months ago (2010-07-27 23:43:25 UTC) #4
LGTM with nit.

http://codereview.chromium.org/3056022/diff/8001/9001
File chrome/browser/views/frame/glass_browser_frame_view.cc (right):

http://codereview.chromium.org/3056022/diff/8001/9001#newcode339
chrome/browser/views/frame/glass_browser_frame_view.cc:339:
toolbar_bounds.bottom() - 1,
Nit: These 1s should probably be kClientEdgeThickness.

Powered by Google App Engine
This is Rietveld 408576698