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

Side by Side Diff: ppapi/c/dev/ppb_context_3d_trusted_dev.h

Issue 6893022: Add version-specific defines for each C interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 | « ppapi/c/dev/ppb_context_3d_dev.h ('k') | ppapi/c/dev/ppb_crypto_dev.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_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_
6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ 6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_
7 7
8 #include "ppapi/c/dev/ppb_context_3d_dev.h" 8 #include "ppapi/c/dev/ppb_context_3d_dev.h"
9 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/c/pp_resource.h" 11 #include "ppapi/c/pp_resource.h"
12 #include "ppapi/c/pp_stdint.h" 12 #include "ppapi/c/pp_stdint.h"
13 13
14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE "PPB_Context3DTrusted(Dev);0.3" 14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_3 "PPB_Context3DTrusted(Dev);0.3"
15 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE \
16 PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_3
15 17
16 typedef enum { 18 typedef enum {
17 kNoError, 19 kNoError,
18 kInvalidSize, 20 kInvalidSize,
19 kOutOfBounds, 21 kOutOfBounds,
20 kUnknownCommand, 22 kUnknownCommand,
21 kInvalidArguments, 23 kInvalidArguments,
22 kLostContext, 24 kLostContext,
23 kGenericError 25 kGenericError
24 } PPB_Context3DTrustedError; 26 } PPB_Context3DTrustedError;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 86
85 // Get the transfer buffer associated with a handle. 87 // Get the transfer buffer associated with a handle.
86 PP_Bool (*GetTransferBuffer)(PP_Resource context, 88 PP_Bool (*GetTransferBuffer)(PP_Resource context,
87 int32_t id, 89 int32_t id,
88 int* shm_handle, 90 int* shm_handle,
89 uint32_t* shm_size); 91 uint32_t* shm_size);
90 }; 92 };
91 93
92 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ 94 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_
93 95
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_context_3d_dev.h ('k') | ppapi/c/dev/ppb_crypto_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698