summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 21:48:25 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 21:48:25 +0000
commit7819eaf904308012c88078ca294018725a37c845 (patch)
treeda6452165fdaa93fdba906b1b148d4505d889260 /webkit/glue/webplugin.h
parent63c971414584ce3f5c54513b4755ec1d94f8fe9f (diff)
downloadchromium_src-7819eaf904308012c88078ca294018725a37c845.zip
chromium_src-7819eaf904308012c88078ca294018725a37c845.tar.gz
chromium_src-7819eaf904308012c88078ca294018725a37c845.tar.bz2
Reverting r6396 the PDF fix to not cancel the manual data stream
load when the plugin calls NPN_RequestRead. I was looking at the wrong stream implementation in Firefox :( Bug=5009 TBR=jam Review URL: http://codereview.chromium.org/13212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin.h')
-rw-r--r--webkit/glue/webplugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webplugin.h b/webkit/glue/webplugin.h
index af688e6..b704153 100644
--- a/webkit/glue/webplugin.h
+++ b/webkit/glue/webplugin.h
@@ -129,6 +129,9 @@ class WebPlugin {
bool notify, const char* url,
void* notify_data, bool popups_allowed) = 0;
+ // Cancels document load.
+ virtual void CancelDocumentLoad() = 0;
+
// Initiates a HTTP range request.
virtual void InitiateHTTPRangeRequest(const char* url,
const char* range_info,