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

Unified Diff: public/platform/WebLayer.h

Issue 629583002: Make compositor and blink talk in fractional scroll offset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index 3950cc1d5342dc5e9e1c4c22aab629d646c211e6..84f53d9bfd5ad18877307ed76dd0a91e3edee0b8 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -30,6 +30,7 @@
#include "WebColor.h"
#include "WebCommon.h"
#include "WebCompositorAnimation.h"
+#include "WebDoublePoint.h"
#include "WebFloatPoint3D.h"
#include "WebPoint.h"
#include "WebRect.h"
@@ -161,8 +162,8 @@ public:
virtual void setClipParent(WebLayer*) = 0;
// Scrolling
- virtual void setScrollPosition(WebPoint) = 0;
- virtual WebPoint scrollPosition() const = 0;
+ virtual void setScrollPositionDouble(WebDoublePoint) = 0;
+ virtual WebDoublePoint scrollPositionDouble() const = 0;
// To set a WebLayer as scrollable we must specify the corresponding clip layer.
virtual void setScrollClipLayer(WebLayer*) = 0;
« Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ('K') | « public/platform/WebDoublePoint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698