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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 import "client_state_update.proto";
9 import "compositor_message_to_impl.proto"; 10 import "compositor_message_to_impl.proto";
10 import "compositor_message_to_main.proto"; 11 import "compositor_message_to_main.proto";
11 import "layer_tree_host.proto"; 12 import "layer_tree_host.proto";
12 13
13 package cc.proto; 14 package cc.proto;
14 15
15 // A top level message for serialized state used by the compositor remote 16 // A top level message for serialized state used by the compositor remote
16 // channels. 17 // channels.
17 // TODO(khushalsagar): Remove CompositorMessage and stop using 18 // TODO(khushalsagar): Remove CompositorMessage and stop using
18 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442 19 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442
19 message CompositorMessage { 20 message CompositorMessage {
20 // Engine -> Client 21 // Engine -> Client
21 // Frame Update. 22 // Frame Update.
22 optional LayerTreeHost layer_tree_host = 3; 23 optional LayerTreeHost layer_tree_host = 3;
23 24
24 // Client -> Engine 25 // Client -> Engine
25 // Sent from the client to the engine when a frame update was processed 26 // Sent from the client to the engine when a frame update was processed
26 // on the client. 27 // on the client.
27 optional bool frame_ack = 4; 28 optional bool frame_ack = 4;
28 29
30 // Client -> Engine
31 // Reports any changes made to the main thread state on the compositor thread
32 // on the client.
33 optional ClientStateUpdate client_state_update = 5;
34
35 // Engine -> Client
36 // Acknowledges the application of the client state update to the associated
37 // state on the engine.
38 // If the application of the update resulted in any additional changes to the
39 // state on the engine, the ack will always be bundled with the resulting
40 // frame update.
41 optional bool client_state_update_ack = 6;
42
29 // One of these is set based on where the message is going to. 43 // One of these is set based on where the message is going to.
30 optional CompositorMessageToMain to_main = 1; 44 optional CompositorMessageToMain to_main = 1;
31 optional CompositorMessageToImpl to_impl = 2; 45 optional CompositorMessageToImpl to_impl = 2;
32 } 46 }
OLDNEW
« 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