Index: cc/debug_border_draw_quad.h |
diff --git a/cc/debug_border_draw_quad.h b/cc/debug_border_draw_quad.h |
index daee5b0c7c0843e6b0ae624f51630a1d58301843..96dcec311bfd03634fc76e15b1d04ce58ea0d57e 100644 |
--- a/cc/debug_border_draw_quad.h |
+++ b/cc/debug_border_draw_quad.h |
@@ -13,18 +13,28 @@ |
namespace cc { |
class CC_EXPORT DebugBorderDrawQuad : public DrawQuad { |
-public: |
- static scoped_ptr<DebugBorderDrawQuad> create(const SharedQuadState*, const gfx::Rect&, SkColor, int width); |
- |
- SkColor color() const { return m_color; }; |
- int width() const { return m_width; } |
- |
- static const DebugBorderDrawQuad* materialCast(const DrawQuad*); |
-private: |
- DebugBorderDrawQuad(const SharedQuadState*, const gfx::Rect&, SkColor, int width); |
- |
- SkColor m_color; |
- int m_width; |
+ public: |
+ static scoped_ptr<DebugBorderDrawQuad> Create(); |
+ |
+ void SetNew(const SharedQuadState* shared_quad_state, |
+ gfx::Rect rect, |
+ SkColor color, |
+ int width); |
+ |
+ void SetAll(const SharedQuadState* shared_quad_state, |
+ gfx::Rect rect, |
+ gfx::Rect opaque_rect, |
+ gfx::Rect visible_rect, |
+ bool needs_blending, |
+ SkColor color, |
+ int width); |
+ |
+ SkColor color; |
+ int width; |
+ |
+ static const DebugBorderDrawQuad* MaterialCast(const DrawQuad*); |
+ private: |
+ DebugBorderDrawQuad(); |
}; |
} |