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

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

Issue 1519293002: Add support for (de)serializing LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unreachable code, and use early return Created 4 years, 11 months 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/BUILD.gn ('k') | cc/trees/layer_tree_host.h » ('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 2015 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 import "layer.proto";
8 import "layer_selection_bound.proto";
9 import "layer_tree_settings.proto";
10 import "layer_tree_debug_state.proto";
11 import "property_tree.proto";
12 import "size.proto";
13 import "vector2df.proto";
14
15 package cc.proto;
16
17 option optimize_for = LITE_RUNTIME;
18
19 message LayerTreeHost {
20 // Not all members of LayerTreeHost are serialized, as they are not helpful
21 // for remote usage. See implementation of
22 // cc::LayerTreeHost::ToProtobufForCommit for details.
23 optional bool needs_full_tree_sync = 1;
24 optional bool needs_meta_info_recomputation = 2;
25 optional int32 source_frame_number = 3;
26 optional int32 meta_information_sequence_number = 4;
27 optional LayerNode root_layer = 5;
28 optional LayerUpdate layer_updates = 6;
29 optional int32 hud_layer_id = 7;
30 optional LayerTreeDebugState debug_state = 8;
31 optional Size device_viewport_size = 9;
32 optional bool top_controls_shrink_blink_size = 10;
33 optional float top_controls_height = 11;
34 optional float top_controls_shown_ratio = 12;
35 optional float device_scale_factor = 13;
36 optional float painted_device_scale_factor = 14;
37 optional float page_scale_factor = 15;
38 optional float min_page_scale_factor = 16;
39 optional float max_page_scale_factor = 17;
40 optional Vector2dF elastic_overscroll = 18;
41 optional bool has_gpu_rasterization_trigger = 19;
42 optional bool content_is_suitable_for_gpu_rasterization = 20;
43 optional uint32 background_color = 21; /* SkColor */
44 optional bool has_transparent_background = 22;
45 optional bool in_paint_layer_contents = 23;
46 optional int32 id = 24;
47 optional bool next_commit_forces_redraw = 25;
48 optional int32 overscroll_elasticity_layer_id = 26;
49 optional int32 page_scale_layer_id = 27;
50 optional int32 inner_viewport_scroll_layer_id = 28;
51 optional int32 outer_viewport_scroll_layer_id = 29;
52 optional LayerSelection selection = 30;
53 optional PropertyTrees property_trees = 31;
54 optional uint32 surface_id_namespace = 32;
55 optional uint32 next_surface_sequence = 33;
56 }
OLDNEW
« no previous file with comments | « cc/proto/BUILD.gn ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698