RESOLVED FIXED 127415
PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it's blocked
https://bugs.webkit.org/show_bug.cgi?id=127415
Summary PDFPlugin: Use PDFPlugin even if there's an external plugin installed, if it'...
Tim Horton
Reported 2014-01-22 01:19:56 PST
If there is an external PDF plugin but it's blocked, we should still load in PDFPlugin, with a context menu option to perform the equivalent of the unavailable plugin button (thus allowing the client to unblock the plugin). <rdar://problem/12482452>
Attachments
patch (37.95 KB, patch)
2014-01-22 01:36 PST, Tim Horton
no flags
rebase (38.04 KB, patch)
2014-01-22 01:43 PST, Tim Horton
sam: review+
Tim Horton
Comment 1 2014-01-22 01:36:39 PST
Created attachment 221837 [details] patch I hate adding more things to findPlugin and pluginLoadPolicy but it is the most straightforward way to go.
Tim Horton
Comment 2 2014-01-22 01:43:05 PST
Sam Weinig
Comment 3 2014-01-23 07:47:33 PST
Comment on attachment 221839 [details] rebase View in context: https://bugs.webkit.org/attachment.cgi?id=221839&action=review > Source/WebKit2/UIProcess/API/C/WKPageLoaderClient.h:396 > + // Version 4. > + WKPageWebGLLoadPolicyCallback webGLLoadPolicy; > + > + // Version 5. > + WKPagePluginLoadPolicyCallback pluginLoadPolicy; I'm not clear if we need to rev for this.
Tim Horton
Comment 4 2014-01-23 11:08:32 PST
(In reply to comment #3) > (From update of attachment 221839 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=221839&action=review > > > Source/WebKit2/UIProcess/API/C/WKPageLoaderClient.h:396 > > + // Version 4. > > + WKPageWebGLLoadPolicyCallback webGLLoadPolicy; > > + > > + // Version 5. > > + WKPagePluginLoadPolicyCallback pluginLoadPolicy; > > I'm not clear if we need to rev for this. Looks like you’re right.
Tim Horton
Comment 5 2014-01-23 11:27:10 PST
Tim Horton
Comment 6 2014-01-27 16:03:39 PST
Part of this was reverted in https://trac.webkit.org/r162883
Note You need to log in before you can comment on or make changes to this bug.