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

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

Issue 10541088: Propogate the UI language on the command line and expose to Flash. (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.idl ('k') | ppapi/proxy/plugin_proxy_delegate.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 Fri Jun 8 15:55:46 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
11 #include "ppapi/c/dev/ppb_font_dev.h" 11 #include "ppapi/c/dev/ppb_font_dev.h"
12 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_module.h" 15 #include "ppapi/c/pp_module.h"
16 #include "ppapi/c/pp_point.h" 16 #include "ppapi/c/pp_point.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 * (returns true) or "regular" mode (returns false). Returns an undefined 60 * (returns true) or "regular" mode (returns false). Returns an undefined
61 * PP_Var on invalid instance. 61 * PP_Var on invalid instance.
62 */ 62 */
63 PP_FLASHSETTING_INCOGNITO = 2, 63 PP_FLASHSETTING_INCOGNITO = 2,
64 /** 64 /**
65 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d 65 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d
66 * should only be used for drawing 2d and video (returns false). 66 * should only be used for drawing 2d and video (returns false).
67 * 67 *
68 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true. 68 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true.
69 */ 69 */
70 PP_FLASHSETTING_STAGE3DENABLED = 3 70 PP_FLASHSETTING_STAGE3DENABLED = 3,
71 /**
72 * Specifies the string for the language code of the UI of the browser.
73 *
74 * For example: "en-US" or "de".
75 *
76 * Returns an undefined PP_Var on invalid instance.
77 */
78 PP_FLASHSETTING_LANGUAGE = 4
71 } PP_FlashSetting; 79 } PP_FlashSetting;
72 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); 80 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4);
73 /** 81 /**
74 * @} 82 * @}
75 */ 83 */
76 84
77 /** 85 /**
78 * @addtogroup Interfaces 86 * @addtogroup Interfaces
79 * @{ 87 * @{
80 */ 88 */
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 void (*UpdateActivity)(PP_Instance instance); 296 void (*UpdateActivity)(PP_Instance instance);
289 struct PP_Var (*GetDeviceID)(PP_Instance instance); 297 struct PP_Var (*GetDeviceID)(PP_Instance instance);
290 int32_t (*GetSettingInt)(PP_Instance instance, PP_FlashSetting setting); 298 int32_t (*GetSettingInt)(PP_Instance instance, PP_FlashSetting setting);
291 }; 299 };
292 /** 300 /**
293 * @} 301 * @}
294 */ 302 */
295 303
296 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ 304 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */
297 305
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_flash.idl ('k') | ppapi/proxy/plugin_proxy_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698