| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 | 4 */ |
| 5 #ifndef PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
| 11 #include "ppapi/c/pp_stdint.h" | 11 #include "ppapi/c/pp_stdint.h" |
| 12 #include "ppapi/c/pp_var.h" | 12 #include "ppapi/c/pp_var.h" |
| 13 | 13 |
| 14 #define PPB_URLUTIL_DEV_INTERFACE "PPB_UrlUtil(Dev);0.4" | 14 #define PPB_URLUTIL_DEV_INTERFACE "PPB_UrlUtil(Dev);0.4" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 PP_Bool (*DocumentCanRequest)(PP_Instance instance, struct PP_Var url); | 104 PP_Bool (*DocumentCanRequest)(PP_Instance instance, struct PP_Var url); |
| 105 | 105 |
| 106 // Checks whether the document containing the |active| plugin instance can | 106 // Checks whether the document containing the |active| plugin instance can |
| 107 // access the document containing the |target| plugin instance according to | 107 // access the document containing the |target| plugin instance according to |
| 108 // the security policy of the browser. This includes the same origin policy | 108 // the security policy of the browser. This includes the same origin policy |
| 109 // and any cross-origin capabilities enabled by the document. If either of | 109 // and any cross-origin capabilities enabled by the document. If either of |
| 110 // the plugin instances are invalid, returns PP_FALSE. | 110 // the plugin instances are invalid, returns PP_FALSE. |
| 111 PP_Bool (*DocumentCanAccessDocument)(PP_Instance active, PP_Instance target); | 111 PP_Bool (*DocumentCanAccessDocument)(PP_Instance active, PP_Instance target); |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 #endif // PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 114 #endif /* PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ */ |
| 115 |
| OLD | NEW |