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

Side by Side Diff: content/public/common/content_switches.cc

Issue 13843008: Remove the --disable-javascript-i18n-api command line flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Disable the thread that crashes the GPU process if it stops responding to 148 // Disable the thread that crashes the GPU process if it stops responding to
149 // messages. 149 // messages.
150 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; 150 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog";
151 151
152 // Prevent Java from running. 152 // Prevent Java from running.
153 const char kDisableJava[] = "disable-java"; 153 const char kDisableJava[] = "disable-java";
154 154
155 // Don't execute JavaScript (browser JS like the new tab page still runs). 155 // Don't execute JavaScript (browser JS like the new tab page still runs).
156 const char kDisableJavaScript[] = "disable-javascript"; 156 const char kDisableJavaScript[] = "disable-javascript";
157 157
158 // Disable JavaScript I18N API.
159 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api";
160
161 // Disable LocalStorage. 158 // Disable LocalStorage.
162 const char kDisableLocalStorage[] = "disable-local-storage"; 159 const char kDisableLocalStorage[] = "disable-local-storage";
163 160
164 // Force logging to be disabled. Logging is enabled by default in debug 161 // Force logging to be disabled. Logging is enabled by default in debug
165 // builds. 162 // builds.
166 const char kDisableLogging[] = "disable-logging"; 163 const char kDisableLogging[] = "disable-logging";
167 164
168 // Enables displaying net log events on the command line, or writing the events 165 // Enables displaying net log events on the command line, or writing the events
169 // to a separate file if a file name is given. 166 // to a separate file if a file name is given.
170 const char kLogNetLog[] = "log-net-log"; 167 const char kLogNetLog[] = "log-net-log";
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 877 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
881 878
882 // Enables/disables accelerated compositing for backgrounds of root layers with 879 // Enables/disables accelerated compositing for backgrounds of root layers with
883 // background-attachment: fixed. Requires kForceCompositingMode. 880 // background-attachment: fixed. Requires kForceCompositingMode.
884 const char kDisableAcceleratedFixedRootBackground[] = 881 const char kDisableAcceleratedFixedRootBackground[] =
885 "disable-accelerated-fixed-root-background"; 882 "disable-accelerated-fixed-root-background";
886 const char kEnableAcceleratedFixedRootBackground[] = 883 const char kEnableAcceleratedFixedRootBackground[] =
887 "enable-accelerated-fixed-root-background"; 884 "enable-accelerated-fixed-root-background";
888 885
889 } // namespace switches 886 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698