diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-11 18:10:37 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-11 18:10:37 +0000 |
commit | 2306303ade2ec3f85354623a55015ac674f0f947 (patch) | |
tree | e24d7b482009168e4ed67b14239a76ec7954aabc /ppapi/proxy/plugin_proxy_delegate.h | |
parent | 6b55aecf5481ebb66f6b93d8f34cca5a44197473 (diff) | |
download | chromium_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/proxy/plugin_proxy_delegate.h')
-rw-r--r-- | ppapi/proxy/plugin_proxy_delegate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/proxy/plugin_proxy_delegate.h b/ppapi/proxy/plugin_proxy_delegate.h index 5045ba7..0d1807a 100644 --- a/ppapi/proxy/plugin_proxy_delegate.h +++ b/ppapi/proxy/plugin_proxy_delegate.h @@ -5,6 +5,8 @@ #ifndef PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ #define PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ +#include <string> + namespace ppapi { namespace proxy { @@ -16,6 +18,9 @@ class PPAPI_PROXY_EXPORT PluginProxyDelegate { // IPC::Message::Sender interface. virtual bool SendToBrowser(IPC::Message* msg) = 0; + // Returns the language code of the current UI language. + virtual std::string GetUILanguage() = 0; + // Performs Windows-specific font caching in the browser for the given // LOGFONTW. Does nothing on non-Windows platforms. virtual void PreCacheFont(const void* logfontw) = 0; |