summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 18:10:37 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 18:10:37 +0000
commit2306303ade2ec3f85354623a55015ac674f0f947 (patch)
treee24d7b482009168e4ed67b14239a76ec7954aabc /ppapi/c
parent6b55aecf5481ebb66f6b93d8f34cca5a44197473 (diff)
downloadchromium_src-2306303ade2ec3f85354623a55015ac674f0f947.zip
chromium_src-2306303ade2ec3f85354623a55015ac674f0f947.tar.gz
chromium_src-2306303ade2ec3f85354623a55015ac674f0f947.tar.bz2
Propogate the UI language on the command line and expose to Flash.
This is just like the NPAPI plugin process and many of the other child processes we have. I wire the command line parameter up to a new Flash setting. TEST=manual BUG=none Review URL: https://chromiumcodereview.appspot.com/10541088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_flash.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/ppapi/c/private/ppb_flash.h b/ppapi/c/private/ppb_flash.h
index 9a3ed11..1bde87b 100644
--- a/ppapi/c/private/ppb_flash.h
+++ b/ppapi/c/private/ppb_flash.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_flash.idl modified Thu Jun 7 12:41:56 2012. */
+/* From private/ppb_flash.idl modified Fri Jun 8 15:55:46 2012. */
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_
#define PPAPI_C_PRIVATE_PPB_FLASH_H_
@@ -67,7 +67,15 @@ typedef enum {
*
* This should only be enabled if PP_FLASHSETTING_3DENABLED is true.
*/
- PP_FLASHSETTING_STAGE3DENABLED = 3
+ PP_FLASHSETTING_STAGE3DENABLED = 3,
+ /**
+ * Specifies the string for the language code of the UI of the browser.
+ *
+ * For example: "en-US" or "de".
+ *
+ * Returns an undefined PP_Var on invalid instance.
+ */
+ PP_FLASHSETTING_LANGUAGE = 4
} PP_FlashSetting;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4);
/**