| OLD | NEW |
| 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_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" | |
| 13 | 12 |
| 14 struct PP_CompletionCallback; | 13 struct PP_CompletionCallback; |
| 15 | 14 |
| 16 #define PPB_CORE_INTERFACE_0_5 "PPB_Core;0.5" | 15 #define PPB_CORE_INTERFACE_0_5 "PPB_Core;0.5" |
| 17 #define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_0_5 | 16 #define PPB_CORE_INTERFACE PPB_CORE_INTERFACE_0_5 |
| 18 | 17 |
| 19 /** | 18 /** |
| 20 * @file | 19 * @file |
| 21 * This file defines the <code>PPB_Core</code> interface defined by the browser | 20 * This file defines the <code>PPB_Core</code> interface defined by the browser |
| 22 * and containing pointers to functions related to memory management, time, and | 21 * and containing pointers to functions related to memory management, time, and |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if the | 129 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if the |
| 131 * current thread is the main pepper thread, otherwise <code>PP_FALSE</code>. | 130 * current thread is the main pepper thread, otherwise <code>PP_FALSE</code>. |
| 132 */ | 131 */ |
| 133 PP_Bool (*IsMainThread)(); | 132 PP_Bool (*IsMainThread)(); |
| 134 }; | 133 }; |
| 135 /** | 134 /** |
| 136 * @} | 135 * @} |
| 137 */ | 136 */ |
| 138 | 137 |
| 139 | 138 |
| 140 #endif /* PPAPI_C_DEV_PPB_CORE_DEV_H_ */ | 139 #endif /* PPAPI_C_PPB_CORE_H_ */ |
| OLD | NEW |