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

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

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: 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: 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 bfbc9ed2e30dbf24782434f972f7e9555a4e3f57..239e948cb3238e1f09502cf20454a987f0eecfcd 100644
--- a/third_party/WebKit/public/platform/WebLayer.h
+++ b/third_party/WebKit/public/platform/WebLayer.h
@@ -158,8 +158,8 @@ class WebLayer {
virtual void setClipParent(WebLayer*) = 0;
// Scrolling
- virtual void setScrollPositionDouble(WebDoublePoint) = 0;
- virtual WebDoublePoint scrollPositionDouble() const = 0;
+ virtual void setScrollOffset(WebFloatSize) = 0;
+ virtual WebFloatSize scrollOffset() const = 0;
// To set a WebLayer as scrollable we must specify the corresponding clip layer.
virtual void setScrollClipLayer(WebLayer*) = 0;

Powered by Google App Engine
This is Rietveld 408576698