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

Side by Side Diff: ppapi/api/private/ppb_flash.idl

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
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 /** 6 /**
7 * This file contains the <code>PPB_Flash</code> interface. 7 * This file contains the <code>PPB_Flash</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
(...skipping 29 matching lines...) Expand all
40 * PP_Var on invalid instance. 40 * PP_Var on invalid instance.
41 */ 41 */
42 PP_FLASHSETTING_INCOGNITO = 2, 42 PP_FLASHSETTING_INCOGNITO = 2,
43 43
44 /** 44 /**
45 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d 45 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d
46 * should only be used for drawing 2d and video (returns false). 46 * should only be used for drawing 2d and video (returns false).
47 * 47 *
48 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true. 48 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true.
49 */ 49 */
50 PP_FLASHSETTING_STAGE3DENABLED = 3 50 PP_FLASHSETTING_STAGE3DENABLED = 3,
51
52 /**
53 * Specifies the string for the language code of the UI of the browser.
54 *
55 * For example: "en-US" or "de".
56 *
57 * Returns an undefined PP_Var on invalid instance.
58 */
59 PP_FLASHSETTING_LANGUAGE = 4
51 }; 60 };
52 61
53 /** 62 /**
54 * The <code>PPB_Flash</code> interface contains pointers to various functions 63 * The <code>PPB_Flash</code> interface contains pointers to various functions
55 * that are only needed to support Pepper Flash. 64 * that are only needed to support Pepper Flash.
56 */ 65 */
57 interface PPB_Flash { 66 interface PPB_Flash {
58 /** 67 /**
59 * Sets or clears the rendering hint that the given plugin instance is always 68 * Sets or clears the rendering hint that the given plugin instance is always
60 * on top of page content. Somewhat more optimized painting can be used in 69 * on top of page content. Somewhat more optimized painting can be used in
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 [version=12.3] 189 [version=12.3]
181 int32_t GetSettingInt(PP_Instance instance, PP_FlashSetting setting); 190 int32_t GetSettingInt(PP_Instance instance, PP_FlashSetting setting);
182 191
183 /** 192 /**
184 * Returns the value associated with the given setting. Invalid enums will 193 * Returns the value associated with the given setting. Invalid enums will
185 * result in an undefined PP_Var return value. 194 * result in an undefined PP_Var return value.
186 */ 195 */
187 [version=12.4] 196 [version=12.4]
188 PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting); 197 PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting);
189 }; 198 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698