| Index: cc/stream_video_draw_quad.h
|
| diff --git a/cc/stream_video_draw_quad.h b/cc/stream_video_draw_quad.h
|
| index 508a001afc19af593e2853b9c3dc03c1a3f3bd40..9e6154b8dccbee8b7ef18fa6623d2e83cf69d8f1 100644
|
| --- a/cc/stream_video_draw_quad.h
|
| +++ b/cc/stream_video_draw_quad.h
|
| @@ -13,18 +13,29 @@
|
| namespace cc {
|
|
|
| class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
|
| -public:
|
| - static scoped_ptr<StreamVideoDrawQuad> create(const SharedQuadState*, const gfx::Rect&, const gfx::Rect& opaqueRect, unsigned textureId, const WebKit::WebTransformationMatrix&);
|
| -
|
| - unsigned textureId() const { return m_textureId; }
|
| - const WebKit::WebTransformationMatrix& matrix() const { return m_matrix; }
|
| -
|
| - static const StreamVideoDrawQuad* materialCast(const DrawQuad*);
|
| -private:
|
| - StreamVideoDrawQuad(const SharedQuadState*, const gfx::Rect&, const gfx::Rect& opaqueRect, unsigned textureId, const WebKit::WebTransformationMatrix&);
|
| -
|
| - unsigned m_textureId;
|
| - WebKit::WebTransformationMatrix m_matrix;
|
| + public:
|
| + static scoped_ptr<StreamVideoDrawQuad> Create();
|
| +
|
| + void SetNew(const SharedQuadState* shared_quad_state,
|
| + gfx::Rect rect,
|
| + gfx::Rect opaque_rect,
|
| + unsigned texture_id,
|
| + const WebKit::WebTransformationMatrix& matrix);
|
| +
|
| + void SetAll(const SharedQuadState* shared_quad_state,
|
| + gfx::Rect rect,
|
| + gfx::Rect opaque_rect,
|
| + gfx::Rect visible_rect,
|
| + bool needs_blending,
|
| + unsigned texture_id,
|
| + const WebKit::WebTransformationMatrix& matrix);
|
| +
|
| + unsigned texture_id;
|
| + WebKit::WebTransformationMatrix matrix;
|
| +
|
| + static const StreamVideoDrawQuad* MaterialCast(const DrawQuad*);
|
| + private:
|
| + StreamVideoDrawQuad();
|
| };
|
|
|
| }
|
|
|