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

Unified Diff: chrome/browser/views/tab_icon_view.h

Issue 18392: Fix some problems with scaled icons. This allows the TabIconView to automati... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/views/tab_icon_view.cc » ('j') | chrome/browser/views/tab_icon_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tab_icon_view.h
===================================================================
--- chrome/browser/views/tab_icon_view.h (revision 8058)
+++ chrome/browser/views/tab_icon_view.h (working copy)
@@ -44,6 +44,13 @@
private:
void PaintThrobber(ChromeCanvas* canvas);
void PaintFavIcon(ChromeCanvas* canvas, const SkBitmap& bitmap);
+ void PaintIcon(ChromeCanvas* canvas,
+ const SkBitmap& bitmap,
+ int src_x,
+ int src_y,
+ int src_w,
+ int src_h,
+ bool filter);
// Our model.
TabIconViewModel* model_;
« no previous file with comments | « no previous file | chrome/browser/views/tab_icon_view.cc » ('j') | chrome/browser/views/tab_icon_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698