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

Unified Diff: Source/web/WebViewImpl.h

Issue 761303003: Add argument to pass elastic overscroll delta to Blink (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix up types Created 6 years 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
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 6805eb4d94d71579e75a11be0f7d8343273d2451..f4fa0448dd2d3086e559bc123fd7c399bf920abb 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -36,6 +36,7 @@
#include "platform/geometry/IntRect.h"
#include "platform/graphics/GraphicsLayer.h"
#include "platform/heap/Handle.h"
+#include "public/platform/WebFloatSize.h"
#include "public/platform/WebGestureCurveTarget.h"
#include "public/platform/WebLayer.h"
#include "public/platform/WebPoint.h"
@@ -121,6 +122,13 @@ public:
virtual void applyViewportDeltas(
const WebSize& pinchViewportDelta,
const WebSize& mainFrameDelta,
+ const WebFloatSize& elasticOverscrollDelta,
+ float pageScaleDelta,
+ float topControlsDelta) override;
+ // TODO(ccameron): Remove this when all callers are removed.
+ virtual void applyViewportDeltas(
+ const WebSize& pinchViewportDelta,
+ const WebSize& mainFrameDelta,
float pageScaleDelta,
float topControlsDelta) override;
virtual void mouseCaptureLost() override;
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698