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

Unified Diff: cc/proto/layer_tree_host.proto

Issue 2251143002: cc: Reland Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix? 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_host.proto
diff --git a/cc/proto/layer_tree_host.proto b/cc/proto/layer_tree_host.proto
index 76639950df5acea7beba2eb4d9314021f6c2ffbc..9f19f834e69447995859238e9081980642eebb70 100644
--- a/cc/proto/layer_tree_host.proto
+++ b/cc/proto/layer_tree_host.proto
@@ -6,11 +6,8 @@ syntax = "proto2";
import "display_item.proto";
import "layer.proto";
-import "layer_selection_bound.proto";
import "layer_tree.proto";
import "layer_tree_debug_state.proto";
-import "property_tree.proto";
-import "size.proto";
import "vector2df.proto";
package cc.proto;
@@ -30,42 +27,17 @@ message LayerTreeHost {
// Not all members of LayerTreeHost are serialized, as they are not helpful
// for remote usage. See implementation of
// cc::LayerTreeHost::ToProtobufForCommit for details.
- optional bool needs_full_tree_sync = 1;
- optional bool needs_meta_info_recomputation = 2;
optional int32 source_frame_number = 3;
optional int32 meta_information_sequence_number = 4;
- optional LayerNode root_layer = 5;
- optional LayerUpdate layer_updates = 6;
- optional int32 hud_layer_id = 7;
optional LayerTreeDebugState debug_state = 8;
- optional Size device_viewport_size = 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 Vector2dF elastic_overscroll = 18;
optional bool has_gpu_rasterization_trigger = 19;
optional bool content_is_suitable_for_gpu_rasterization = 20;
- optional uint32 background_color = 21; /* SkColor */
- optional bool has_transparent_background = 22;
optional int32 id = 23;
optional bool next_commit_forces_redraw = 24;
- optional int32 overscroll_elasticity_layer_id = 25;
- optional int32 page_scale_layer_id = 26;
- optional int32 inner_viewport_scroll_layer_id = 27;
- optional int32 outer_viewport_scroll_layer_id = 28;
- optional LayerSelection selection = 29;
- optional PropertyTrees property_trees = 30;
optional uint32 surface_client_id = 31;
optional uint32 next_surface_sequence = 32;
- optional uint32 wheel_event_listener_properties = 33;
- optional bool have_scroll_event_handlers = 34;
- optional uint32 touch_start_or_move_event_listener_properties = 35;
optional LayerTree layer_tree = 36;
- optional uint32 touch_end_or_cancel_event_listener_properties = 37;
+ optional LayerUpdate layer_updates = 28;
optional SkPictures pictures = 38;
}

Powered by Google App Engine
This is Rietveld 408576698