| Index: ui/compositor/clip_transform_recorder.h
|
| diff --git a/ui/compositor/clip_transform_recorder.h b/ui/compositor/clip_transform_recorder.h
|
| index 897718ba613039e3b110b2febb5006893b7a30f5..88972706e0c114dc696c63de4b476ac0328ac40d 100644
|
| --- a/ui/compositor/clip_transform_recorder.h
|
| +++ b/ui/compositor/clip_transform_recorder.h
|
| @@ -10,6 +10,7 @@
|
|
|
| namespace gfx {
|
| class Canvas;
|
| +class Path;
|
| class Rect;
|
| class Transform;
|
| }
|
| @@ -24,15 +25,14 @@ class PaintContext;
|
| // be clipped/transformed.
|
| class COMPOSITOR_EXPORT ClipTransformRecorder {
|
| public:
|
| - ClipTransformRecorder(const PaintContext& context,
|
| - const gfx::Rect& clip_rect);
|
| - ClipTransformRecorder(const PaintContext& context,
|
| - const gfx::Transform& transform);
|
| - ClipTransformRecorder(const PaintContext& context,
|
| - const gfx::Rect& clip_rect,
|
| - const gfx::Transform& transform);
|
| + explicit ClipTransformRecorder(const PaintContext& context);
|
| ~ClipTransformRecorder();
|
|
|
| + void ClipRect(const gfx::Rect& clip_rect);
|
| + void ClipPath(const gfx::Path& clip_path);
|
| + void ClipPathWithAntiAliasing(const gfx::Path& clip_path);
|
| + void Transform(const gfx::Transform& transform);
|
| +
|
| private:
|
| gfx::Canvas* canvas_;
|
|
|
|
|