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

Unified Diff: cc/trees/property_tree.h

Issue 1689293002: cc: Move TryScroll from LayerImpl to LayerTreeHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master and fix unit test failures. Created 4 years, 10 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/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index dac4c9201c3aa731c05694f4ced8896e92c4dc95..5265bc69d99714789539604d0220291455bf1112 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -275,6 +275,9 @@ struct CC_EXPORT ScrollNodeData {
bool max_scroll_offset_affected_by_page_scale;
bool is_inner_viewport_scroll_layer;
bool is_outer_viewport_scroll_layer;
+ gfx::Vector2dF offset_to_transform_parent;
+ bool should_flatten;
+ int transform_id;
bool operator==(const ScrollNodeData& other) const;
@@ -530,6 +533,7 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
void FromProtobuf(const proto::PropertyTree& proto);
gfx::ScrollOffset MaxScrollOffset(int scroll_node_id) const;
+ gfx::Transform ScreenSpaceTransform(int scroll_node_id) const;
};
class CC_EXPORT PropertyTrees final {
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698