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

Unified Diff: chrome/browser/download/download_util.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 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
Index: chrome/browser/download/download_util.h
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
index 8bd4f21da1626dbd43fabc806b616c31c5b38fbd..7a31af8649195ee0f29fc85d376998e2e2a6b70a 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/download_util.h
@@ -31,7 +31,7 @@ class DownloadItem;
}
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Image;
}
@@ -98,7 +98,7 @@ enum PaintDownloadProgressSize {
// require the containing View in addition to the canvas because if we are
// drawing in a right-to-left locale, we need to mirror the position of the
// progress animation within the containing View.
-void PaintDownloadProgress(gfx::Canvas* canvas,
+void PaintDownloadProgress(gfx::CanvasSkia* canvas,
#if defined(TOOLKIT_VIEWS)
views::View* containing_view,
#endif
@@ -108,7 +108,7 @@ void PaintDownloadProgress(gfx::Canvas* canvas,
int percent,
PaintDownloadProgressSize size);
-void PaintDownloadComplete(gfx::Canvas* canvas,
+void PaintDownloadComplete(gfx::CanvasSkia* canvas,
#if defined(TOOLKIT_VIEWS)
views::View* containing_view,
#endif
@@ -117,7 +117,7 @@ void PaintDownloadComplete(gfx::Canvas* canvas,
double animation_progress,
PaintDownloadProgressSize size);
-void PaintDownloadInterrupted(gfx::Canvas* canvas,
+void PaintDownloadInterrupted(gfx::CanvasSkia* canvas,
#if defined(TOOLKIT_VIEWS)
views::View* containing_view,
#endif

Powered by Google App Engine
This is Rietveld 408576698