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

Unified Diff: cc/proto/layer_tree.proto

Issue 2183403002: cc: Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layer_tree_change
Patch Set: remove unused test file. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: cc/proto/layer_tree.proto
diff --git a/cc/proto/layer_tree.proto b/cc/proto/layer_tree.proto
index 790f08e672fef6063cd0714bab039d244287a0db..26b529168ad01be167ccb8030bfed1b8ae004d2c 100644
--- a/cc/proto/layer_tree.proto
+++ b/cc/proto/layer_tree.proto
@@ -6,9 +6,39 @@ syntax = "proto2";
package cc.proto;
+import "layer.proto";
+import "layer_selection_bound.proto";
+import "property_tree.proto";
+import "size.proto";
+
option optimize_for = LITE_RUNTIME;
message LayerTree {
repeated int32 layers_that_should_push_properties = 1;
optional bool in_paint_layer_contents = 2;
+ optional int32 overscroll_elasticity_layer_id = 3;
+ optional int32 page_scale_layer_id = 4;
+ optional int32 inner_viewport_scroll_layer_id = 5;
+ optional int32 outer_viewport_scroll_layer_id = 6;
+ optional bool needs_full_tree_sync = 7;
+ optional bool needs_meta_info_recomputation = 8;
+ optional int32 hud_layer_id = 9;
+ optional bool top_controls_shrink_blink_size = 10;
+ optional float top_controls_height = 11;
+ optional float top_controls_shown_ratio = 12;
+ optional float device_scale_factor = 13;
+ optional float painted_device_scale_factor = 14;
+ optional float page_scale_factor = 15;
+ optional float min_page_scale_factor = 16;
+ optional float max_page_scale_factor = 17;
+ optional Size device_viewport_size = 18;
+ optional uint32 background_color = 21; /* SkColor */
+ optional bool has_transparent_background = 22;
+ optional bool have_scroll_event_handlers = 23;
+ optional uint32 touch_start_or_move_event_listener_properties = 24;
+ optional uint32 wheel_event_listener_properties = 25;
+ optional uint32 touch_end_or_cancel_event_listener_properties = 26;
+ optional LayerNode root_layer = 27;
+ optional LayerSelection selection = 29;
+ optional PropertyTrees property_trees = 30;
}

Powered by Google App Engine
This is Rietveld 408576698