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

Unified Diff: cc/proxy.h

Issue 11264056: cc: Use gfx:: Geometry types for positions, bounds, and related things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ScaleAsVector Created 8 years, 1 month 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/priority_calculator.cc ('k') | cc/quad_culler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proxy.h
diff --git a/cc/proxy.h b/cc/proxy.h
index a0a53a3984d74af1e8de37613cf0a55658fc1bb4..7b1c7e8abf5faf46f3214db08dd1f015a95fa747 100644
--- a/cc/proxy.h
+++ b/cc/proxy.h
@@ -10,10 +10,13 @@
#include "base/time.h"
#include <public/WebCompositorOutputSurface.h>
+namespace gfx {
+class Rect;
+}
+
namespace cc {
class Thread;
-class IntRect;
class IntSize;
struct RenderingStats;
struct RendererCapabilities;
@@ -34,7 +37,7 @@ public:
virtual ~Proxy();
- virtual bool compositeAndReadback(void *pixels, const IntRect&) = 0;
+ virtual bool compositeAndReadback(void *pixels, const gfx::Rect&) = 0;
virtual void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, base::TimeDelta duration) = 0;
« no previous file with comments | « cc/priority_calculator.cc ('k') | cc/quad_culler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698