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

Unified Diff: public/web/WebWidget.h

Issue 197213011: Selectively disable rubber banding on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/web/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index 10ad2912191bb0750c0e60ee673b856d11d07c1b..83c0aedb2d0b27da52f0b221cffc2dfe1b9db7cb 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -133,6 +133,7 @@ public:
// Called to inform the WebWidget of an input event. Returns true if
// the event has been processed, false otherwise.
virtual bool handleInputEvent(const WebInputEvent&) { return false; }
+ virtual bool handleInputEvent(const WebInputEvent&, bool can_rubberband_left, bool can_rubberband_right) { return false; }
// Called to inform the WebWidget of the mouse cursor's visibility.
virtual void setCursorVisibilityState(bool isVisible) { }
« Source/platform/mac/ScrollElasticityController.mm ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698