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

Issue 18392: Fix some problems with scaled icons. This allows the TabIconView to automati... (Closed)

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

Description

Fix some problems with scaled icons. This allows the TabIconView to automatically scale the throbber and favicon to whatever size the View itself is. Notably, this does NOT change tab_renderer.cc, which _also_ draws favicons -- the former is used by app windows and the latter by standard tabs. Argh! I'm not going to bother unifying these for now even though it'd be nice, since we never scale up our tabs, just our app titlebars. BUG=5054 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=8348

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -17 lines) Patch
M chrome/browser/views/tab_icon_view.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/views/tab_icon_view.cc View 1 chunk +33 lines, -12 lines 2 comments Download
M chrome/browser/views/tabs/tab_renderer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/gfx/chrome_canvas.cc View 1 chunk +4 lines, -5 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Peter Kasting
11 years, 11 months ago (2009-01-21 00:05:58 UTC) #1
sky
http://codereview.chromium.org/18392/diff/1/2 File chrome/browser/views/tab_icon_view.cc (right): http://codereview.chromium.org/18392/diff/1/2#newcode93 Line 93: PaintIcon(canvas, bitmap, 0, 0, bitmap.width(), bitmap.height(), true); To ...
11 years, 11 months ago (2009-01-21 00:53:22 UTC) #2
Peter Kasting
http://codereview.chromium.org/18392/diff/1/2 File chrome/browser/views/tab_icon_view.cc (right): http://codereview.chromium.org/18392/diff/1/2#newcode93 Line 93: PaintIcon(canvas, bitmap, 0, 0, bitmap.width(), bitmap.height(), true); On ...
11 years, 11 months ago (2009-01-21 01:00:36 UTC) #3
sky
11 years, 11 months ago (2009-01-21 01:03:59 UTC) #4
Thanks for the clarification.
LGTM

Powered by Google App Engine
This is Rietveld 408576698