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

Side by Side Diff: cc/proto/compositor_message_to_main.proto

Issue 2493853002: cc/blimp: Proto Cleanup. (Closed)
Patch Set: Rebase 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/compositor_message_to_impl.proto ('k') | cc/proto/element_id.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6
7 option optimize_for = LITE_RUNTIME;
8
9 import "begin_main_frame_and_commit_state.proto";
10
11 package cc.proto;
12
13 // Control messages sent to the main side of the compositor(server) from the
14 // impl side of the compositor(client).
15 // TODO(khushalsagar): Are any more messages required? (See crbug.com/584078)
16 message CompositorMessageToMain {
17 enum Type {
18 // The enum values which are unknown get mapped to the default value, which
19 // is zero. This can happen with when the protocol version is different on
20 // the client and server.
21 // Ignore the messages with type UNKNOWN.
22 UNKNOWN = 0;
23
24 // Sent by the client to start the commit process. See
25 // compositor_message_to_impl.proto for details.
26 BEGIN_MAIN_FRAME = 1;
27 }
28
29 optional Type message_type = 1;
30
31 // Only one of the following fields will be set per CompositorMessageToMain.
32
33 // Set for message Type::BEGIN_MAIN_FRAME.
34 optional BeginMainFrame begin_main_frame_message = 2;
35 }
36
37 message BeginMainFrame {
38 optional BeginMainFrameAndCommitState begin_main_frame_state = 1;
39 }
OLDNEW
« no previous file with comments | « cc/proto/compositor_message_to_impl.proto ('k') | cc/proto/element_id.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698