| OLD | NEW |
| 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 package cc.proto; | 7 package cc.proto; |
| 8 | 8 |
| 9 import "layer.proto"; | 9 import "layer.proto"; |
| 10 import "layer_selection_bound.proto"; | 10 import "layer_selection_bound.proto"; |
| 11 import "property_tree.proto"; | 11 import "property_tree.proto"; |
| 12 import "size.proto"; | 12 import "size.proto"; |
| 13 import "vector2df.proto"; | 13 import "vector2df.proto"; |
| 14 | 14 |
| 15 option optimize_for = LITE_RUNTIME; | 15 option optimize_for = LITE_RUNTIME; |
| 16 | 16 |
| 17 message LayerTree { | 17 message LayerTree { |
| 18 // LayerTree::Inputs ---------------------------------------- | 18 // LayerTree::Inputs ---------------------------------------- |
| 19 optional LayerNode root_layer = 27; | 19 optional LayerNode root_layer = 27; |
| 20 optional int32 overscroll_elasticity_layer_id = 3; | 20 optional int32 overscroll_elasticity_layer_id = 3; |
| 21 optional int32 page_scale_layer_id = 4; | 21 optional int32 page_scale_layer_id = 4; |
| 22 optional int32 inner_viewport_scroll_layer_id = 5; | 22 optional int32 inner_viewport_scroll_layer_id = 5; |
| 23 optional int32 outer_viewport_scroll_layer_id = 6; | 23 optional int32 outer_viewport_scroll_layer_id = 6; |
| 24 | 24 |
| 25 // Top Controls ignored. They are not supported. | 25 // Browser Controls ignored. They are not supported. |
| 26 | 26 |
| 27 optional float device_scale_factor = 13; | 27 optional float device_scale_factor = 13; |
| 28 optional float painted_device_scale_factor = 14; | 28 optional float painted_device_scale_factor = 14; |
| 29 optional float page_scale_factor = 15; | 29 optional float page_scale_factor = 15; |
| 30 optional float min_page_scale_factor = 16; | 30 optional float min_page_scale_factor = 16; |
| 31 optional float max_page_scale_factor = 17; | 31 optional float max_page_scale_factor = 17; |
| 32 | 32 |
| 33 // TODO(khushalsagar): gfx::ColorSpace? | 33 // TODO(khushalsagar): gfx::ColorSpace? |
| 34 | 34 |
| 35 optional uint32 background_color = 21; /* SkColor */ | 35 optional uint32 background_color = 21; /* SkColor */ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 48 | 48 |
| 49 // TODO(khushalsagar): Remove these when crbug.com/648442 | 49 // TODO(khushalsagar): Remove these when crbug.com/648442 |
| 50 repeated int32 layers_that_should_push_properties = 1; | 50 repeated int32 layers_that_should_push_properties = 1; |
| 51 optional bool in_paint_layer_contents = 2; | 51 optional bool in_paint_layer_contents = 2; |
| 52 optional bool needs_full_tree_sync = 7; | 52 optional bool needs_full_tree_sync = 7; |
| 53 optional bool needs_meta_info_recomputation = 8; | 53 optional bool needs_meta_info_recomputation = 8; |
| 54 optional int32 hud_layer_id = 9; | 54 optional int32 hud_layer_id = 9; |
| 55 optional PropertyTrees property_trees = 30; | 55 optional PropertyTrees property_trees = 30; |
| 56 optional Vector2dF elastic_overscroll = 31; | 56 optional Vector2dF elastic_overscroll = 31; |
| 57 } | 57 } |
| OLD | NEW |