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

Unified Diff: Source/core/page/EventHandler.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/core/page/EventHandler.h
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
index 7f025b214ddea81fe6003c45695eab1dd4ee45e5..4be1a801c359d1b2d75e128c8363ab4070e41fab 100644
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -139,7 +139,7 @@ public:
bool handleMousePressEvent(const PlatformMouseEvent&);
bool handleMouseReleaseEvent(const PlatformMouseEvent&);
- bool handleWheelEvent(const PlatformWheelEvent&);
+ bool handleWheelEvent(const PlatformWheelEvent&, bool canRubberbandLeft, bool canRubberbandRight);
void defaultWheelEventHandler(Node*, WheelEvent*);
bool handleGestureEvent(const PlatformGestureEvent&);
@@ -281,7 +281,7 @@ private:
bool passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults&);
- bool passWheelEventToWidget(const PlatformWheelEvent&, Widget*);
+ bool passWheelEventToWidget(const PlatformWheelEvent&, Widget*, bool, bool);
void defaultSpaceEventHandler(KeyboardEvent*);
void defaultBackspaceEventHandler(KeyboardEvent*);

Powered by Google App Engine
This is Rietveld 408576698