From 82522511b7921e8c61742ebd80a4c674c56e7e48 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 15 May 2009 07:37:29 +0000 Subject: 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 --- views/controls/table/group_table_view.cc | 2 +- views/controls/table/table_view.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'views/controls/table') diff --git a/views/controls/table/group_table_view.cc b/views/controls/table/group_table_view.cc index b5d5698..5f26756 100644 --- a/views/controls/table/group_table_view.cc +++ b/views/controls/table/group_table_view.cc @@ -4,7 +4,7 @@ #include "views/controls/table/group_table_view.h" -#include "app/gfx/chrome_canvas.h" +#include "app/gfx/canvas.h" #include "base/compiler_specific.h" #include "base/message_loop.h" #include "base/task.h" diff --git a/views/controls/table/table_view.cc b/views/controls/table/table_view.cc index a476da3..da4aeb04 100644 --- a/views/controls/table/table_view.cc +++ b/views/controls/table/table_view.cc @@ -11,7 +11,7 @@ #include -#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/l10n_util_win.h" @@ -866,7 +866,7 @@ HWND TableView::CreateNativeControl(HWND parent_container) { // We create 2 phony images because we are going to switch images at every // refresh in order to force a refresh of the icon area (somehow the clip // rect does not include the icon). - ChromeCanvas canvas(kImageSize, kImageSize, false); + gfx::Canvas canvas(kImageSize, kImageSize, false); // Make the background completely transparent. canvas.drawColor(SK_ColorBLACK, SkPorterDuff::kClear_Mode); HICON empty_icon = @@ -1245,7 +1245,7 @@ LRESULT TableView::OnCustomDraw(NMLVCUSTOMDRAW* draw_info) { client_rect.top += content_offset_; // Make sure the region need to paint is visible. if (intersection.IntersectRect(&icon_rect, &client_rect)) { - ChromeCanvas canvas(icon_rect.Width(), icon_rect.Height(), false); + gfx::Canvas canvas(icon_rect.Width(), icon_rect.Height(), false); // It seems the state in nmcd.uItemState is not correct. // We'll retrieve it explicitly. -- cgit v1.1