Chromium Code Reviews| Index: cc/trees/layer_tree_settings.h |
| diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h |
| index 9fb59cba3b4c1f6301bf75f7eeb46ffc059eb8ec..eb6e938b6bebf6629e09e8e097e0873bd706cfdf 100644 |
| --- a/cc/trees/layer_tree_settings.h |
| +++ b/cc/trees/layer_tree_settings.h |
| @@ -18,6 +18,10 @@ |
| namespace cc { |
| +namespace proto { |
| +class LayerTreeSettings; |
| +} // namespace proto |
| + |
| class CC_EXPORT LayerTreeSettings { |
| public: |
| LayerTreeSettings(); |
| @@ -81,6 +85,11 @@ class CC_EXPORT LayerTreeSettings { |
| LayerTreeDebugState initial_debug_state; |
| + bool operator==(const LayerTreeSettings& other) const; |
|
vmpstr
2015/12/08 18:26:13
Can you put these above all of the variables. Also
nyquist
2015/12/08 22:44:58
Done.
|
| + |
| + void ToProtobuf(proto::LayerTreeSettings* proto) const; |
| + void FromProtobuf(const proto::LayerTreeSettings& proto); |
| + |
| SchedulerSettings ToSchedulerSettings() const; |
| }; |