| Summary: | WebKit2 View Gestures (Swipe): Give WebCore the first crack at scroll events if it needs it | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||||||
| Component: | WebKit2 | Assignee: | Tim Horton <thorton> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | andersca, commit-queue, sam, simon.fraser, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Tim Horton
2014-01-21 18:23:04 PST
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. |