Index: ppapi/api/dev/ppb_url_util_dev.idl |
=================================================================== |
--- ppapi/api/dev/ppb_url_util_dev.idl (revision 221828) |
+++ ppapi/api/dev/ppb_url_util_dev.idl (working copy) |
@@ -7,8 +7,11 @@ |
* This file defines the <code>PPB_URLUtil_Dev</code> interface. |
*/ |
+[generate_thunk] |
+ |
label Chrome { |
- M17 = 0.6 |
+ M17 = 0.6, |
+ M31 = 0.7 |
}; |
/* |
@@ -146,4 +149,16 @@ |
*/ |
PP_Var GetPluginInstanceURL([in] PP_Instance instance, |
[out] PP_URLComponents_Dev components); |
+ |
+ /* |
+ * Returns the Referrer URL of the HTTP request that loaded the plugin. This |
+ * is the value of the 'Referer' header of the request. An undefined value |
+ * means the 'Referer' header was absent. |
+ * The components pointer, if non-NULL and the canonicalized URL is valid, |
+ * will identify the components of the resulting URL. Components may be NULL |
+ * to specify that no component information is necessary. |
+ */ |
+ [version=0.7] |
+ PP_Var GetPluginReferrerURL([in] PP_Instance instance, |
+ [out] PP_URLComponents_Dev components); |
}; |