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

Unified Diff: cc/test/fake_picture_layer_tiling_client.h

Issue 367833003: cc: Start using raster/eviction iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: perf test fix Created 6 years, 5 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
Index: cc/test/fake_picture_layer_tiling_client.h
diff --git a/cc/test/fake_picture_layer_tiling_client.h b/cc/test/fake_picture_layer_tiling_client.h
index 6bdede04bbfccaca3520a4b4475fe07d1412dae9..f89964a6fbb9c24fdd56aeea10e391b450840d4f 100644
--- a/cc/test/fake_picture_layer_tiling_client.h
+++ b/cc/test/fake_picture_layer_tiling_client.h
@@ -29,6 +29,8 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
virtual size_t GetMaxTilesForInterestArea() const OVERRIDE;
virtual float GetSkewportTargetTimeInSeconds() const OVERRIDE;
virtual int GetSkewportExtrapolationLimitInContentPixels() const OVERRIDE;
+ virtual WhichTree GetTree() const OVERRIDE;
+ virtual bool RequiresHighResToDraw() const OVERRIDE;
void SetTileSize(const gfx::Size& tile_size);
gfx::Size TileSize() const { return tile_size_; }
@@ -44,6 +46,7 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
void set_max_tiles_for_interest_area(size_t area) {
max_tiles_for_interest_area_ = area;
}
+ void set_tree(WhichTree tree) { tree_ = tree; }
void set_skewport_target_time_in_seconds(float time) {
skewport_target_time_in_seconds_ = time;
}
@@ -68,6 +71,7 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
size_t max_tiles_for_interest_area_;
float skewport_target_time_in_seconds_;
int skewport_extrapolation_limit_in_content_pixels_;
+ WhichTree tree_;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698