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

Unified Diff: views/controls/table/table_view.cc

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « views/controls/table/group_table_view.cc ('k') | views/controls/text_field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/table/table_view.cc
===================================================================
--- views/controls/table/table_view.cc (revision 16147)
+++ views/controls/table/table_view.cc (working copy)
@@ -11,7 +11,7 @@
#include <algorithm>
-#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 @@
// 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 @@
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.
« no previous file with comments | « views/controls/table/group_table_view.cc ('k') | views/controls/text_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698