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

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: some missed intstuff 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
Index: cc/proxy.h
diff --git a/cc/proxy.h b/cc/proxy.h
index daddadeeb10ed45e697faa59f50b8cc283dccd5d..4eb63ad265a1442517aec018746c2b9e77f33d27 100644
--- a/cc/proxy.h
+++ b/cc/proxy.h
@@ -9,10 +9,13 @@
#include "base/logging.h"
#include <public/WebCompositorOutputSurface.h>
+namespace gfx {
+class Rect;
+}
+
namespace cc {
class Thread;
-class IntRect;
class IntSize;
struct RenderingStats;
struct RendererCapabilities;
@@ -33,7 +36,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, double durationSec) = 0;

Powered by Google App Engine
This is Rietveld 408576698