Index: cc/quads/shared_quad_state.h |
diff --git a/cc/quads/shared_quad_state.h b/cc/quads/shared_quad_state.h |
index eb3e91eaedb905235e77efd599d7c065791aadea..79bd09b60f7e1ffb3603a4cb331af7da95ea76f6 100644 |
--- a/cc/quads/shared_quad_state.h |
+++ b/cc/quads/shared_quad_state.h |
@@ -10,6 +10,10 @@ |
#include "ui/gfx/rect.h" |
#include "ui/gfx/transform.h" |
+namespace base { |
+class Value; |
+} |
+ |
namespace cc { |
class CC_EXPORT SharedQuadState { |
@@ -25,12 +29,15 @@ class CC_EXPORT SharedQuadState { |
gfx::Rect clip_rect, |
bool is_clipped, |
float opacity); |
+ scoped_ptr<base::Value> AsValue() const; |
// Transforms from quad's original content space to its target content space. |
gfx::Transform content_to_target_transform; |
- // This rect lives in the content space for the quad's originating layer. |
+ // This size lives in the content space for the quad's originating layer. |
gfx::Size content_bounds; |
+ // This rect lives in the content space for the quad's originating layer. |
gfx::Rect visible_content_rect; |
+ // This rect lives in the target content space. |
gfx::Rect clip_rect; |
bool is_clipped; |
float opacity; |