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

Unified Diff: cc/blimp/layer_tree_host_remote.h

Issue 2445093002: cc/blimp: Add synchronization for scroll/scale state. (Closed)
Patch Set: test compile Created 4 years, 1 month 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/compositor_state_deserializer_unittest.cc ('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 24a894eec8f1aaa02dc03b4a608c19c6a731103c..51885acd76e07a1f8336cb598c9f1ac637383b5b 100644
--- a/cc/blimp/layer_tree_host_remote.h
+++ b/cc/blimp/layer_tree_host_remote.h
@@ -95,6 +95,11 @@ class CC_EXPORT LayerTreeHostRemote : public LayerTreeHost,
void SetNextCommitWaitsForActivation() override;
void ResetGpuRasterizationTracking() override;
+ // RemoteCompositorBridgeClient implementation.
+ void BeginMainFrame() override;
+ void ApplyStateUpdateFromClient(
+ const proto::ClientStateUpdate& client_state_update) override;
+
protected:
// Protected for testing. Allows tests to inject the LayerTree.
LayerTreeHostRemote(InitParams* params,
@@ -109,12 +114,6 @@ class CC_EXPORT LayerTreeHostRemote : public LayerTreeHost,
void SetTaskRunnerProviderForTesting(
std::unique_ptr<TaskRunnerProvider> task_runner_provider);
- // RemoteCompositorBridgeClient implementation.
- void BeginMainFrame() override;
- bool ApplyScrollAndScaleUpdateFromClient(
- const ScrollOffsetMap& client_scroll_map,
- float client_page_scale) override;
-
private:
enum class FramePipelineStage { NONE, ANIMATE, UPDATE_LAYERS, COMMIT };
« no previous file with comments | « cc/blimp/compositor_state_deserializer_unittest.cc ('k') | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698