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

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

Issue 11416363: Implementation of URLLoader using PluginResource/ResourceHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index 695b0f7ee4998e470a35dc59ed228e21f44f53ba..f96e3bd7644c83bc784760b795b1443a0b88217b 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -77,6 +77,9 @@ class WebGamepads;
class WebPlugin;
struct WebCompositionUnderline;
struct WebCursorInfo;
+struct WebURLError;
+class WebURLLoaderClient;
+class WebURLResponse;
}
namespace webkit_glue {
@@ -671,6 +674,14 @@ class PluginDelegate {
virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
const GURL& document_url,
const GURL& plugin_url) = 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
bbudge 2012/12/17 21:13:14 Maybe clearer if you say the delegate should set t
+ // document loader using set_document_loader.
+ virtual void HandleDocumentLoad(PluginInstance* instance,
+ const WebKit::WebURLResponse& response) = 0;
};
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698