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 |