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

Unified Diff: public/web/WebWidgetClient.h

Issue 1056983004: OverscrollGlow for mainThread-{BLINK CHANGES} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« Source/web/WebViewImpl.cpp ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWidgetClient.h
diff --git a/public/web/WebWidgetClient.h b/public/web/WebWidgetClient.h
index 178c78efa715ec05e28b682b2f31deaa2c1ce711..8ab9df9a2cee364ad283f72d2bb888d78dbb9dfb 100644
--- a/public/web/WebWidgetClient.h
+++ b/public/web/WebWidgetClient.h
@@ -152,6 +152,9 @@ public:
// Called when a gesture event is handled.
virtual void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) { }
+ // Called when overscrolled on main thread.
+ virtual void didOverScrollOnMainThread(const float& unusedDeltaX, const float& unusedDeltaY, const float& accumaltedRootOverScrollX, const float& accumaltedRootOverScrollY, const float& positionX, const float& positionY, const float& velocityX, const float& velocityY) { }
+
// Called to update if touch events should be sent.
virtual void hasTouchEventHandlers(bool) { }
« Source/web/WebViewImpl.cpp ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698