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

Unified Diff: cc/proxy.h

Issue 11367080: cc: Remove all remaining use of WebCore Rect/Point/Size types from the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/page_scale_animation.cc ('k') | cc/scrollbar_animation_controller.h » ('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 8b5287dc705a838cce1b97667d2427872d528981..ac6154013ada114d66a7bc0906d44c3051697c03 100644
--- a/cc/proxy.h
+++ b/cc/proxy.h
@@ -13,12 +13,12 @@
namespace gfx {
class Rect;
+class Vector2d;
}
namespace cc {
class Thread;
-class IntSize;
struct RenderingStats;
struct RendererCapabilities;
@@ -40,7 +40,7 @@ public:
virtual bool compositeAndReadback(void *pixels, const gfx::Rect&) = 0;
- virtual void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, base::TimeDelta duration) = 0;
+ virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnchor, float scale, base::TimeDelta duration) = 0;
virtual void finishAllRendering() = 0;
« no previous file with comments | « cc/page_scale_animation.cc ('k') | cc/scrollbar_animation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698