Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 { | |
|
vmpstr
2016/01/11 22:06:29
Can you add a comment here for whether all of thes
nyquist
2016/01/13 01:34:11
Done.
| |
| 20 optional bool needs_full_tree_sync = 1; | |
| 21 optional bool needs_meta_info_recomputation = 2; | |
| 22 optional int32 source_frame_number = 3; | |
| 23 optional int32 meta_information_sequence_number = 4; | |
| 24 optional LayerNode root_layer = 5; | |
| 25 optional LayerUpdate layer_updates = 6; | |
| 26 optional int32 hud_layer_id = 7; | |
| 27 optional LayerTreeDebugState debug_state = 8; | |
| 28 optional Size device_viewport_size = 9; | |
| 29 optional bool top_controls_shrink_blink_size = 10; | |
| 30 optional float top_controls_height = 11; | |
| 31 optional float top_controls_shown_ratio = 12; | |
| 32 optional float device_scale_factor = 13; | |
| 33 optional float painted_device_scale_factor = 14; | |
| 34 optional float page_scale_factor = 15; | |
| 35 optional float min_page_scale_factor = 16; | |
| 36 optional float max_page_scale_factor = 17; | |
| 37 optional Vector2dF elastic_overscroll = 18; | |
| 38 optional bool has_gpu_rasterization_trigger = 19; | |
| 39 optional bool content_is_suitable_for_gpu_rasterization = 20; | |
| 40 optional uint32 background_color = 21; /* SkColor */ | |
|
vmpstr
2016/01/11 22:06:29
should we add an SkColor proto message or do you t
nyquist
2016/01/13 01:34:11
It is defined as uint32_t, so I'd like to keep it
| |
| 41 optional bool has_transparent_background = 22; | |
| 42 optional bool in_paint_layer_contents = 23; | |
| 43 optional int32 id = 24; | |
| 44 optional bool next_commit_forces_redraw = 25; | |
| 45 optional int32 overscroll_elasticity_layer_id = 26; | |
| 46 optional int32 page_scale_layer_id = 27; | |
| 47 optional int32 inner_viewport_scroll_layer_id = 28; | |
| 48 optional int32 outer_viewport_scroll_layer_id = 29; | |
| 49 optional LayerSelection selection = 30; | |
| 50 optional PropertyTrees property_trees = 31; | |
| 51 optional uint32 surface_id_namespace = 32; | |
| 52 optional uint32 next_surface_sequence = 33; | |
| 53 } | |
| OLD | NEW |