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

Unified Diff: cc/test/tiled_layer_test_common.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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/layer_tree_test.cc ('k') | cc/test/tiled_layer_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/tiled_layer_test_common.h
diff --git a/cc/test/tiled_layer_test_common.h b/cc/test/tiled_layer_test_common.h
index abf2de4c29708abda484da3f363035c253441a6a..43f946dc90b0813361457a102d1162bd21ec58b3 100644
--- a/cc/test/tiled_layer_test_common.h
+++ b/cc/test/tiled_layer_test_common.h
@@ -92,7 +92,8 @@ class FakeTiledLayerImpl : public TiledLayerImpl {
class FakeTiledLayer : public TiledLayer {
public:
- explicit FakeTiledLayer(PrioritizedResourceManager* resource_manager);
+ explicit FakeTiledLayer(const LayerSettings& settings,
+ PrioritizedResourceManager* resource_manager);
static gfx::Size tile_size() { return gfx::Size(100, 100); }
@@ -134,8 +135,8 @@ class FakeTiledLayer : public TiledLayer {
class FakeTiledLayerWithScaledBounds : public FakeTiledLayer {
public:
- explicit FakeTiledLayerWithScaledBounds(
- PrioritizedResourceManager* resource_manager);
+ FakeTiledLayerWithScaledBounds(const LayerSettings& settings,
+ PrioritizedResourceManager* resource_manager);
void SetContentBounds(const gfx::Size& content_bounds);
void CalculateContentsScale(float ideal_contents_scale,
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/tiled_layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698