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 /** | 6 /** |
7 * This file defines the PPP_InstancePrivate structure; a series of functions | 7 * This file defines the PPP_InstancePrivate structure; a series of functions |
8 * that a trusted plugin may implement to provide capabilities only available | 8 * that a trusted plugin may implement to provide capabilities only available |
9 * to trusted plugins. | 9 * to trusted plugins. |
10 */ | 10 */ |
(...skipping 11 matching lines...) Expand all Loading... |
22 /** | 22 /** |
23 * GetInstanceObject returns a PP_Var representing the scriptable object for | 23 * GetInstanceObject returns a PP_Var representing the scriptable object for |
24 * the given instance. Normally this will be a PPP_Class_Deprecated object | 24 * the given instance. Normally this will be a PPP_Class_Deprecated object |
25 * that exposes methods and properties to JavaScript. | 25 * that exposes methods and properties to JavaScript. |
26 * | 26 * |
27 * On Failure, the returned PP_Var should be a "void" var. | 27 * On Failure, the returned PP_Var should be a "void" var. |
28 * | 28 * |
29 * The returned PP_Var should have a reference added for the caller, which | 29 * The returned PP_Var should have a reference added for the caller, which |
30 * will be responsible for Release()ing that reference. | 30 * will be responsible for Release()ing that reference. |
31 * | 31 * |
32 * @param[in] instance A PP_Instance indentifying the instance from which the | 32 * @param[in] instance A PP_Instance identifying the instance from which the |
33 * instance object is being requested. | 33 * instance object is being requested. |
34 * @return A PP_Var containing scriptable object. | 34 * @return A PP_Var containing scriptable object. |
35 */ | 35 */ |
36 PP_Var GetInstanceObject([in] PP_Instance instance); | 36 PP_Var GetInstanceObject([in] PP_Instance instance); |
37 }; | 37 }; |
OLD | NEW |