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

Unified Diff: cc/trees/property_tree.h

Issue 2445093002: cc/blimp: Add synchronization for scroll/scale state. (Closed)
Patch Set: Addressed comments 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 ce6b618fc528108dc2781cf4981937b672f0c20f..9fd494d5c783f610276eb143821c6293efd300ca 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -452,6 +452,9 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
void SetScrollOffsetClobberActiveValue(int layer_id) {
synced_scroll_offset(layer_id)->set_clobber_active_value();
}
+ void AddUnappliedScrollOffsetDeltaToPendingTree(
+ 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