Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: webkit/glue/webplugin.h

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.cc ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin.h
===================================================================
--- webkit/glue/webplugin.h (revision 2387)
+++ webkit/glue/webplugin.h (working copy)
@@ -126,6 +126,16 @@
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,
+ void* existing_stream,
+ bool notify_needed,
+ HANDLE notify_data) = 0;
+
private:
DISALLOW_EVIL_CONSTRUCTORS(WebPlugin);
};
@@ -140,7 +150,8 @@
uint32 expected_length,
uint32 last_modified,
bool* cancel) = 0;
- virtual void DidReceiveData(const char* buffer, int length) = 0;
+ virtual void DidReceiveData(const char* buffer, int length,
+ int data_offset) = 0;
virtual void DidFinishLoading() = 0;
virtual void DidFail() = 0;
};
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.cc ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698