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

Unified Diff: cc/layer_painter.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/image_layer.cc ('k') | cc/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_painter.h
diff --git a/cc/layer_painter.h b/cc/layer_painter.h
index 282efdc4b5272e497e838013607393af1e668f69..81b0e44a1ce4445a6c025be0464f2c3b42b0b8a2 100644
--- a/cc/layer_painter.h
+++ b/cc/layer_painter.h
@@ -8,15 +8,17 @@
class SkCanvas;
-namespace cc {
+namespace gfx {
+class Rect;
+class RectF;
+}
-class FloatRect;
-class IntRect;
+namespace cc {
class LayerPainter {
public:
virtual ~LayerPainter() { }
- virtual void paint(SkCanvas*, const IntRect& contentRect, FloatRect& opaque) = 0;
+ virtual void paint(SkCanvas*, const gfx::Rect& contentRect, gfx::RectF& opaque) = 0;
};
} // namespace cc
« no previous file with comments | « cc/image_layer.cc ('k') | cc/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698