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

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

Issue 19828007: Hide knowledge of webkit::ppapi::Plugin from chrome. This is part of moving ppapi implementation fr… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 7 years, 5 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 | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/c/private/ppb_nacl_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) 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/ppb_instance_private.idl modified Mon Oct 8 10:50:04 2012. */ 6 /* From private/ppb_instance_private.idl modified Tue Jul 23 13:19:04 2013. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_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
17 #define PPB_INSTANCE_PRIVATE_INTERFACE_0_1 "PPB_Instance_Private;0.1" 17 #define PPB_INSTANCE_PRIVATE_INTERFACE_0_1 "PPB_Instance_Private;0.1"
18 #define PPB_INSTANCE_PRIVATE_INTERFACE PPB_INSTANCE_PRIVATE_INTERFACE_0_1 18 #define PPB_INSTANCE_PRIVATE_INTERFACE PPB_INSTANCE_PRIVATE_INTERFACE_0_1
19 19
20 /** 20 /**
21 * @file 21 * @file
22 * This file defines the PPB_Instance_Private interface implemented by the 22 * This file defines the PPB_Instance_Private interface implemented by the
23 * browser and containing pointers to functions available only to trusted plugin 23 * browser and containing pointers to functions available only to trusted plugin
24 * instances. 24 * instances.
25 */ 25 */
26 26
27 27
28 /** 28 /**
29 * @addtogroup Enums
30 * @{
31 */
32 /**
33 * The <code>PP_ExternalPluginResult </code> enum contains result codes from
34 * launching an external plugin.
35 */
36 typedef enum {
37 /** Successful external plugin call */
38 PP_EXTERNAL_PLUGIN_OK = 0,
39 /** Unspecified external plugin error */
40 PP_EXTERNAL_PLUGIN_FAILED = 1,
41 /** Error creating the module */
42 PP_EXTERNAL_PLUGIN_ERROR_MODULE = 2,
43 /** Error creating and initializing the instance */
44 PP_EXTERNAL_PLUGIN_ERROR_INSTANCE = 3
45 } PP_ExternalPluginResult;
46 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ExternalPluginResult, 4);
47 /**
48 * @}
49 */
50
51 /**
29 * @addtogroup Interfaces 52 * @addtogroup Interfaces
30 * @{ 53 * @{
31 */ 54 */
32 /** 55 /**
33 * The PPB_Instance_Private interface contains functions available only to 56 * The PPB_Instance_Private interface contains functions available only to
34 * trusted plugin instances. 57 * trusted plugin instances.
35 * 58 *
36 */ 59 */
37 struct PPB_Instance_Private_0_1 { 60 struct PPB_Instance_Private_0_1 {
38 /** 61 /**
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 struct PP_Var* exception); 97 struct PP_Var* exception);
75 }; 98 };
76 99
77 typedef struct PPB_Instance_Private_0_1 PPB_Instance_Private; 100 typedef struct PPB_Instance_Private_0_1 PPB_Instance_Private;
78 /** 101 /**
79 * @} 102 * @}
80 */ 103 */
81 104
82 #endif /* PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ */ 105 #endif /* PPAPI_C_PRIVATE_PPB_INSTANCE_PRIVATE_H_ */
83 106
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698