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

Side by Side Diff: ppapi/c/ppb_core.h

Issue 6297018: Removed Doxygen groupings by ppb_, pp_, and ppp_. Added grouping by construct... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
OLDNEW
1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2010 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_PPB_CORE_H_ 5 #ifndef PPAPI_C_PPB_CORE_H_
6 #define PPAPI_C_PPB_CORE_H_ 6 #define PPAPI_C_PPB_CORE_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/pp_time.h" 11 #include "ppapi/c/pp_time.h"
12 #include "ppapi/c/pp_var.h" 12 #include "ppapi/c/pp_var.h"
13 13
14 struct PP_CompletionCallback; 14 struct PP_CompletionCallback;
15 15
16 #define PPB_CORE_INTERFACE "PPB_Core;0.3" 16 #define PPB_CORE_INTERFACE "PPB_Core;0.3"
17 17
18 /** 18 /**
19 * @file 19 * @file
20 * Defines the API ... 20 * Defines the API ...
21 * 21 *
22 * @addtogroup PPB 22 */
23
24 /**
25 * @addtogroup Interfaces
23 * @{ 26 * @{
24 */ 27 */
25 28
26 /** {PENDING: describe PPB_CORE} */ 29 /** {PENDING: describe PPB_CORE} */
27 struct PPB_Core { 30 struct PPB_Core {
dmichael(do not use this one) 2011/01/27 21:46:56 Looks like you accidentally added a space.
28 /** Same as AddRefVar for Resources. */ 31 /** Same as AddRefVar for Resources. */
29 void (*AddRefResource)(PP_Resource resource); 32 void (*AddRefResource)(PP_Resource resource);
30 33
31 /** Same as ReleaseVar for Resources. */ 34 /** Same as ReleaseVar for Resources. */
32 void (*ReleaseResource)(PP_Resource resource); 35 void (*ReleaseResource)(PP_Resource resource);
33 36
34 /** 37 /**
35 * Allocate memory. 38 * Allocate memory.
36 * 39 *
37 * @return NULL If the allocation fails. 40 * @return NULL If the allocation fails.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 int32_t result); 81 int32_t result);
79 82
80 /** 83 /**
81 * Returns true if the current thread is the main pepper thread. 84 * Returns true if the current thread is the main pepper thread.
82 * 85 *
83 * This is useful for implementing sanity checks, and deciding if dispatching 86 * This is useful for implementing sanity checks, and deciding if dispatching
84 * via CallOnMainThread() is required. 87 * via CallOnMainThread() is required.
85 */ 88 */
86 PP_Bool (*IsMainThread)(); 89 PP_Bool (*IsMainThread)();
87 }; 90 };
88
89 /** 91 /**
90 * @} 92 * @}
91 * End addtogroup PPB
92 */ 93 */
94
95
93 #endif /* PPAPI_C_DEV_PPB_CORE_DEV_H_ */ 96 #endif /* PPAPI_C_DEV_PPB_CORE_DEV_H_ */
94 97
OLDNEW
« ppapi/c/pp_input_event.h ('K') | « ppapi/c/ppb_class.h ('k') | ppapi/c/ppb_graphics_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698