Index: cc/resources/picture_pile.h |
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h |
index fd1c4540dc2a785f5c8087d22fac429c6d0216d0..dd0f1c1740f3c4ca76eeff0b1c815ed7e7d6c65d 100644 |
--- a/cc/resources/picture_pile.h |
+++ b/cc/resources/picture_pile.h |
@@ -16,10 +16,11 @@ |
namespace cc { |
class PicturePileImpl; |
+class LayerTreeSettings; |
class CC_EXPORT PicturePile : public RecordingSource { |
public: |
- PicturePile(); |
+ PicturePile(double min_content_scale, const gfx::Size& tile_grid_size); |
vmpstr
2015/01/02 19:43:05
nit: min_contents_scale
|
~PicturePile() override; |
// RecordingSource overrides. |
@@ -34,10 +35,8 @@ class CC_EXPORT PicturePile : public RecordingSource { |
scoped_refptr<RasterSource> CreateRasterSource() const override; |
gfx::Size GetSize() const final; |
void SetEmptyBounds() override; |
- void SetMinContentsScale(float min_contents_scale) override; |
void SetSlowdownRasterScaleFactor(int factor) override; |
bool IsSuitableForGpuRasterization() const override; |
- void SetTileGridSize(const gfx::Size& tile_grid_size) override; |
void SetUnsuitableForGpuRasterizationForTesting() override; |
SkTileGridFactory::TileGridInfo GetTileGridInfoForTesting() const override; |
@@ -79,6 +78,9 @@ class CC_EXPORT PicturePile : public RecordingSource { |
void Clear(); |
+ void SetMinContentsScale(float min_contents_scale); |
+ void SetTileGridSize(const gfx::Size& tile_grid_size); |
+ |
gfx::Rect PaddedRect(const PictureMapKey& key) const; |
gfx::Rect PadRect(const gfx::Rect& rect) const; |