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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2188133002: Scroll with Layers in views::ScrollView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollTrack
Patch Set: Add a test for the transform goop Created 4 years, 4 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/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 07162c06159669372fa6ebe585eb25dd02999243..640947e55bd7f83d1ac6db40997971da3d43e024 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -202,6 +202,9 @@ class CC_EXPORT LayerTreeHostImpl
std::unique_ptr<SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
ui::LatencyInfo* latency) override;
ScrollElasticityHelper* CreateScrollElasticityHelper() override;
+ bool GetScrollOffsetForLayer(int layer_id,
+ gfx::ScrollOffset* offset) override;
+ bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override;
// TopControlsManagerClient implementation.
float TopControlsHeight() const override;

Powered by Google App Engine
This is Rietveld 408576698