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

Unified Diff: cc/layers/layer.h

Issue 2375363002: cc/blimp: Set up the framework for state serialization. (Closed)
Patch Set: Created 4 years, 3 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/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 02240014219a5b5f9b64516c8651f19fe4aee387..9fa1e18c5eacfc4954630eeebc0dd82bc69919ca 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -389,7 +389,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
// a LayerImpl, it pushes the properties to proto::LayerProperties. It is
// called only on layers that have changed properties. The properties
// themselves are pushed to proto::LayerProperties.
- void ToLayerPropertiesProto(proto::LayerUpdate* layer_update);
+ void ToLayerPropertiesProto(proto::LayerUpdate* layer_update,
+ bool inputs_only);
// Read all property values from the given LayerProperties object and update
// the current layer. The values for |needs_push_properties_| and
@@ -545,7 +546,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
// into proto::LayerProperties. This method is not marked as const
// as some implementations need reset member fields, similarly to
// PushPropertiesTo().
- virtual void LayerSpecificPropertiesToProto(proto::LayerProperties* proto);
+ virtual void LayerSpecificPropertiesToProto(proto::LayerProperties* proto,
+ bool inputs_only);
// Deserialize all the necessary properties from proto::LayerProperties into
// this Layer.

Powered by Google App Engine
This is Rietveld 408576698