| Index: cc/resources/picture_pile_impl.h
|
| diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
|
| index 6986db40e75d5db49a7c678147ea4ebcc4b2e4ad..b4209e3eaa9740d23877f311ff0824211c38f474 100644
|
| --- a/cc/resources/picture_pile_impl.h
|
| +++ b/cc/resources/picture_pile_impl.h
|
| @@ -17,7 +17,14 @@
|
| #include "cc/resources/raster_source.h"
|
| #include "skia/ext/analysis_canvas.h"
|
| #include "skia/ext/refptr.h"
|
| -#include "third_party/skia/include/core/SkPicture.h"
|
| +
|
| +class SkCanvas;
|
| +class SkPicture;
|
| +class SkPixelRef;
|
| +
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
|
|
| namespace cc {
|
|
|
| @@ -47,12 +54,13 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
|
| bool CoversRect(const gfx::Rect& content_rect,
|
| float contents_scale) const override;
|
| void SetShouldAttemptToUseDistanceFieldText() override;
|
| + void SetBackgoundColor(SkColor background_color) override;
|
| + void SetRequiresClear(bool requires_clear) override;
|
| bool ShouldAttemptToUseDistanceFieldText() const override;
|
| gfx::Size GetSize() const override;
|
| bool IsSolidColor() const override;
|
| SkColor GetSolidColor() const override;
|
| bool HasRecordings() const override;
|
| - bool IsMask() const override;
|
|
|
| // Tracing functionality.
|
| void DidBeginTracing() override;
|
| @@ -101,13 +109,11 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
|
| PictureMap picture_map_;
|
| TilingData tiling_;
|
| SkColor background_color_;
|
| - bool contents_opaque_;
|
| - bool contents_fill_bounds_completely_;
|
| + bool requires_clear_;
|
| bool is_solid_color_;
|
| SkColor solid_color_;
|
| gfx::Rect recorded_viewport_;
|
| bool has_any_recordings_;
|
| - bool is_mask_;
|
| bool clear_canvas_with_debug_color_;
|
| float min_contents_scale_;
|
| int slow_down_raster_scale_factor_for_debug_;
|
|
|