Changeset 35417 in webkit
- Timestamp:
- Jul 28, 2008 5:37:43 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r35415 r35417 1 2008-07-28 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Kevin Decker. 4 5 Based on a patch from Dimcho Balev. 6 7 Windows part of 8 9 https://bugs.webkit.org/show_bug.cgi?id=18676 10 <rdar://problem/6106578> 11 Plug-In API Proposal: Enable plugins to receive response body when an HTTP error occurs 12 13 * plugins/PluginStream.cpp: 14 (WebCore::PluginStream::wantsAllStreams): 15 * plugins/PluginStream.h: 16 1 17 2008-07-28 Brady Eidson <beidson@apple.com> 2 18 -
trunk/WebCore/plugins/PluginStream.cpp
r34988 r35417 456 456 } 457 457 458 } 458 bool PluginStream::wantsAllStreams() const 459 { 460 if (!m_pluginFuncs->getvalue) 461 return false; 462 463 NPBool result; 464 if (m_pluginFuncs->getvalue(m_instance, NPPVpluginWantsAllNetworkStreams, &result) != NPERR_NO_ERROR) 465 return false; 466 467 return result; 468 } 469 470 } -
trunk/WebCore/plugins/PluginStream.h
r34538 r35417 81 81 virtual void didFail(NetscapePlugInStreamLoader*, const ResourceError&); 82 82 virtual void didFinishLoading(NetscapePlugInStreamLoader*); 83 virtual bool wantsAllStreams() const; 83 84 84 85 private:
Note: See TracChangeset
for help on using the changeset viewer.