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

Issue 7134024: Disable scalling of InfoBar icon (Closed)

Created:
9 years, 6 months ago by sail
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Avi (use Gerrit), dhollowa, brettw-cc_chromium.org
Visibility:
Public.

Description

Disable scalling of InfoBar icon This change disables scaling of infobar icons. With this change it should be easier to catch clipping issues due to incorrectly sized infobar icons. BUG=80432 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88424

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove Linux/Windows changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/app/nibs/InfoBar.xib View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
sail
9 years, 6 months ago (2011-06-08 20:28:38 UTC) #1
Robert Sesek
LGTM
9 years, 6 months ago (2011-06-08 20:29:40 UTC) #2
Peter Kasting
http://codereview.chromium.org/7134024/diff/1/chrome/browser/tab_contents/infobar.cc File chrome/browser/tab_contents/infobar.cc (right): http://codereview.chromium.org/7134024/diff/1/chrome/browser/tab_contents/infobar.cc#newcode37 chrome/browser/tab_contents/infobar.cc:37: int GetInfoBarIconSizePixels() { Why are you using a function ...
9 years, 6 months ago (2011-06-08 20:33:43 UTC) #3
Peter Kasting
Actually this whole change just seems off. My intent was that you remove the scaling ...
9 years, 6 months ago (2011-06-08 20:34:52 UTC) #4
sail
http://codereview.chromium.org/7134024/diff/1/chrome/browser/tab_contents/infobar.cc File chrome/browser/tab_contents/infobar.cc (right): http://codereview.chromium.org/7134024/diff/1/chrome/browser/tab_contents/infobar.cc#newcode37 chrome/browser/tab_contents/infobar.cc:37: int GetInfoBarIconSizePixels() { On 2011/06/08 20:33:43, Peter Kasting wrote: ...
9 years, 6 months ago (2011-06-08 20:35:13 UTC) #5
sail
On 2011/06/08 20:34:52, Peter Kasting wrote: > Actually this whole change just seems off. My ...
9 years, 6 months ago (2011-06-08 20:37:03 UTC) #6
Peter Kasting
On 2011/06/08 20:37:03, sail wrote: > I agree that what we're doing right now is ...
9 years, 6 months ago (2011-06-08 20:43:16 UTC) #7
sail
Removed changes to the Linux and Windows code.
9 years, 6 months ago (2011-06-08 21:42:57 UTC) #8
Peter Kasting
LGTM. (Wish you could say "NSImageScaleNone" instead of "2".)
9 years, 6 months ago (2011-06-08 22:12:22 UTC) #9
commit-bot: I haz the power
9 years, 6 months ago (2011-06-08 22:35:38 UTC) #10
Change committed as 88424

Powered by Google App Engine
This is Rietveld 408576698