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

Side by Side Diff: cc/trees/property_tree.h

Issue 1626513003: Add ScrollTree builder and unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master Created 4 years, 11 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/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/property_tree.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CC_TREES_PROPERTY_TREE_H_ 5 #ifndef CC_TREES_PROPERTY_TREE_H_
6 #define CC_TREES_PROPERTY_TREE_H_ 6 #define CC_TREES_PROPERTY_TREE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void FromProtobuf(const proto::TreeNode& proto); 258 void FromProtobuf(const proto::TreeNode& proto);
259 }; 259 };
260 260
261 typedef TreeNode<EffectNodeData> EffectNode; 261 typedef TreeNode<EffectNodeData> EffectNode;
262 262
263 struct CC_EXPORT ScrollNodeData { 263 struct CC_EXPORT ScrollNodeData {
264 ScrollNodeData(); 264 ScrollNodeData();
265 265
266 bool scrollable; 266 bool scrollable;
267 bool should_scroll_on_main_thread; 267 bool should_scroll_on_main_thread;
268 ScrollBlocksOn scroll_blocks_on;
269 bool contains_non_fast_scrollable_region; 268 bool contains_non_fast_scrollable_region;
270 269
271 int transform_id; 270 int transform_id;
272 271
273 bool operator==(const ScrollNodeData& other) const; 272 bool operator==(const ScrollNodeData& other) const;
274 273
275 void ToProtobuf(proto::TreeNode* proto) const; 274 void ToProtobuf(proto::TreeNode* proto) const;
276 void FromProtobuf(const proto::TreeNode& proto); 275 void FromProtobuf(const proto::TreeNode& proto);
277 }; 276 };
278 277
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 ClipTree clip_tree; 535 ClipTree clip_tree;
537 ScrollTree scroll_tree; 536 ScrollTree scroll_tree;
538 bool needs_rebuild; 537 bool needs_rebuild;
539 bool non_root_surfaces_enabled; 538 bool non_root_surfaces_enabled;
540 int sequence_number; 539 int sequence_number;
541 }; 540 };
542 541
543 } // namespace cc 542 } // namespace cc
544 543
545 #endif // CC_TREES_PROPERTY_TREE_H_ 544 #endif // CC_TREES_PROPERTY_TREE_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698