Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1289)

Side by Side Diff: ppapi/c/private/ppb_flash.h

Issue 10535062: Add an asynchronous version of the Flash DeviceID API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/private/ppb_flash_device_id.idl ('k') | ppapi/c/private/ppb_flash_device_id.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_flash_device_id.idl ('k') | ppapi/c/private/ppb_flash_device_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698