Changeset 15598 in webkit
- Timestamp:
- Jul 24, 2006 8:58:48 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r15597 r15598 1 2006-07-24 Alexey Proskuryakov <ap@nypop.com> 2 3 Reviewed by Darin. 4 5 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10009 6 REGRESSION: Schubert-IT PDF Plug-in not working for full page (works in frames) 7 8 * page/Frame.cpp: 9 (WebCore::Frame::begin): Give PDF plugins a chance to handle frame content, before ImageDocument 10 claims it. 11 1 12 2006-07-24 Mitz Pettel <opendarwin.org@mitzpettel.com> 2 13 -
trunk/WebCore/page/Frame.cpp
r15550 r15598 589 589 else if (DOMImplementation::isTextMIMEType(d->m_request.m_responseMIMEType)) 590 590 d->m_doc = new TextDocument(DOMImplementation::instance(), d->m_view.get()); 591 else if ((d->m_request.m_responseMIMEType == "application/pdf" || d->m_request.m_responseMIMEType == "text/pdf") && PlugInInfoStore::supportsMIMEType(d->m_request.m_responseMIMEType)) 592 d->m_doc = new PluginDocument(DOMImplementation::instance(), d->m_view.get()); 591 593 else if (Image::supportsType(d->m_request.m_responseMIMEType)) 592 594 d->m_doc = new ImageDocument(DOMImplementation::instance(), d->m_view.get()); -
trunk/WebKit/ChangeLog
r15593 r15598 1 2006-07-24 Alexey Proskuryakov <ap@nypop.com> 2 3 Reviewed by Darin. 4 5 Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10009 6 REGRESSION: Schubert-IT PDF Plug-in not working for full page (works in frames) 7 8 * WebView/WebView.m: 9 (+[WebView _viewClass:andRepresentationClass:forMIMEType:]): If we've got a type supported by WebPDFView, 10 make sure to initialize the plugin database, in case a plugin wants to handle it. 11 1 12 2006-07-23 Mark Rowe <opendarwin.org@bdash.net.nz> 2 13 -
trunk/WebKit/WebView/WebView.m
r15498 r15598 75 75 #import "WebNSViewExtras.h" 76 76 #import "WebPageBridge.h" 77 #import "WebPDFView.h" 77 78 #import "WebPluginDatabase.h" 78 79 #import "WebPolicyDelegate.h" … … 529 530 Class repClass = [[WebDataSource _repTypesAllowImageTypeOmission:YES] _webkit_objectForMIMEType:MIMEType]; 530 531 531 if (!viewClass || !repClass ) {532 if (!viewClass || !repClass || [[WebPDFView supportedMIMETypes] containsObject:MIMEType]) { 532 533 // Our optimization to avoid loading the plug-in DB and image types for the HTML case failed. 533 534 // Load the plug-in DB allowing plug-ins to install types.
Note: See TracChangeset
for help on using the changeset viewer.