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

Unified Diff: Source/web/PageWidgetDelegate.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: Source/web/PageWidgetDelegate.h
diff --git a/Source/web/PageWidgetDelegate.h b/Source/web/PageWidgetDelegate.h
index 66e29c565b9abad8630722d51978a0791116de0f..8c00102f0e24a3d2f10b36a8a02d43bf2584630f 100644
--- a/Source/web/PageWidgetDelegate.h
+++ b/Source/web/PageWidgetDelegate.h
@@ -57,7 +57,7 @@ public:
virtual void handleMouseLeave(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
virtual void handleMouseDown(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
virtual void handleMouseUp(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
- virtual bool handleMouseWheel(WebCore::LocalFrame& mainFrame, const WebMouseWheelEvent&);
+ virtual bool handleMouseWheel(WebCore::LocalFrame& mainFrame, const WebMouseWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight);
virtual bool handleKeyEvent(const WebKeyboardEvent&) = 0;
virtual bool handleCharEvent(const WebKeyboardEvent&) = 0;
virtual bool handleGestureEvent(const WebGestureEvent&) = 0;
@@ -76,7 +76,7 @@ public:
static void animate(WebCore::Page*, double monotonicFrameBeginTime);
static void layout(WebCore::Page*);
static void paint(WebCore::Page*, PageOverlayList*, WebCanvas*, const WebRect&, CanvasBackground);
- static bool handleInputEvent(WebCore::Page*, PageWidgetEventHandler&, const WebInputEvent&);
+ static bool handleInputEvent(WebCore::Page*, PageWidgetEventHandler&, const WebInputEvent&, bool canRubberbandLeft, bool canRubberbandRight);
private:
PageWidgetDelegate() { }

Powered by Google App Engine
This is Rietveld 408576698