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

Side by Side Diff: cc/proto/property_tree.proto

Issue 1689293002: cc: Move TryScroll from LayerImpl to LayerTreeHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master branch Created 4 years, 10 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 unified diff | Download patch
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 import "rectf.proto"; 7 import "rectf.proto";
8 import "scroll_offset.proto"; 8 import "scroll_offset.proto";
9 import "size.proto"; 9 import "size.proto";
10 import "transform.proto"; 10 import "transform.proto";
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Proto for struct ScrollNodeData 95 // Proto for struct ScrollNodeData
96 message ScrollNodeData { 96 message ScrollNodeData {
97 optional bool scrollable = 1; 97 optional bool scrollable = 1;
98 optional int32 main_thread_scrolling_reasons = 2; 98 optional int32 main_thread_scrolling_reasons = 2;
99 optional bool contains_non_fast_scrollable_region = 3; 99 optional bool contains_non_fast_scrollable_region = 3;
100 optional Size scroll_clip_layer_bounds = 4; 100 optional Size scroll_clip_layer_bounds = 4;
101 optional Size bounds = 5; 101 optional Size bounds = 5;
102 optional bool max_scroll_offset_affected_by_page_scale = 6; 102 optional bool max_scroll_offset_affected_by_page_scale = 6;
103 optional bool is_inner_viewport_scroll_layer = 7; 103 optional bool is_inner_viewport_scroll_layer = 7;
104 optional bool is_outer_viewport_scroll_layer = 8; 104 optional bool is_outer_viewport_scroll_layer = 8;
105 optional int64 transform_id = 9;
105 } 106 }
106 107
107 // This defines the proto used for all types of struct TreeNode. 108 // This defines the proto used for all types of struct TreeNode.
108 message TreeNode { 109 message TreeNode {
109 // The following fields are the base TreeNode properties. This list 110 // The following fields are the base TreeNode properties. This list
110 // corresponds to the data members from struct TreeNode. 111 // corresponds to the data members from struct TreeNode.
111 optional int64 id = 1; 112 optional int64 id = 1;
112 optional int64 parent_id = 2; 113 optional int64 parent_id = 2;
113 optional int64 owner_id = 3; 114 optional int64 owner_id = 3;
114 115
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 optional PropertyTree scroll_tree = 7; 165 optional PropertyTree scroll_tree = 7;
165 166
166 optional bool needs_rebuild = 4; 167 optional bool needs_rebuild = 4;
167 optional bool non_root_surfaces_enabled = 5; 168 optional bool non_root_surfaces_enabled = 5;
168 optional int64 sequence_number = 6; 169 optional int64 sequence_number = 6;
169 170
170 optional Vector2dF inner_viewport_container_bounds_delta = 8; 171 optional Vector2dF inner_viewport_container_bounds_delta = 8;
171 optional Vector2dF outer_viewport_container_bounds_delta = 9; 172 optional Vector2dF outer_viewport_container_bounds_delta = 9;
172 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 173 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
173 } 174 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698