OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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 extensions/dev/ppb_alarms_dev.idl modified Tue Mar 05 14:02:41 2013. */ | 6 /* From extensions/dev/ppb_ext_alarms_dev.idl, |
| 7 * modified Wed Mar 20 13:50:11 2013. |
| 8 */ |
7 | 9 |
8 #ifndef PPAPI_C_EXTENSIONS_DEV_PPB_ALARMS_DEV_H_ | 10 #ifndef PPAPI_C_EXTENSIONS_DEV_PPB_EXT_ALARMS_DEV_H_ |
9 #define PPAPI_C_EXTENSIONS_DEV_PPB_ALARMS_DEV_H_ | 11 #define PPAPI_C_EXTENSIONS_DEV_PPB_EXT_ALARMS_DEV_H_ |
10 | 12 |
11 #include "ppapi/c/pp_bool.h" | 13 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_completion_callback.h" | 14 #include "ppapi/c/pp_completion_callback.h" |
13 #include "ppapi/c/pp_instance.h" | 15 #include "ppapi/c/pp_instance.h" |
14 #include "ppapi/c/pp_macros.h" | 16 #include "ppapi/c/pp_macros.h" |
15 #include "ppapi/c/pp_stdint.h" | 17 #include "ppapi/c/pp_stdint.h" |
16 #include "ppapi/c/pp_var.h" | 18 #include "ppapi/c/pp_var.h" |
17 | 19 |
18 #define PPB_EXT_ALARMS_DEV_INTERFACE_0_1 "PPB_Ext_Alarms(Dev);0.1" | 20 #define PPB_EXT_ALARMS_DEV_INTERFACE_0_1 "PPB_Ext_Alarms(Dev);0.1" |
19 #define PPB_EXT_ALARMS_DEV_INTERFACE PPB_EXT_ALARMS_DEV_INTERFACE_0_1 | 21 #define PPB_EXT_ALARMS_DEV_INTERFACE PPB_EXT_ALARMS_DEV_INTERFACE_0_1 |
20 | 22 |
21 /** | 23 /** |
22 * @file | 24 * @file |
23 * This file defines the Pepper equivalent of the <code>chrome.alarms</code> | 25 * This file defines the Pepper equivalent of the <code>chrome.alarms</code> |
24 * extension API. | 26 * extension API. |
25 */ | 27 */ |
26 | 28 |
27 | 29 |
28 #include "ppapi/c/extensions/dev/ppb_events_dev.h" | 30 #include "ppapi/c/extensions/dev/ppb_ext_events_dev.h" |
29 | 31 |
30 /** | 32 /** |
31 * @addtogroup Typedefs | 33 * @addtogroup Typedefs |
32 * @{ | 34 * @{ |
33 */ | 35 */ |
34 /** | 36 /** |
35 * A dictionary <code>PP_Var</code> which contains: | 37 * A dictionary <code>PP_Var</code> which contains: |
36 * - "name" : string <code>PP_Var</code> | 38 * - "name" : string <code>PP_Var</code> |
37 * Name of this alarm. | 39 * Name of this alarm. |
38 * | 40 * |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 */ | 193 */ |
192 | 194 |
193 PP_INLINE struct PP_Ext_EventListener PP_Ext_Alarms_OnAlarm_Dev_0_1( | 195 PP_INLINE struct PP_Ext_EventListener PP_Ext_Alarms_OnAlarm_Dev_0_1( |
194 PP_Ext_Alarms_OnAlarm_Func_Dev_0_1 func, | 196 PP_Ext_Alarms_OnAlarm_Func_Dev_0_1 func, |
195 void* user_data) { | 197 void* user_data) { |
196 return PP_Ext_MakeEventListener("alarms.onAlarm;0.1", | 198 return PP_Ext_MakeEventListener("alarms.onAlarm;0.1", |
197 (PP_Ext_GenericFuncType)(func), user_data); | 199 (PP_Ext_GenericFuncType)(func), user_data); |
198 } | 200 } |
199 | 201 |
200 #define PP_Ext_Alarms_OnAlarm_Dev PP_Ext_Alarms_OnAlarm_Dev_0_1 | 202 #define PP_Ext_Alarms_OnAlarm_Dev PP_Ext_Alarms_OnAlarm_Dev_0_1 |
201 #endif /* PPAPI_C_EXTENSIONS_DEV_PPB_ALARMS_DEV_H_ */ | 203 #endif /* PPAPI_C_EXTENSIONS_DEV_PPB_EXT_ALARMS_DEV_H_ */ |
202 | 204 |
OLD | NEW |