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

Unified Diff: Source/web/WebViewImpl.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/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index fdc747f92bab686ad821eff6dfd23388f24b27c1..77c35a90b0da9bb0abeee8570fcd53cb703ccd1c 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -135,6 +135,7 @@ public:
virtual bool isTrackingRepaints() const OVERRIDE;
virtual void themeChanged() OVERRIDE;
virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
+ virtual bool handleInputEvent(const WebInputEvent&, bool canRubberbandLeft, bool canRubberbandRight) OVERRIDE;
virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE;
virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE;
@@ -595,7 +596,7 @@ private:
virtual void handleMouseLeave(WebCore::LocalFrame&, const WebMouseEvent&) OVERRIDE;
virtual void handleMouseDown(WebCore::LocalFrame&, const WebMouseEvent&) OVERRIDE;
virtual void handleMouseUp(WebCore::LocalFrame&, const WebMouseEvent&) OVERRIDE;
- virtual bool handleMouseWheel(WebCore::LocalFrame&, const WebMouseWheelEvent&) OVERRIDE;
+ virtual bool handleMouseWheel(WebCore::LocalFrame& mainFrame, const WebMouseWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight) OVERRIDE;
virtual bool handleGestureEvent(const WebGestureEvent&) OVERRIDE;
virtual bool handleKeyEvent(const WebKeyboardEvent&) OVERRIDE;
virtual bool handleCharEvent(const WebKeyboardEvent&) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698