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

Unified Diff: ui/base/dragdrop/drag_utils.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: ui/base/dragdrop/drag_utils.h
diff --git a/ui/base/dragdrop/drag_utils.h b/ui/base/dragdrop/drag_utils.h
index b81511d70ef1bd849dccd2f11327c82b28523631..bf4e45b628b208e3c053d03b39e132af49c0a2a3 100644
--- a/ui/base/dragdrop/drag_utils.h
+++ b/ui/base/dragdrop/drag_utils.h
@@ -15,7 +15,7 @@ class GURL;
class SkBitmap;
namespace gfx {
-class Canvas;
+class CanvasSkia;
Ben Goodger (Google) 2012/03/06 15:46:58 ????
class Point;
class Size;
}
@@ -38,7 +38,7 @@ UI_EXPORT void CreateDragImageForFile(const FilePath& file_name,
// Sets the drag image on data_object from the supplied canvas. width/height
// are the size of the image to use, and the offsets give the location of
// the hotspot for the drag image.
-UI_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas,
+UI_EXPORT void SetDragImageOnDataObject(const gfx::CanvasSkia& canvas,
const gfx::Size& size,
const gfx::Point& cursor_offset,
ui::OSExchangeData* data_object);

Powered by Google App Engine
This is Rietveld 408576698