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

Unified Diff: ui/views/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: 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: ui/views/drag_utils.h
diff --git a/ui/views/drag_utils.h b/ui/views/drag_utils.h
index cdf9e2ca4404f665e34566affd1dd961b724ef4e..3abe910f14c0f4de11569a316e1cc193fd8421b1 100644
--- a/ui/views/drag_utils.h
+++ b/ui/views/drag_utils.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -16,7 +16,7 @@ class GURL;
class SkBitmap;
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Point;
class Size;
}
@@ -46,7 +46,7 @@ VIEWS_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.
-VIEWS_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas,
+VIEWS_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