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

Unified Diff: public/web/WebWidget.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 | « Source/web/tests/PinchViewportTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index f2d2d2229f72810965fb9727b5e1c8281058b1e5..94e01c4e485e338bd5c98d8786354d7866a4eb73 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -33,6 +33,7 @@
#include "../platform/WebCanvas.h"
#include "../platform/WebCommon.h"
+#include "../platform/WebFloatSize.h"
#include "../platform/WebPoint.h"
#include "../platform/WebRect.h"
#include "../platform/WebSize.h"
@@ -149,6 +150,13 @@ public:
virtual void applyViewportDeltas(
const WebSize& pinchViewportDelta,
const WebSize& mainFrameDelta,
+ const WebFloatSize& elasticOverscrollDelta,
+ float scaleFactor,
+ float topControlsDelta) { }
+ // TODO(ccameron): Delete this when all callers are removed.
+ virtual void applyViewportDeltas(
+ const WebSize& pinchViewportDelta,
+ const WebSize& mainFrameDelta,
float scaleFactor,
float topControlsDelta) { }
« no previous file with comments | « Source/web/tests/PinchViewportTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698