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

Unified Diff: cc/test/layer_tree_host_common_test.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/fake_picture_layer.cc ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_host_common_test.h
diff --git a/cc/test/layer_tree_host_common_test.h b/cc/test/layer_tree_host_common_test.h
index 9fdd1a939319e43d1ce8e2f83c35ff946647957e..ec774348005989abf7c7fa57ec65313bb0722d25 100644
--- a/cc/test/layer_tree_host_common_test.h
+++ b/cc/test/layer_tree_host_common_test.h
@@ -10,6 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "cc/layers/layer_lists.h"
#include "cc/test/fake_layer_tree_host_client.h"
+#include "cc/trees/layer_tree_settings.h"
#include "cc/trees/property_tree.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -122,9 +123,12 @@ class LayerTreeHostCommonTestBase {
scoped_ptr<FakeLayerTreeHost> CreateFakeLayerTreeHost();
+ const LayerSettings& layer_settings() { return layer_settings_; }
+
private:
scoped_ptr<RenderSurfaceLayerList> render_surface_layer_list_;
scoped_ptr<std::vector<LayerImpl*>> render_surface_layer_list_impl_;
+ LayerSettings layer_settings_;
FakeLayerTreeHostClient client_;
int render_surface_layer_list_count_;
« no previous file with comments | « cc/test/fake_picture_layer.cc ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698