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

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 and fix unit test failures. 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
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('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 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 Vector2dF offset_to_transform_parent = 9;
106 optional bool should_flatten = 10;
107 optional int64 transform_id = 11;
105 } 108 }
106 109
107 // This defines the proto used for all types of struct TreeNode. 110 // This defines the proto used for all types of struct TreeNode.
108 message TreeNode { 111 message TreeNode {
109 // The following fields are the base TreeNode properties. This list 112 // The following fields are the base TreeNode properties. This list
110 // corresponds to the data members from struct TreeNode. 113 // corresponds to the data members from struct TreeNode.
111 optional int64 id = 1; 114 optional int64 id = 1;
112 optional int64 parent_id = 2; 115 optional int64 parent_id = 2;
113 optional int64 owner_id = 3; 116 optional int64 owner_id = 3;
114 117
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 optional PropertyTree scroll_tree = 7; 167 optional PropertyTree scroll_tree = 7;
165 168
166 optional bool needs_rebuild = 4; 169 optional bool needs_rebuild = 4;
167 optional bool non_root_surfaces_enabled = 5; 170 optional bool non_root_surfaces_enabled = 5;
168 optional int64 sequence_number = 6; 171 optional int64 sequence_number = 6;
169 172
170 optional Vector2dF inner_viewport_container_bounds_delta = 8; 173 optional Vector2dF inner_viewport_container_bounds_delta = 8;
171 optional Vector2dF outer_viewport_container_bounds_delta = 9; 174 optional Vector2dF outer_viewport_container_bounds_delta = 9;
172 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 175 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
173 } 176 }
OLDNEW
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698