summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/trees/layer_tree_settings.h')
-rw-r--r--cc/trees/layer_tree_settings.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index 9fb59cb..0939ba0 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -18,11 +18,22 @@
namespace cc {
+namespace proto {
+class LayerTreeSettings;
+} // namespace proto
+
class CC_EXPORT LayerTreeSettings {
public:
LayerTreeSettings();
virtual ~LayerTreeSettings();
+ bool operator==(const LayerTreeSettings& other) const;
+
+ void ToProtobuf(proto::LayerTreeSettings* proto) const;
+ void FromProtobuf(const proto::LayerTreeSettings& proto);
+
+ SchedulerSettings ToSchedulerSettings() const;
+
RendererSettings renderer_settings;
bool single_thread_proxy_scheduler;
bool use_external_begin_frame_source;
@@ -80,8 +91,6 @@ class CC_EXPORT LayerTreeSettings {
ManagedMemoryPolicy memory_policy_;
LayerTreeDebugState initial_debug_state;
-
- SchedulerSettings ToSchedulerSettings() const;
};
} // namespace cc