OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 | 5 |
6 /* From private/ppp_instance_private.idl modified Tue Oct 2 13:42:46 2012. */ | 6 /* From private/ppp_instance_private.idl modified Thu Mar 28 10:22:54 2013. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ |
9 #define PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
16 | 16 |
(...skipping 21 matching lines...) Expand all Loading... |
38 /** | 38 /** |
39 * GetInstanceObject returns a PP_Var representing the scriptable object for | 39 * GetInstanceObject returns a PP_Var representing the scriptable object for |
40 * the given instance. Normally this will be a PPP_Class_Deprecated object | 40 * the given instance. Normally this will be a PPP_Class_Deprecated object |
41 * that exposes methods and properties to JavaScript. | 41 * that exposes methods and properties to JavaScript. |
42 * | 42 * |
43 * On Failure, the returned PP_Var should be a "void" var. | 43 * On Failure, the returned PP_Var should be a "void" var. |
44 * | 44 * |
45 * The returned PP_Var should have a reference added for the caller, which | 45 * The returned PP_Var should have a reference added for the caller, which |
46 * will be responsible for Release()ing that reference. | 46 * will be responsible for Release()ing that reference. |
47 * | 47 * |
48 * @param[in] instance A PP_Instance indentifying the instance from which the | 48 * @param[in] instance A PP_Instance identifying the instance from which the |
49 * instance object is being requested. | 49 * instance object is being requested. |
50 * @return A PP_Var containing scriptable object. | 50 * @return A PP_Var containing scriptable object. |
51 */ | 51 */ |
52 struct PP_Var (*GetInstanceObject)(PP_Instance instance); | 52 struct PP_Var (*GetInstanceObject)(PP_Instance instance); |
53 }; | 53 }; |
54 | 54 |
55 typedef struct PPP_Instance_Private_0_1 PPP_Instance_Private; | 55 typedef struct PPP_Instance_Private_0_1 PPP_Instance_Private; |
56 /** | 56 /** |
57 * @} | 57 * @} |
58 */ | 58 */ |
59 | 59 |
60 #endif /* PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ */ | 60 #endif /* PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_ */ |
61 | 61 |
OLD | NEW |