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

Unified Diff: cc/trees/property_tree.h

Issue 2445093002: cc/blimp: Add synchronization for scroll/scale state. (Closed)
Patch Set: minor fix Created 4 years, 2 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 6edac892bc4636e2022d51fb1fd4d79f137ae9bc..196cf8d8c5989e2e12770277fb9e37afcf27d294 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -446,6 +446,9 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
void SetScrollOffsetClobberActiveValue(int layer_id) {
synced_scroll_offset(layer_id)->set_clobber_active_value();
}
+ void AddUnappliedDeltaOnPendingTree(
+ int layer_id,
+ const gfx::ScrollOffset& scroll_offset_delta);
bool UpdateScrollOffsetBaseForTesting(int layer_id,
const gfx::ScrollOffset& offset);
bool SetScrollOffsetDeltaForTesting(int layer_id,

Powered by Google App Engine
This is Rietveld 408576698