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

Unified Diff: cc/layers/layer_impl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index e3d0c877e4d96c5ba71dfec1c2db07835e986eaf..43a424fadba349c34711aa5d2ea98362e90865f7 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -170,6 +170,9 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
void SetEffectTreeIndex(int index);
int effect_tree_index() const { return effect_tree_index_; }
+ void SetScrollTreeIndex(int index);
+ int scroll_tree_index() const { return scroll_tree_index_; }
+
void set_offset_to_transform_parent(const gfx::Vector2dF& offset) {
offset_to_transform_parent_ = offset;
SetNeedsPushProperties();
@@ -829,6 +832,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
int transform_tree_index_;
int effect_tree_index_;
int clip_tree_index_;
+ int scroll_tree_index_;
// The global depth value of the center of the layer. This value is used
// to sort layers from back to front.
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698