If a page has synchronous wheel event handlers, we should let it attempt to handle events before starting a swipe.
<rdar://problem/15876893>
Created attachment 222501 [details] patch
Comment on attachment 222501 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=222501&action=review > Source/WebKit2/UIProcess/API/mac/PageClientImpl.h:118 > + virtual void didNotHandleWheelEvent(const NativeWebWheelEvent&) override; Who did not handle it? The receiver (the page client)?
Attachment 222501 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/mac/ViewGestureController.h:59: The parameter name "event" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 222504 [details] patch
Created attachment 222510 [details] use NSEvent at the WKView level
Created attachment 222513 [details] remove unneeded fwd declaration
Comment on attachment 222513 [details] remove unneeded fwd declaration View in context: https://bugs.webkit.org/attachment.cgi?id=222513&action=review > Source/WebKit2/UIProcess/mac/ViewGestureController.h:114 > + bool m_hasDeferredSwipe; > + SwipeDirection m_deferredSwipeDirection; I think pending would be more fitting than deferred here.
http://trac.webkit.org/changeset/162984