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 Thu Jun 7 12:41:56 2012. */ | 6 /* From private/ppb_flash.idl modified Thu Jun 7 12:41:56 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 * Does nothing, deprecated. See PPB_Flash_Print. | 160 * Does nothing, deprecated. See PPB_Flash_Print. |
161 */ | 161 */ |
162 int32_t (*InvokePrinting)(PP_Instance instance); | 162 int32_t (*InvokePrinting)(PP_Instance instance); |
163 /** | 163 /** |
164 * Indicates that there's activity and, e.g., the screensaver shouldn't kick | 164 * Indicates that there's activity and, e.g., the screensaver shouldn't kick |
165 * in. | 165 * in. |
166 */ | 166 */ |
167 void (*UpdateActivity)(PP_Instance instance); | 167 void (*UpdateActivity)(PP_Instance instance); |
168 /** | 168 /** |
169 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. | 169 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. |
| 170 * Deprecated, use GetDeviceIDAsync. |
170 */ | 171 */ |
171 struct PP_Var (*GetDeviceID)(PP_Instance instance); | 172 struct PP_Var (*GetDeviceID)(PP_Instance instance); |
172 /** | 173 /** |
173 * Deprecated. See GetSetting(). | 174 * Deprecated. See GetSetting(). |
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 * Returns the value associated with the given setting. Invalid enums will | 178 * Returns the value associated with the given setting. Invalid enums will |
178 * result in an undefined PP_Var return value. | 179 * result in an undefined PP_Var return value. |
179 */ | 180 */ |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 void (*UpdateActivity)(PP_Instance instance); | 289 void (*UpdateActivity)(PP_Instance instance); |
289 struct PP_Var (*GetDeviceID)(PP_Instance instance); | 290 struct PP_Var (*GetDeviceID)(PP_Instance instance); |
290 int32_t (*GetSettingInt)(PP_Instance instance, PP_FlashSetting setting); | 291 int32_t (*GetSettingInt)(PP_Instance instance, PP_FlashSetting setting); |
291 }; | 292 }; |
292 /** | 293 /** |
293 * @} | 294 * @} |
294 */ | 295 */ |
295 | 296 |
296 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ | 297 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ |
297 | 298 |
OLD | NEW |