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

Unified Diff: cc/shared_quad_state.h

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing 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_unittest.cc ('k') | cc/shared_quad_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/shared_quad_state.h
diff --git a/cc/shared_quad_state.h b/cc/shared_quad_state.h
index 300270b9deff2658fd41a87445e0e6bd92829f96..055f12ec85685e289bc69290af174c31e8453374 100644
--- a/cc/shared_quad_state.h
+++ b/cc/shared_quad_state.h
@@ -6,9 +6,9 @@
#define CC_SHARED_QUAD_STATE_H_
#include "base/memory/scoped_ptr.h"
-#include "ui/gfx/rect.h"
-#include <public/WebTransformationMatrix.h>
#include "cc/cc_export.h"
+#include "ui/gfx/rect.h"
+#include "ui/gfx/transform.h"
namespace cc {
@@ -19,7 +19,7 @@ class CC_EXPORT SharedQuadState {
scoped_ptr<SharedQuadState> Copy() const;
- void SetAll(const WebKit::WebTransformationMatrix& content_to_target_transform,
+ void SetAll(const gfx::Transform& content_to_target_transform,
const gfx::Rect& visible_content_rect,
const gfx::Rect& clipped_rect_in_target,
const gfx::Rect& clip_rect,
@@ -27,7 +27,7 @@ class CC_EXPORT SharedQuadState {
float opacity);
// Transforms from quad's original content space to its target content space.
- WebKit::WebTransformationMatrix content_to_target_transform;
+ gfx::Transform content_to_target_transform;
// This rect lives in the content space for the quad's originating layer.
gfx::Rect visible_content_rect;
gfx::Rect clipped_rect_in_target;
« no previous file with comments | « cc/render_surface_unittest.cc ('k') | cc/shared_quad_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698