| Summary: | WK2: Add initial support for immediate actions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, bdakin, thorton | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Beth Dakin
2014-12-10 15:32:22 PST
Created attachment 243075 [details]
Patch
Comment on attachment 243075 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243075&action=review > Source/WebKit2/UIProcess/API/mac/WKView.mm:3611 > + NSImmediateActionGestureRecognizer *recognizer = [[NSImmediateActionGestureRecognizer alloc] initWithTarget:nil action:NULL]; How does ownership work here? > Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm:84 > + if ([immediateActionRecognizer view] != _wkView) dot notation > Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm:96 > + if ([immediateActionRecognizer view] != _wkView) dotto > Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm:117 > + if ([immediateActionRecognizer view] != _wkView) etc. Thanks Tim! We talked about the ownership stuff in person. http://trac.webkit.org/changeset/177113 |