| Summary: | Expose long mouse press WebKit API. Part of 135257 - Add long mouse press gesture | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Peyton Randolph <prandolph> | ||||||
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Enhancement | CC: | commit-queue | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Peyton Randolph
2014-08-18 13:47:42 PDT
Created attachment 236782 [details]
Patch
Comment on attachment 236782 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236782&action=review > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h:171 > + WKBundlePageDidBeginTrackingPotentialLongMousePressCallback didBeginTrackingPotentialLongMousePress; > + WKBundlePageDidRecognizeLongMousePressCallback didRecognizeLongMousePress; > + WKBundlePageDidCancelTrackingPotentialLongMousePressCallback didCancelTrackingPotentialLongMousePress; These last three aren’t aligned with all of the above. > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:209 > + WKTypeRef userDataToPass = 0; Please use nullptr. > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:219 > + WKTypeRef userDataToPass = 0; Ditto. > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:229 > + WKTypeRef userDataToPass = 0; Ditto. (In reply to comment #2) > (From update of attachment 236782 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=236782&action=review > > > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h:171 > > + WKBundlePageDidBeginTrackingPotentialLongMousePressCallback didBeginTrackingPotentialLongMousePress; > > + WKBundlePageDidRecognizeLongMousePressCallback didRecognizeLongMousePress; > > + WKBundlePageDidCancelTrackingPotentialLongMousePressCallback didCancelTrackingPotentialLongMousePress; > > These last three aren’t aligned with all of the above. Aligned. > > > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:209 > > + WKTypeRef userDataToPass = 0; > > Please use nullptr. Fixed. > > > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:219 > > + WKTypeRef userDataToPass = 0; > > Ditto. Fixed. > > > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:229 > > + WKTypeRef userDataToPass = 0; > > Ditto. Fixed. Created attachment 236784 [details]
Patch
Comment on attachment 236784 [details] Patch Clearing flags on attachment: 236784 Committed r172729: <http://trac.webkit.org/changeset/172729> All reviewed patches have been landed. Closing bug. |