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

Unified Diff: public/web/mac/WebInputEventFactory.h

Issue 197213011: Selectively disable rubber banding on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove all changes to ScrollElasticityController.{h,mm} 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
« no previous file with comments | « public/web/WebInputEvent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/mac/WebInputEventFactory.h
diff --git a/public/web/mac/WebInputEventFactory.h b/public/web/mac/WebInputEventFactory.h
index 5aad96d22801f4dad6d8780715fdfc6470f222a8..d09c32a4985fd525c2520c387d31efaefc196975 100644
--- a/public/web/mac/WebInputEventFactory.h
+++ b/public/web/mac/WebInputEventFactory.h
@@ -53,7 +53,9 @@ public:
BLINK_EXPORT static WebKeyboardEvent keyboardEvent(NSEvent*);
BLINK_EXPORT static WebKeyboardEvent keyboardEvent(wchar_t character, int modifiers, double timeStampSeconds);
BLINK_EXPORT static WebMouseEvent mouseEvent(NSEvent*, NSView*);
+ // TODO(erikchen): Remove this method once chrome has been updated to use the method with 4 parameters.
BLINK_EXPORT static WebMouseWheelEvent mouseWheelEvent(NSEvent*, NSView*);
+ BLINK_EXPORT static WebMouseWheelEvent mouseWheelEvent(NSEvent*, NSView*, bool canRubberbandLeft, bool canRubberbandRight);
BLINK_EXPORT static WebGestureEvent gestureEvent(NSEvent *, NSView *);
BLINK_EXPORT static bool isSystemKeyEvent(const WebKeyboardEvent&);
};
« no previous file with comments | « public/web/WebInputEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698