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

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

Issue 2189583004: [not for review - epic CL] Adding Elastic+Momentum+Layered scrolling to views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combined rebase 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
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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // PropertyTree. Only one of these fields should be set, depending on the type 172 // PropertyTree. Only one of these fields should be set, depending on the type
173 // of this property tree. 173 // of this property tree.
174 optional TransformTreeData transform_tree_data = 1000; 174 optional TransformTreeData transform_tree_data = 1000;
175 optional ScrollTreeData scroll_tree_data = 1001; 175 optional ScrollTreeData scroll_tree_data = 1001;
176 optional EffectTreeData effect_tree_data = 1002; 176 optional EffectTreeData effect_tree_data = 1002;
177 } 177 }
178 178
179 message ScrollOffsetMapEntry { 179 message ScrollOffsetMapEntry {
180 required int64 layer_id = 1; 180 required int64 layer_id = 1;
181 optional SyncedProperty scroll_offset = 2; 181 optional SyncedProperty scroll_offset = 2;
182 optional ScrollOffset overscroll = 3;
182 } 183 }
183 184
184 // Proto for data members of class ScrollTree 185 // Proto for data members of class ScrollTree
185 message ScrollTreeData { 186 message ScrollTreeData {
186 optional int64 currently_scrolling_node_id = 1; 187 optional int64 currently_scrolling_node_id = 1;
187 repeated ScrollOffsetMapEntry layer_id_to_scroll_offset_map = 2; 188 repeated ScrollOffsetMapEntry layer_id_to_scroll_offset_map = 2;
188 } 189 }
189 190
190 // Proto for data members of class TransformTree. 191 // Proto for data members of class TransformTree.
191 message TransformTreeData { 192 message TransformTreeData {
(...skipping 28 matching lines...) Expand all
220 optional int64 sequence_number = 6; 221 optional int64 sequence_number = 6;
221 optional bool is_main_thread = 13; 222 optional bool is_main_thread = 13;
222 optional bool is_active = 14; 223 optional bool is_active = 14;
223 optional bool verify_transform_tree_calculations = 16; 224 optional bool verify_transform_tree_calculations = 16;
224 225
225 optional Vector2dF inner_viewport_container_bounds_delta = 8; 226 optional Vector2dF inner_viewport_container_bounds_delta = 8;
226 optional Vector2dF outer_viewport_container_bounds_delta = 9; 227 optional Vector2dF outer_viewport_container_bounds_delta = 9;
227 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 228 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
228 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; 229 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true];
229 } 230 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698