diff options
Diffstat (limited to 'ppapi/c')
-rw-r--r-- | ppapi/c/ppp_instance.h | 7 | ||||
-rw-r--r-- | ppapi/c/private/ppb_proxy_private.h | 7 |
2 files changed, 5 insertions, 9 deletions
diff --git a/ppapi/c/ppp_instance.h b/ppapi/c/ppp_instance.h index bdc2883..d2641f9 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 Thu Apr 25 13:07:47 2013. */ #ifndef PPAPI_C_PPP_INSTANCE_H_ #define PPAPI_C_PPP_INSTANCE_H_ @@ -146,7 +146,7 @@ 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 @@ -169,7 +169,8 @@ struct PPP_Instance_1_1 { * @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); }; diff --git a/ppapi/c/private/ppb_proxy_private.h b/ppapi/c/private/ppb_proxy_private.h index eac3f57..b185c2c 100644 --- a/ppapi/c/private/ppb_proxy_private.h +++ b/ppapi/c/private/ppb_proxy_private.h @@ -10,7 +10,7 @@ #include "ppapi/c/pp_module.h" #include "ppapi/c/pp_resource.h" -#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;5" +#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;6" // Exposes functions needed by the out-of-process proxy to call into the // renderer PPAPI implementation. @@ -34,11 +34,6 @@ struct PPB_Proxy_Private { PP_Module module, PP_Bool (*is_seen)(PP_Module, PP_Instance)); - // Returns the number of bytes synchronously readable out of the URLLoader's - // buffer. Returns 0 on failure or if the url loader doesn't have any data - // now. - int32_t (*GetURLLoaderBufferedBytes)(PP_Resource url_loader); - // Allows adding additional refcounts to the PluginModule that owns the // proxy dispatcher (and all interface proxies). For every AddRef call // there must be a corresponding release call. |