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

Unified Diff: blimp/engine/renderer/blimp_remote_compositor_bridge.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 | « blimp/engine/app/settings_manager.cc ('k') | blimp/engine/renderer/blimp_remote_compositor_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/renderer/blimp_remote_compositor_bridge.h
diff --git a/blimp/engine/renderer/blimp_remote_compositor_bridge.h b/blimp/engine/renderer/blimp_remote_compositor_bridge.h
index bfb36549900f25bc5826eec57913578bf90a55ae..d846d27bf6339859063a00ab77df2fea9c217a6e 100644
--- a/blimp/engine/renderer/blimp_remote_compositor_bridge.h
+++ b/blimp/engine/renderer/blimp_remote_compositor_bridge.h
@@ -33,6 +33,8 @@ class BlimpRemoteCompositorBridge
void ProcessCompositorStateUpdate(std::unique_ptr<cc::CompositorProtoState>
compositor_proto_state) override;
+ FrameScheduler* scheduler_for_testing() { return &scheduler_; }
+
private:
// cc::RemoteProtoChannel::ProtoReceiver implementation.
void OnProtoReceived(
@@ -44,6 +46,8 @@ class BlimpRemoteCompositorBridge
cc::RemoteProtoChannel* remote_proto_channel_;
cc::RemoteCompositorBridgeClient* client_ = nullptr;
+ bool client_state_update_ack_pending_ = false;
+
FrameScheduler scheduler_;
DISALLOW_COPY_AND_ASSIGN(BlimpRemoteCompositorBridge);
« no previous file with comments | « blimp/engine/app/settings_manager.cc ('k') | blimp/engine/renderer/blimp_remote_compositor_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698