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

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: Change the protobuf indices 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') | cc/proto/layer.proto » ('J')
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 94f827139fe9205e7a3df7468287e7b84224e65b..f4f96cb248c5bf9eb003026c9f10cc46a1958a5f 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -482,6 +482,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;
@@ -721,6 +724,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') | cc/proto/layer.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698