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

Unified Diff: cc/blimp/layer_tree_host_remote.h

Issue 2375363002: cc/blimp: Set up the framework for state serialization. (Closed)
Patch Set: test update Created 4 years, 2 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/blimp/layer_factory.h ('k') | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_remote.h
diff --git a/cc/blimp/layer_tree_host_remote.h b/cc/blimp/layer_tree_host_remote.h
index 9784a82e6fbeb04f177ed50c95c04a1a28fc72a5..7c4c28e8821b3a260a18900efada4d6ebbf92586 100644
--- a/cc/blimp/layer_tree_host_remote.h
+++ b/cc/blimp/layer_tree_host_remote.h
@@ -20,6 +20,10 @@ class SingleThreadTaskRunner;
} // namespace base
namespace cc {
+namespace proto {
+class LayerTreeHost;
+} // namespace proto
+
class AnimationHost;
class RemoteCompositorBridge;
class LayerTreeHostClient;
@@ -103,6 +107,7 @@ class CC_EXPORT LayerTreeHostRemote : public LayerTreeHost,
void ScheduleMainFrameIfNecessary();
void MainFrameComplete();
void DispatchDrawAndSwapCallbacks();
+ void SerializeCurrentState(proto::LayerTreeHost* layer_tree_host_proto);
const int id_;
int source_frame_number_ = 0;
« no previous file with comments | « cc/blimp/layer_factory.h ('k') | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698