diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 07:37:29 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 07:37:29 +0000 |
commit | 82522511b7921e8c61742ebd80a4c674c56e7e48 (patch) | |
tree | 381d71de2b9c7b99675e6f2b4523ae0876c72ce8 /chrome/browser/views/tab_icon_view.cc | |
parent | 631cf822bd6e64cf469544b42c9975f5602c29a6 (diff) | |
download | chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.zip chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.gz chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.bz2 |
ChromeCanvas->gfx::Canvas
Rename files too.
TBR=brettw
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113443
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tab_icon_view.cc')
-rw-r--r-- | chrome/browser/views/tab_icon_view.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/views/tab_icon_view.cc b/chrome/browser/views/tab_icon_view.cc index 578c917..315d310 100644 --- a/chrome/browser/views/tab_icon_view.cc +++ b/chrome/browser/views/tab_icon_view.cc @@ -7,7 +7,7 @@ #include <windows.h> #include <shellapi.h> -#include "app/gfx/chrome_canvas.h" +#include "app/gfx/canvas.h" #include "app/gfx/favicon_size.h" #include "app/gfx/icon_util.h" #include "app/resource_bundle.h" @@ -83,17 +83,17 @@ void TabIconView::Update() { } } -void TabIconView::PaintThrobber(ChromeCanvas* canvas) { +void TabIconView::PaintThrobber(gfx::Canvas* canvas) { int image_size = g_throbber_frames->height(); PaintIcon(canvas, is_light_ ? *g_throbber_frames_light : *g_throbber_frames, throbber_frame_ * image_size, 0, image_size, image_size, false); } -void TabIconView::PaintFavIcon(ChromeCanvas* canvas, const SkBitmap& bitmap) { +void TabIconView::PaintFavIcon(gfx::Canvas* canvas, const SkBitmap& bitmap) { PaintIcon(canvas, bitmap, 0, 0, bitmap.width(), bitmap.height(), true); } -void TabIconView::PaintIcon(ChromeCanvas* canvas, +void TabIconView::PaintIcon(gfx::Canvas* canvas, const SkBitmap& bitmap, int src_x, int src_y, @@ -125,7 +125,7 @@ void TabIconView::PaintIcon(ChromeCanvas* canvas, dest_h, filter); } -void TabIconView::Paint(ChromeCanvas* canvas) { +void TabIconView::Paint(gfx::Canvas* canvas) { bool rendered = false; if (throbber_running_) { |