Bug 139193

Summary: Should use standardQuickLookMenuItem for apps that don't implement customizations
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Severity: Normal CC: bdakin, cdumez, commit-queue, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch andersca: review+

Description Beth Dakin 2014-12-02 12:23:10 PST
Should use standardQuickLookMenuItem for apps that don't implement customizations

Comment 1 Beth Dakin 2014-12-02 12:28:41 PST
Created attachment 242440 [details]
Comment 2 WebKit Commit Bot 2014-12-02 12:30:19 PST
Attachment 242440 [details] did not pass style-queue:

ERROR: Source/WebCore/platform/spi/mac/QuickLookMacSPI.h:50:  Tab found; better to use spaces  [whitespace/tab] [1]
ERROR: Source/WebCore/platform/spi/mac/QuickLookMacSPI.h:51:  Tab found; better to use spaces  [whitespace/tab] [1]
Total errors found: 2 in 10 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Beth Dakin 2014-12-02 12:36:09 PST
Thank you! http://trac.webkit.org/changeset/176684
Comment 4 Chris Dumez 2014-12-02 20:31:49 PST
I am getting build errors after this patch (despite the recent build fixes):
Source/WebKit/mac/WebView/WebActionMenuController.mm:80:40: error: cannot find protocol declaration for 'QLPreviewMenuItemDelegate'; did you mean 'QLPreviewPanelDelegate'?
@interface WebActionMenuController () <QLPreviewMenuItemDelegate>

Source/WebKit/mac/WebView/WebActionMenuController.mm:290:28: error: 'QLPreviewMenuItem' may not respond to 'setDelegate:' [-Werror]
        [qlPreviewLinkItem setDelegate:self];
         ~~~~~~~~~~~~~~~~~ ^
Source/WebKit/mac/WebView/WebActionMenuController.mm:290:40: error: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an lvalue of type 'WebActionMenuController *'
        [qlPreviewLinkItem setDelegate:self];
3 errors generated.