diff options
author | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 22:06:07 +0000 |
---|---|---|
committer | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 22:06:07 +0000 |
commit | be8a9272d49fa6d059d64e8c33da05d36ea45eb5 (patch) | |
tree | 6de774e9adcd660849256dbfde7dd31f419a9c81 /chrome/common/chrome_switches.cc | |
parent | 0ed842f7ee02ed88b323e85fc2c2facf39383b3e (diff) | |
download | chromium_src-be8a9272d49fa6d059d64e8c33da05d36ea45eb5.zip chromium_src-be8a9272d49fa6d059d64e8c33da05d36ea45eb5.tar.gz chromium_src-be8a9272d49fa6d059d64e8c33da05d36ea45eb5.tar.bz2 |
Adding support for JavaScript internationalization API as V8 extension. See proposal at http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api.
V8 hosts the actual extension code under src/extensions/experimental/i18n-extension.{cc,h}.
This CL passes command line switches to WebKit (disabled by default) and test shell (enabled by default), using WebRuntimeFeatures. It also sets some gyp variables to point to ICU source path, and defines a guard for a new feature.
It should be submitted only after corresponding WebKit CL (https://bugs.webkit.org/show_bug.cgi?id=49414) lands.
BUG=28604
TEST=LayoutTests/fast/js/i18n-bindings-locale.html
Review URL: http://codereview.chromium.org/6366021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index a798bde..c417ff9 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -526,6 +526,9 @@ const char kEnableIPv6[] = "enable-ipv6"; // Enable the GPU plugin and Pepper 3D rendering. const char kEnableGPUPlugin[] = "enable-gpu-plugin"; +// Enable experimental JavaScript I18N API. +const char kEnableJavaScriptI18NAPI[] = "enable-javascript-i18n-api"; + // Force logging to be enabled. Logging is disabled by default in release // builds. const char kEnableLogging[] = "enable-logging"; |