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

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

Issue 11419192: Make PPAPI headers compilable with -Wstrict-prototypes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/ppp.h ('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_gpu_blacklist_private.idl, 6 /* From private/ppb_gpu_blacklist_private.idl,
7 * modified Wed Oct 10 15:34:44 2012. 7 * modified Wed Oct 24 14:41:20 2012.
8 */ 8 */
9 9
10 #ifndef PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ 10 #ifndef PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ 11 #define PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_
12 12
13 #include "ppapi/c/pp_bool.h" 13 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 15
16 #define PPB_GPUBLACKLIST_PRIVATE_INTERFACE_0_2 "PPB_GpuBlacklist_Private;0.2" 16 #define PPB_GPUBLACKLIST_PRIVATE_INTERFACE_0_2 "PPB_GpuBlacklist_Private;0.2"
17 #define PPB_GPUBLACKLIST_PRIVATE_INTERFACE \ 17 #define PPB_GPUBLACKLIST_PRIVATE_INTERFACE \
(...skipping 12 matching lines...) Expand all
30 struct PPB_GpuBlacklist_Private_0_2 { 30 struct PPB_GpuBlacklist_Private_0_2 {
31 /** 31 /**
32 * Returns true if the current system's GPU is blacklisted and 3D in Chrome 32 * Returns true if the current system's GPU is blacklisted and 3D in Chrome
33 * will be emulated via software rendering. 33 * will be emulated via software rendering.
34 * 34 *
35 * This is used internally by the SRPC NaCl proxy (not exposed to plugins) to 35 * This is used internally by the SRPC NaCl proxy (not exposed to plugins) to
36 * determine if the 3D interfaces should be exposed to plugins. We don't 36 * determine if the 3D interfaces should be exposed to plugins. We don't
37 * expose the 3D interfaces if the 3D support is software-emulated. When the 37 * expose the 3D interfaces if the 3D support is software-emulated. When the
38 * SRPC proxy is removed, this interface can also be removed. 38 * SRPC proxy is removed, this interface can also be removed.
39 */ 39 */
40 PP_Bool (*IsGpuBlacklisted)(); 40 PP_Bool (*IsGpuBlacklisted)(void);
41 }; 41 };
42 42
43 typedef struct PPB_GpuBlacklist_Private_0_2 PPB_GpuBlacklist_Private; 43 typedef struct PPB_GpuBlacklist_Private_0_2 PPB_GpuBlacklist_Private;
44 /** 44 /**
45 * @} 45 * @}
46 */ 46 */
47 47
48 #endif /* PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ */ 48 #endif /* PPAPI_C_PRIVATE_PPB_GPU_BLACKLIST_PRIVATE_H_ */
49 49
OLDNEW
« no previous file with comments | « ppapi/c/ppp.h ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698