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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 1504273002: Add support for LayerTreeSettings (de)serialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/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;
};

Powered by Google App Engine
This is Rietveld 408576698