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

Unified Diff: cc/trees/property_tree.h

Issue 1866583002: Connect LTHI::ScrollAnimated to cc::Viewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index e441ed84f700dd0132a4574f45a21d7d33f84040..b90010f8de7f56d7081d4527022dae3f8f439748 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -609,6 +609,8 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
gfx::Vector2dF ScrollBy(ScrollNode* scroll_node,
const gfx::Vector2dF& scroll,
LayerTreeImpl* layer_tree_impl);
+ gfx::ScrollOffset ClampScrollOffsetToLimits(gfx::ScrollOffset offset,
+ ScrollNode* scroll_node) const;
private:
int currently_scrolling_node_id_;
@@ -620,8 +622,6 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
void UpdateScrollOffsetMapEntry(int key,
ScrollOffsetMap* new_scroll_offset_map,
LayerTreeImpl* layer_tree_impl);
- gfx::ScrollOffset ClampScrollOffsetToLimits(gfx::ScrollOffset offset,
- ScrollNode* scroll_node) const;
};
class CC_EXPORT PropertyTrees final {
« cc/trees/layer_tree_host_impl.cc ('K') | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698