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

Issue 67059: Fix status bubble shadow being opaque, which made the bubble appear to be off... (Closed)

Created:
11 years, 8 months ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix status bubble shadow being opaque, which made the bubble appear to be off by one pixel. This reverts Brett's fix for issue 8651 and instead fixes that issue by ensuring the text bounding box does not overlap the status bubble shadow. This also makes kShadowThickness (renamed for consistency with the browser frame) a class-scoped constant so the browser view can access it, eliminating a magic number. BUG=9928 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13670

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -43 lines) Patch
M chrome/browser/views/frame/browser_view.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/views/status_bubble_views.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/views/status_bubble_views.cc View 1 7 chunks +34 lines, -40 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Peter Kasting
11 years, 8 months ago (2009-04-10 23:01:26 UTC) #1
brettw
http://codereview.chromium.org/67059/diff/1/2 File chrome/browser/views/status_bubble_views.cc (right): http://codereview.chromium.org/67059/diff/1/2#newcode46 Line 46: static const int kTextHorizPadding = 1; You changed ...
11 years, 8 months ago (2009-04-13 04:06:27 UTC) #2
Peter Kasting
http://codereview.chromium.org/67059/diff/1/2 File chrome/browser/views/status_bubble_views.cc (right): http://codereview.chromium.org/67059/diff/1/2#newcode46 Line 46: static const int kTextHorizPadding = 1; On 2009/04/13 ...
11 years, 8 months ago (2009-04-13 04:45:01 UTC) #3
brettw
On 2009/04/13 04:45:01, pkasting wrote: > http://codereview.chromium.org/67059/diff/1/2 > File chrome/browser/views/status_bubble_views.cc (right): > > http://codereview.chromium.org/67059/diff/1/2#newcode46 > ...
11 years, 8 months ago (2009-04-13 20:12:28 UTC) #4
Peter Kasting
On 2009/04/13 20:12:28, brettw wrote: > On 2009/04/13 04:45:01, pkasting wrote: > > I don't ...
11 years, 8 months ago (2009-04-13 20:27:52 UTC) #5
Peter Kasting
New snapshot up. I tried to write some more informative comments on those constants.
11 years, 8 months ago (2009-04-14 17:18:06 UTC) #6
brettw
11 years, 8 months ago (2009-04-14 17:27:51 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698