diff options
Diffstat (limited to 'cc/quads/shared_quad_state.h')
-rw-r--r-- | cc/quads/shared_quad_state.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cc/quads/shared_quad_state.h b/cc/quads/shared_quad_state.h index eb3e91e..79bd09b 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; |