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

Unified Diff: cc/layers/layer.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 | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 1ddb5e812d3f83bda1e1f573ccfaf072c8f3023b..afc6dc3ef24503671fc76c115e8c08babdabc16e 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -483,6 +483,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
void SetEffectTreeIndex(int index);
int effect_tree_index() const;
+ void SetScrollTreeIndex(int index);
+ int scroll_tree_index() const;
+
void set_offset_to_transform_parent(gfx::Vector2dF offset) {
if (offset_to_transform_parent_ == offset)
return;
@@ -716,6 +719,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
int transform_tree_index_;
int effect_tree_index_;
int clip_tree_index_;
+ int scroll_tree_index_;
int property_tree_sequence_number_;
uint64_t element_id_;
uint32_t mutable_properties_;
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698