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

Unified Diff: cc/renderer.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/render_surface_impl.cc ('k') | cc/scoped_texture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/renderer.h
diff --git a/cc/renderer.h b/cc/renderer.h
index dfb6a87aea2c16e585e0965cae52c3a309248fbf..11e00fc7ce3fafd5be9d2b67c4e2b3e417122626 100644
--- a/cc/renderer.h
+++ b/cc/renderer.h
@@ -17,7 +17,7 @@ class ScopedTexture;
class RendererClient {
public:
- virtual const IntSize& deviceViewportSize() const = 0;
+ virtual const gfx::Size& deviceViewportSize() const = 0;
virtual const LayerTreeSettings& settings() const = 0;
virtual void didLoseContext() = 0;
virtual void onSwapBuffersComplete() = 0;
@@ -61,7 +61,7 @@ public:
// puts backbuffer onscreen
virtual bool swapBuffers() = 0;
- virtual void getFramebufferPixels(void *pixels, const IntRect&) = 0;
+ virtual void getFramebufferPixels(void *pixels, const gfx::Rect&) = 0;
virtual bool isContextLost();
« no previous file with comments | « cc/render_surface_impl.cc ('k') | cc/scoped_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698