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

Unified Diff: cc/content_layer_client.h

Issue 11266030: Use gfx:: Geometry types for the resource provider and layer updater classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uint8 Created 8 years, 2 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 | « cc/content_layer.cc ('k') | cc/content_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/content_layer_client.h
diff --git a/cc/content_layer_client.h b/cc/content_layer_client.h
index 1dbb1a98c0a593e5146034c193f15a4c69322844..f2bd52a0c2636bc9865eedf72c59ee87845ebfa4 100644
--- a/cc/content_layer_client.h
+++ b/cc/content_layer_client.h
@@ -7,13 +7,16 @@
class SkCanvas;
+namespace gfx {
+class Rect;
+class RectF;
+}
+
namespace cc {
-class FloatRect;
-class IntRect;
class ContentLayerClient {
public:
- virtual void paintContents(SkCanvas*, const IntRect& clip, FloatRect& opaque) = 0;
+ virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opaque) = 0;
protected:
virtual ~ContentLayerClient() { }
« no previous file with comments | « cc/content_layer.cc ('k') | cc/content_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698