OLD | NEW |
1 /* Copyright (c) 2010 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_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_0_4 "PPB_Core;0.4" | 16 #define PPB_CORE_INTERFACE_0_5 "PPB_Core;0.5" |
17 #define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_0_4 | 17 #define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_0_5 |
18 | 18 |
19 /** | 19 /** |
20 * @file | 20 * @file |
21 * This file defines the PPB_Core interface defined by the browser and | 21 * This file defines the PPB_Core interface defined by the browser and |
22 * and containing pointers to functions related to memory management, | 22 * and containing pointers to functions related to memory management, |
23 * time, and threads. | 23 * time, and threads. |
24 */ | 24 */ |
25 | 25 |
26 /** | 26 /** |
27 * @addtogroup Interfaces | 27 * @addtogroup Interfaces |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 * pepper thread, otherwise PP_FALSE. | 132 * pepper thread, otherwise PP_FALSE. |
133 */ | 133 */ |
134 PP_Bool (*IsMainThread)(); | 134 PP_Bool (*IsMainThread)(); |
135 }; | 135 }; |
136 /** | 136 /** |
137 * @} | 137 * @} |
138 */ | 138 */ |
139 | 139 |
140 | 140 |
141 #endif /* PPAPI_C_DEV_PPB_CORE_DEV_H_ */ | 141 #endif /* PPAPI_C_DEV_PPB_CORE_DEV_H_ */ |
142 | |
OLD | NEW |