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

Unified Diff: cc/test/layer_tree_host_remote_for_testing.h

Issue 2404953002: cc/blimp: Set up hooks for scroll/scale sync. (Closed)
Patch Set: braces 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/test/fake_remote_compositor_bridge.h ('k') | cc/test/layer_tree_host_remote_for_testing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_host_remote_for_testing.h
diff --git a/cc/test/layer_tree_host_remote_for_testing.h b/cc/test/layer_tree_host_remote_for_testing.h
index 9220b96f2b5956279bc3386ffbf199930686734a..1ea328ed65e2f3fcfa8fb919efe6c8facab1b8f3 100644
--- a/cc/test/layer_tree_host_remote_for_testing.h
+++ b/cc/test/layer_tree_host_remote_for_testing.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "cc/blimp/compositor_state_deserializer_client.h"
#include "cc/blimp/layer_tree_host_remote.h"
+#include "ui/gfx/geometry/scroll_offset.h"
namespace gpu {
class GpuMemoryBufferManager;
@@ -89,6 +90,7 @@ class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote,
void DispatchDrawAndSwapCallbacks() override;
void LayerDidScroll(int engine_layer_id);
+ void ApplyUpdatesFromInProcessHost();
void RemoteHostNeedsMainFrame();
void ProcessRemoteCompositorUpdate(
@@ -99,6 +101,7 @@ class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote,
std::unique_ptr<CompositorStateDeserializer> compositor_state_deserializer_;
std::unique_ptr<CompositorProtoState> pending_compositor_proto_state_;
+ ScrollOffsetMap layers_scrolled_;
std::unique_ptr<LayerTreeHostInProcessClient>
layer_tree_host_in_process_client_;
« no previous file with comments | « cc/test/fake_remote_compositor_bridge.h ('k') | cc/test/layer_tree_host_remote_for_testing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698