| 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 package cc.proto; | |
| 8 | |
| 9 import "layer.proto"; | |
| 10 import "layer_selection_bound.proto"; | |
| 11 import "size.proto"; | |
| 12 import "vector2df.proto"; | |
| 13 | |
| 14 option optimize_for = LITE_RUNTIME; | |
| 15 | |
| 16 message LayerTree { | |
| 17 optional LayerNode root_layer = 27; | |
| 18 optional int32 overscroll_elasticity_layer_id = 3; | |
| 19 optional int32 page_scale_layer_id = 4; | |
| 20 optional int32 inner_viewport_scroll_layer_id = 5; | |
| 21 optional int32 outer_viewport_scroll_layer_id = 6; | |
| 22 | |
| 23 // Browser Controls ignored. They are not supported. | |
| 24 | |
| 25 optional float device_scale_factor = 13; | |
| 26 optional float painted_device_scale_factor = 14; | |
| 27 optional float page_scale_factor = 15; | |
| 28 optional float min_page_scale_factor = 16; | |
| 29 optional float max_page_scale_factor = 17; | |
| 30 | |
| 31 // TODO(khushalsagar): gfx::ColorSpace? | |
| 32 | |
| 33 optional uint32 background_color = 21; /* SkColor */ | |
| 34 optional bool has_transparent_background = 22; | |
| 35 | |
| 36 optional LayerSelection selection = 29; | |
| 37 optional Size device_viewport_size = 18; | |
| 38 | |
| 39 // TODO(khushalsagar): Do we actually care about these? | |
| 40 optional bool have_scroll_event_handlers = 23; | |
| 41 optional uint32 touch_start_or_move_event_listener_properties = 24; | |
| 42 optional uint32 wheel_event_listener_properties = 25; | |
| 43 optional uint32 touch_end_or_cancel_event_listener_properties = 26; | |
| 44 } | |
| OLD | NEW |