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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 14371021: Implementation of URLLoader using PluginResource/ResourceHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase, track src/webkit gypi changes. Created 7 years, 7 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/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index ec0c9229663e8de3d049f0d58a2060f5b257ff60..f48e94ed57b1462be480a2018ff1eedcc0d25c0a 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -84,6 +84,9 @@ class WebGamepads;
class WebPlugin;
struct WebCompositionUnderline;
struct WebCursorInfo;
+struct WebURLError;
+class WebURLLoaderClient;
+class WebURLResponse;
}
namespace webkit_glue {
@@ -675,6 +678,14 @@ class PluginDelegate {
// Returns true if running in process.
virtual bool IsRunningInProcess(PP_Instance instance) const = 0;
+
+ // Notifies the plugin of the document load. This should initiate the call to
+ // PPP_Instance.HandleDocumentLoad.
+ //
+ // The loader object should set itself on the PluginInstance as the document
+ // loader using set_document_loader.
+ virtual void HandleDocumentLoad(PluginInstance* instance,
+ const WebKit::WebURLResponse& response) = 0;
};
} // namespace ppapi
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698