OLD | NEW |
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_flash.idl modified Mon Jun 04 14:36:17 2012. */ | 6 /* From private/ppb_flash.idl modified Mon Jun 04 14:36:17 2012. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ |
9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ |
10 | 10 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 * Does nothing, deprecated. See PPB_Flash_Print. | 159 * Does nothing, deprecated. See PPB_Flash_Print. |
160 */ | 160 */ |
161 int32_t (*InvokePrinting)(PP_Instance instance); | 161 int32_t (*InvokePrinting)(PP_Instance instance); |
162 /** | 162 /** |
163 * Indicates that there's activity and, e.g., the screensaver shouldn't kick | 163 * Indicates that there's activity and, e.g., the screensaver shouldn't kick |
164 * in. | 164 * in. |
165 */ | 165 */ |
166 void (*UpdateActivity)(PP_Instance instance); | 166 void (*UpdateActivity)(PP_Instance instance); |
167 /** | 167 /** |
168 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. | 168 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. |
| 169 * Deprecated, use GetDeviceIDAsync. |
169 */ | 170 */ |
170 struct PP_Var (*GetDeviceID)(PP_Instance instance); | 171 struct PP_Var (*GetDeviceID)(PP_Instance instance); |
171 /** | 172 /** |
172 * Returns the value associated with the given setting. Invalid enums will | 173 * Returns the value associated with the given setting. Invalid enums will |
173 * result in -1 return value. | 174 * result in -1 return value. |
174 */ | 175 */ |
175 int32_t (*GetSettingInt)(PP_Instance instance, PP_FlashSetting setting); | 176 int32_t (*GetSettingInt)(PP_Instance instance, PP_FlashSetting setting); |
176 }; | 177 }; |
177 | 178 |
178 typedef struct PPB_Flash_12_3 PPB_Flash; | 179 typedef struct PPB_Flash_12_3 PPB_Flash; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 int32_t (*Navigate)(PP_Resource request_info, | 281 int32_t (*Navigate)(PP_Resource request_info, |
281 const char* target, | 282 const char* target, |
282 bool from_user_action); | 283 bool from_user_action); |
283 void (*RunMessageLoop)(PP_Instance instance); | 284 void (*RunMessageLoop)(PP_Instance instance); |
284 void (*QuitMessageLoop)(PP_Instance instance); | 285 void (*QuitMessageLoop)(PP_Instance instance); |
285 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); | 286 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); |
286 struct PP_Var (*GetCommandLineArgs)(PP_Module module); | 287 struct PP_Var (*GetCommandLineArgs)(PP_Module module); |
287 }; | 288 }; |
288 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ | 289 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ |
289 | 290 |
OLD | NEW |