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

Unified Diff: third_party/WebKit/public/platform/WebLayer.h

Issue 2767213003: First Implementation of Snapped Points
Patch Set: Rebase and format Created 3 years, 6 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: third_party/WebKit/public/platform/WebLayer.h
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h
index dc6efa8392b12f1f48e546b9196107ae7ff2c404..b7588775b160e7054de2a62ab93c55b0c1538055 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -56,6 +56,7 @@ class WebLayerScrollClient;
struct WebFloatPoint;
struct WebLayerPositionConstraint;
struct WebLayerStickyPositionConstraint;
+struct WebSnapPointList;
class WebLayer {
public:
@@ -209,6 +210,8 @@ class WebLayer {
// deleting the scroll client.
virtual void SetScrollClient(WebLayerScrollClient*) = 0;
+ virtual void SetScrollSnapOffsets(const WebSnapPointList&) = 0;
+
// Sets the cc-side layer client.
virtual void SetLayerClient(cc::LayerClient*) = 0;
« no previous file with comments | « third_party/WebKit/public/platform/WebGestureCurve.h ('k') | third_party/WebKit/public/platform/WebSnapPointList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698