Bug 139193 - Should use standardQuickLookMenuItem for apps that don't implement customizations
Summary: Should use standardQuickLookMenuItem for apps that don't implement customizat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-02 12:23 PST by Beth Dakin
Modified: 2014-12-02 20:31 PST (History)
4 users (show)

See Also:


Attachments
Patch (21.61 KB, patch)
2014-12-02 12:28 PST, Beth Dakin
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2014-12-02 12:23:10 PST
Should use standardQuickLookMenuItem for apps that don't implement customizations

rdar://problem/18944696
Comment 1 Beth Dakin 2014-12-02 12:28:41 PST
Created attachment 242440 [details]
Patch
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>
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
                                       QLPreviewPanelDelegate

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.