summaryrefslogtreecommitdiffstats
path: root/ppapi/api
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/api
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/api')
-rw-r--r--ppapi/api/private/ppb_flash.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/ppapi/api/private/ppb_flash.idl b/ppapi/api/private/ppb_flash.idl
index 8ce45ef..0befda7 100644
--- a/ppapi/api/private/ppb_flash.idl
+++ b/ppapi/api/private/ppb_flash.idl
@@ -47,7 +47,16 @@ enum PP_FlashSetting {
*
* 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
};
/**