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

Unified Diff: cc/proto/compositor_message.proto

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/proto/client_state_update.proto ('k') | cc/test/layer_tree_host_remote_for_testing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/compositor_message.proto
diff --git a/cc/proto/compositor_message.proto b/cc/proto/compositor_message.proto
index 2611719060831ffad2aa6fa06be2807604075972..94cf6bf98232fd1ecd6ab7ff0d9d527d7b61f170 100644
--- a/cc/proto/compositor_message.proto
+++ b/cc/proto/compositor_message.proto
@@ -6,6 +6,7 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
+import "client_state_update.proto";
import "compositor_message_to_impl.proto";
import "compositor_message_to_main.proto";
import "layer_tree_host.proto";
@@ -26,6 +27,19 @@ message CompositorMessage {
// on the client.
optional bool frame_ack = 4;
+ // Client -> Engine
+ // Reports any changes made to the main thread state on the compositor thread
+ // on the client.
+ optional ClientStateUpdate client_state_update = 5;
+
+ // Engine -> Client
+ // Acknowledges the application of the client state update to the associated
+ // state on the engine.
+ // If the application of the update resulted in any additional changes to the
+ // state on the engine, the ack will always be bundled with the resulting
+ // frame update.
+ optional bool client_state_update_ack = 6;
+
// One of these is set based on where the message is going to.
optional CompositorMessageToMain to_main = 1;
optional CompositorMessageToImpl to_impl = 2;
« no previous file with comments | « cc/proto/client_state_update.proto ('k') | cc/test/layer_tree_host_remote_for_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698