Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Side by Side Diff: ppapi/c/private/ppb_instance_private.h

Issue 6871040: Rename Instance_Trusted to Instance_Private, wire it up in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix up based on review comments. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/private/ppp_instance_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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_TRUSTED_PPB_INSTANCE_TRUSTED_H_ 5 #ifndef PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_
6 #define PPAPI_C_TRUSTED_PPB_INSTANCE_TRUSTED_H_ 6 #define PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_var.h" 9 #include "ppapi/c/pp_var.h"
10 10
11 #define PPB_INSTANCE_TRUSTED_INTERFACE "PPB_Instance_Trusted;0.1" 11 #define PPB_INSTANCE_PRIVATE_INTERFACE "PPB_Instance_Private;0.1"
12 12
13 /** 13 /**
14 * @file 14 * @file
15 * This file defines the PPB_Instance_Trusted interface implemented by the 15 * This file defines the PPB_Instance_Private interface implemented by the
16 * browser and containing pointers to functions available only to trusted plugin 16 * browser and containing pointers to functions available only to trusted plugin
17 * instances. 17 * instances.
18 * 18 *
19 * @addtogroup Interfaces 19 * @addtogroup Interfaces
20 * @{ 20 * @{
21 */ 21 */
22 22
23 /** 23 /**
24 * The PPB_Instance_Trusted interface contains functions available only to 24 * The PPB_Instance_Private interface contains functions available only to
25 * trusted plugin instances. 25 * trusted plugin instances.
26 * 26 *
27 */ 27 */
28 struct PPB_Instance_Trusted { 28 struct PPB_Instance_Private {
29 /** 29 /**
30 * GetWindowObject is a pointer to a function that determines 30 * GetWindowObject is a pointer to a function that determines
31 * the DOM window containing this module instance. 31 * the DOM window containing this module instance.
32 * 32 *
33 * @param[in] instance A PP_Instance whose WindowObject should be retrieved. 33 * @param[in] instance A PP_Instance whose WindowObject should be retrieved.
34 * @return A PP_Var containing window object on success. 34 * @return A PP_Var containing window object on success.
35 */ 35 */
36 struct PP_Var (*GetWindowObject)(PP_Instance instance); 36 struct PP_Var (*GetWindowObject)(PP_Instance instance);
37 37
38 /** 38 /**
(...skipping 24 matching lines...) Expand all
63 * if execution failed. 63 * if execution failed.
64 */ 64 */
65 struct PP_Var (*ExecuteScript)(PP_Instance instance, 65 struct PP_Var (*ExecuteScript)(PP_Instance instance,
66 struct PP_Var script, 66 struct PP_Var script,
67 struct PP_Var* exception); 67 struct PP_Var* exception);
68 }; 68 };
69 /** 69 /**
70 * @} 70 * @}
71 */ 71 */
72 72
73 #endif /* PPAPI_C_TRUSTED_PPB_INSTANCE_TRUSTED_H_ */ 73 #endif /* PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ */
74 74
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/private/ppp_instance_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698