| Index: cc/resources/recording_source.h
|
| diff --git a/cc/resources/recording_source.h b/cc/resources/recording_source.h
|
| index cbbeb7021e6fe04de7e909d6e70e87be7099d079..19eea72f160bb1534922c4119a00ad4ae48239c9 100644
|
| --- a/cc/resources/recording_source.h
|
| +++ b/cc/resources/recording_source.h
|
| @@ -28,28 +28,27 @@ class CC_EXPORT RecordingSource {
|
| virtual bool UpdateAndExpandInvalidation(
|
| ContentLayerClient* painter,
|
| Region* invalidation,
|
| - SkColor background_color,
|
| - bool contents_opaque,
|
| - bool contents_fill_bounds_completely,
|
| const gfx::Size& layer_size,
|
| const gfx::Rect& visible_layer_rect,
|
| int frame_number,
|
| Picture::RecordingMode recording_mode) = 0;
|
|
|
| + virtual scoped_refptr<RasterSource> CreateRasterSource() const = 0;
|
| +
|
| virtual gfx::Size GetSize() const = 0;
|
| virtual void SetEmptyBounds() = 0;
|
| virtual void SetMinContentsScale(float min_contents_scale) = 0;
|
| - virtual void SetTileGridSize(const gfx::Size& tile_grid_size) = 0;
|
| virtual void SetSlowdownRasterScaleFactor(int factor) = 0;
|
| - virtual void SetIsMask(bool is_mask) = 0;
|
| virtual bool IsSuitableForGpuRasterization() const = 0;
|
|
|
| - virtual scoped_refptr<RasterSource> CreateRasterSource() const = 0;
|
| + // TODO(hendrikw): This is an implementation detail, remove it when possible.
|
| + virtual void SetTileGridSize(const gfx::Size& tile_grid_size) = 0;
|
|
|
| // TODO(hendrikw): Figure out how to remove this.
|
| virtual void SetUnsuitableForGpuRasterizationForTesting() = 0;
|
| virtual SkTileGridFactory::TileGridInfo GetTileGridInfoForTesting() const = 0;
|
| };
|
| -}
|
| +
|
| +} // namespace cc
|
|
|
| #endif // CC_RESOURCES_RECORDING_SOURCE_H_
|
|
|