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

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: 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/renderer.h
diff --git a/cc/renderer.h b/cc/renderer.h
index 5edd957c78a5527c964fb8633fb74109ab9beb7d..f6ee0ab63e0e700304403daeec1c75e161265f46 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();
« cc/layer_tiling_data.cc ('K') | « 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