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

Side by Side Diff: cc/proto/layer_tree.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/layer.proto ('k') | cc/proto/layer_tree_debug_state.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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";
12 import "size.proto"; 11 import "size.proto";
13 import "vector2df.proto"; 12 import "vector2df.proto";
14 13
15 option optimize_for = LITE_RUNTIME; 14 option optimize_for = LITE_RUNTIME;
16 15
17 message LayerTree { 16 message LayerTree {
18 // LayerTree::Inputs ----------------------------------------
19 optional LayerNode root_layer = 27; 17 optional LayerNode root_layer = 27;
20 optional int32 overscroll_elasticity_layer_id = 3; 18 optional int32 overscroll_elasticity_layer_id = 3;
21 optional int32 page_scale_layer_id = 4; 19 optional int32 page_scale_layer_id = 4;
22 optional int32 inner_viewport_scroll_layer_id = 5; 20 optional int32 inner_viewport_scroll_layer_id = 5;
23 optional int32 outer_viewport_scroll_layer_id = 6; 21 optional int32 outer_viewport_scroll_layer_id = 6;
24 22
25 // Browser Controls ignored. They are not supported. 23 // Browser Controls ignored. They are not supported.
26 24
27 optional float device_scale_factor = 13; 25 optional float device_scale_factor = 13;
28 optional float painted_device_scale_factor = 14; 26 optional float painted_device_scale_factor = 14;
29 optional float page_scale_factor = 15; 27 optional float page_scale_factor = 15;
30 optional float min_page_scale_factor = 16; 28 optional float min_page_scale_factor = 16;
31 optional float max_page_scale_factor = 17; 29 optional float max_page_scale_factor = 17;
32 30
33 // TODO(khushalsagar): gfx::ColorSpace? 31 // TODO(khushalsagar): gfx::ColorSpace?
34 32
35 optional uint32 background_color = 21; /* SkColor */ 33 optional uint32 background_color = 21; /* SkColor */
36 optional bool has_transparent_background = 22; 34 optional bool has_transparent_background = 22;
37 35
38 optional LayerSelection selection = 29; 36 optional LayerSelection selection = 29;
39 optional Size device_viewport_size = 18; 37 optional Size device_viewport_size = 18;
40 38
41 // TODO(khushalsagar): Do we actually care about these? 39 // TODO(khushalsagar): Do we actually care about these?
42 optional bool have_scroll_event_handlers = 23; 40 optional bool have_scroll_event_handlers = 23;
43 optional uint32 touch_start_or_move_event_listener_properties = 24; 41 optional uint32 touch_start_or_move_event_listener_properties = 24;
44 optional uint32 wheel_event_listener_properties = 25; 42 optional uint32 wheel_event_listener_properties = 25;
45 optional uint32 touch_end_or_cancel_event_listener_properties = 26; 43 optional uint32 touch_end_or_cancel_event_listener_properties = 26;
46
47 // ------------------------------------------------------------
48
49 // TODO(khushalsagar): Remove these when crbug.com/648442
50 repeated int32 layers_that_should_push_properties = 1;
51 optional bool in_paint_layer_contents = 2;
52 optional bool needs_full_tree_sync = 7;
53 optional bool needs_meta_info_recomputation = 8;
54 optional int32 hud_layer_id = 9;
55 optional PropertyTrees property_trees = 30;
56 optional Vector2dF elastic_overscroll = 31;
57 } 44 }
OLDNEW
« no previous file with comments | « cc/proto/layer.proto ('k') | cc/proto/layer_tree_debug_state.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698