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

Unified Diff: ppapi/c/ppp_instance.h

Issue 11416064: Convert URLLoader to the new proxy design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments, merge 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
« no previous file with comments | « ppapi/api/ppp_instance.idl ('k') | ppapi/c/private/ppb_proxy_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppp_instance.h
diff --git a/ppapi/c/ppp_instance.h b/ppapi/c/ppp_instance.h
index bdc2883813fb755d590048124d5327b30397ddf5..bc65b1f8e99d5cc329e7f5c958dd06aefcb61d9b 100644
--- a/ppapi/c/ppp_instance.h
+++ b/ppapi/c/ppp_instance.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppp_instance.idl modified Thu Jun 28 15:08:39 2012. */
+/* From ppp_instance.idl modified Mon Dec 10 21:15:00 2012. */
#ifndef PPAPI_C_PPP_INSTANCE_H_
#define PPAPI_C_PPP_INSTANCE_H_
@@ -146,11 +146,12 @@ struct PPP_Instance_1_1 {
void (*DidChangeFocus)(PP_Instance instance, PP_Bool has_focus);
/**
* HandleDocumentLoad() is called after initialize for a full-frame
- * module that was instantiated based on the MIME type of a DOMWindow
+ * instance that was instantiated based on the MIME type of a DOMWindow
* navigation. This situation only applies to modules that are pre-registered
* to handle certain MIME types. If you haven't specifically registered to
- * handle a MIME type or aren't positive this applies to you, your
- * implementation of this function can just return <code>PP_FALSE</code>.
+ * handle a MIME type or aren't positive this applies to you (Native Client
+ * plugins can't register for MIME type handling), your implementation of
+ * this function can just return <code>PP_FALSE</code>.
*
* The given <code>url_loader</code> corresponds to a
* <code>PPB_URLLoader</code> instance that is already opened. Its response
@@ -163,13 +164,9 @@ struct PPP_Instance_1_1 {
* data. In response to this method, the module should call
* ReadResponseBody() to read the incoming data.
*
- * @param[in] instance A <code>PP_Instance</code> identifying the instance
- * that should do the load.
- *
- * @param[in] url_loader An open <code>PPB_URLLoader</code> instance.
- *
* @return <code>PP_TRUE</code> if the data was handled,
- * <code>PP_FALSE</code> otherwise.
+ * <code>PP_FALSE</code> otherwise. If you return false, the load will be
+ * canceled for you.
*/
PP_Bool (*HandleDocumentLoad)(PP_Instance instance, PP_Resource url_loader);
};
« no previous file with comments | « ppapi/api/ppp_instance.idl ('k') | ppapi/c/private/ppb_proxy_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698