Bug 101896

Summary: PDFPlugin should use PDFKit's context menu instead of the default WebKit one
Product: WebKit Reporter: Tim Horton <thorton>
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, ap, mitz, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237059
Attachments:
Description Flags
patch andersca: review+

Description Tim Horton 2012-11-11 22:46:20 PST
Technically, we should hand the context menu through the somewhat-complex context menu system so that clients can add custom menu items. I'll do that in a followup patch.

This also makes most of the context menu items function properly (except the ones that already have FIXMEs in PDFPlugin).

<rdar://problem/12555173>
Comment 1 Tim Horton 2012-11-11 22:55:29 PST
Created attachment 173564 [details]
patch
Comment 2 WebKit Review Bot 2012-11-11 22:58:28 PST
Attachment 173564 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1
Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.h:96:  The parameter name "event" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2012-11-12 16:26:44 PST
Thanks, Anders!

http://trac.webkit.org/changeset/134326