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

Unified Diff: cc/layers/layer_impl_test_properties.h

Issue 2035863003: cc: Add mask and replica layer ids to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 6 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/layers/layer_impl.cc ('k') | cc/layers/layer_impl_test_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl_test_properties.h
diff --git a/cc/layers/layer_impl_test_properties.h b/cc/layers/layer_impl_test_properties.h
index 8a5f44cf416051eac92a12057465608b9a7703d2..1047e20b0b05953bf1a29a46ec83221e10dc6d9b 100644
--- a/cc/layers/layer_impl_test_properties.h
+++ b/cc/layers/layer_impl_test_properties.h
@@ -19,9 +19,13 @@ class CopyOutputRequest;
class LayerImpl;
struct CC_EXPORT LayerImplTestProperties {
- LayerImplTestProperties();
+ explicit LayerImplTestProperties(LayerImpl* owning_layer);
~LayerImplTestProperties();
+ void SetMaskLayer(std::unique_ptr<LayerImpl> mask);
+ void SetReplicaLayer(std::unique_ptr<LayerImpl> replica);
+
+ LayerImpl* owning_layer;
bool double_sided;
bool force_render_surface;
bool is_container_for_fixed_position_layers;
@@ -39,6 +43,8 @@ struct CC_EXPORT LayerImplTestProperties {
std::unique_ptr<std::set<LayerImpl*>> clip_children;
std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests;
LayerImplList children;
+ LayerImpl* mask_layer;
+ LayerImpl* replica_layer;
};
} // namespace cc
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/layer_impl_test_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698