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

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

Issue 1680613002: Adding momentum/overscroll to views:: ScrollViews Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Tableview layout. aaaand I think we are done 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 unified diff | Download patch
« no previous file with comments | « cc/proto/layer.proto ('k') | cc/test/layer_tree_json_parser.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 "element_id.proto"; 7 import "element_id.proto";
8 import "rectf.proto"; 8 import "rectf.proto";
9 import "scroll_offset.proto"; 9 import "scroll_offset.proto";
10 import "size.proto"; 10 import "size.proto";
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // PropertyTree. Only one of these fields should be set, depending on the type 170 // PropertyTree. Only one of these fields should be set, depending on the type
171 // of this property tree. 171 // of this property tree.
172 optional TransformTreeData transform_tree_data = 1000; 172 optional TransformTreeData transform_tree_data = 1000;
173 optional ScrollTreeData scroll_tree_data = 1001; 173 optional ScrollTreeData scroll_tree_data = 1001;
174 optional EffectTreeData effect_tree_data = 1002; 174 optional EffectTreeData effect_tree_data = 1002;
175 } 175 }
176 176
177 message ScrollOffsetMapEntry { 177 message ScrollOffsetMapEntry {
178 required int64 layer_id = 1; 178 required int64 layer_id = 1;
179 optional SyncedProperty scroll_offset = 2; 179 optional SyncedProperty scroll_offset = 2;
180 optional ScrollOffset overscroll = 3;
180 } 181 }
181 182
182 // Proto for data members of class ScrollTree 183 // Proto for data members of class ScrollTree
183 message ScrollTreeData { 184 message ScrollTreeData {
184 optional int64 currently_scrolling_node_id = 1; 185 optional int64 currently_scrolling_node_id = 1;
185 repeated ScrollOffsetMapEntry layer_id_to_scroll_offset_map = 2; 186 repeated ScrollOffsetMapEntry layer_id_to_scroll_offset_map = 2;
186 } 187 }
187 188
188 // Proto for data members of class TransformTree. 189 // Proto for data members of class TransformTree.
189 message TransformTreeData { 190 message TransformTreeData {
(...skipping 27 matching lines...) Expand all
217 optional bool full_tree_damaged = 12; 218 optional bool full_tree_damaged = 12;
218 optional int64 sequence_number = 6; 219 optional int64 sequence_number = 6;
219 optional bool is_main_thread = 13; 220 optional bool is_main_thread = 13;
220 optional bool is_active = 14; 221 optional bool is_active = 14;
221 222
222 optional Vector2dF inner_viewport_container_bounds_delta = 8; 223 optional Vector2dF inner_viewport_container_bounds_delta = 8;
223 optional Vector2dF outer_viewport_container_bounds_delta = 9; 224 optional Vector2dF outer_viewport_container_bounds_delta = 9;
224 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 225 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
225 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; 226 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true];
226 } 227 }
OLDNEW
« no previous file with comments | « cc/proto/layer.proto ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698