Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Unified Diff: cc/tiles/picture_layer_tiling.h

Issue 1837263005: cc: Rename DisplayListRasterSource to just RasterSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_raster_source.cc ('k') | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/picture_layer_tiling.h
diff --git a/cc/tiles/picture_layer_tiling.h b/cc/tiles/picture_layer_tiling.h
index 7d85242875cb464c4eae4d7443429b30f6628b85..fb2018295dc580996df5d9ffe1a9a43354939ee1 100644
--- a/cc/tiles/picture_layer_tiling.h
+++ b/cc/tiles/picture_layer_tiling.h
@@ -31,7 +31,7 @@ class TracedValue;
namespace cc {
-class DisplayListRasterSource;
+class RasterSource;
class PictureLayerTiling;
class PrioritizedTile;
@@ -91,14 +91,13 @@ class CC_EXPORT PictureLayerTiling {
static scoped_ptr<PictureLayerTiling> Create(
WhichTree tree,
float contents_scale,
- scoped_refptr<DisplayListRasterSource> raster_source,
+ scoped_refptr<RasterSource> raster_source,
PictureLayerTilingClient* client,
size_t tiling_interest_area_padding,
float skewport_target_time_in_seconds,
int skewport_extrapolation_limit_in_content_pixels);
- void SetRasterSourceAndResize(
- scoped_refptr<DisplayListRasterSource> raster_source);
+ void SetRasterSourceAndResize(scoped_refptr<RasterSource> raster_source);
void Invalidate(const Region& layer_invalidation);
void CreateMissingTilesInLiveTilesRect();
void TakeTilesAndPropertiesFrom(PictureLayerTiling* pending_twin,
@@ -122,7 +121,7 @@ class CC_EXPORT PictureLayerTiling {
can_require_tiles_for_activation_ = can_require_tiles;
}
- const scoped_refptr<DisplayListRasterSource>& raster_source() const {
+ const scoped_refptr<RasterSource>& raster_source() const {
return raster_source_;
}
gfx::Size tiling_size() const { return tiling_data_.tiling_size(); }
@@ -276,7 +275,7 @@ class CC_EXPORT PictureLayerTiling {
PictureLayerTiling(WhichTree tree,
float contents_scale,
- scoped_refptr<DisplayListRasterSource> raster_source,
+ scoped_refptr<RasterSource> raster_source,
PictureLayerTilingClient* client,
size_t tiling_interest_area_padding,
float skewport_target_time_in_seconds,
@@ -375,7 +374,7 @@ class CC_EXPORT PictureLayerTiling {
const float contents_scale_;
PictureLayerTilingClient* const client_;
const WhichTree tree_;
- scoped_refptr<DisplayListRasterSource> raster_source_;
+ scoped_refptr<RasterSource> raster_source_;
TileResolution resolution_;
bool may_contain_low_resolution_tiles_;
« no previous file with comments | « cc/test/fake_raster_source.cc ('k') | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698