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

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

Issue 1313243002: Remove command line flags and prefs for disabling Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 const char kDisableHangMonitor[] = "disable-hang-monitor"; 153 const char kDisableHangMonitor[] = "disable-hang-monitor";
154 154
155 // Disable hiding the close buttons of inactive tabs when the tabstrip is in 155 // Disable hiding the close buttons of inactive tabs when the tabstrip is in
156 // stacked mode. 156 // stacked mode.
157 const char kDisableHideInactiveStackedTabCloseButtons[] = 157 const char kDisableHideInactiveStackedTabCloseButtons[] =
158 "disable-hide-inactive-stacked-tab-close-buttons"; 158 "disable-hide-inactive-stacked-tab-close-buttons";
159 159
160 // Disable the RenderThread's HistogramCustomizer. 160 // Disable the RenderThread's HistogramCustomizer.
161 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; 161 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer";
162 162
163 // Prevent Java from running.
164 const char kDisableJava[] = "disable-java";
165
166 // Don't kill a child process when it sends a bad IPC message. Apart 163 // Don't kill a child process when it sends a bad IPC message. Apart
167 // from testing, it is a bad idea from a security perspective to enable 164 // from testing, it is a bad idea from a security perspective to enable
168 // this switch. 165 // this switch.
169 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; 166 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc";
170 167
171 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). 168 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()).
172 const char kDisablePrefixedEncryptedMedia[] = 169 const char kDisablePrefixedEncryptedMedia[] =
173 "disable-prefixed-encrypted-media"; 170 "disable-prefixed-encrypted-media";
174 171
175 // Disables LCD text. 172 // Disables LCD text.
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 986 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
990 987
991 // Enables the exporting of the tracing events to ETW. This is only supported on 988 // Enables the exporting of the tracing events to ETW. This is only supported on
992 // Windows Vista and later. 989 // Windows Vista and later.
993 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 990 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
994 #endif 991 #endif
995 992
996 // Don't dump stuff here, follow the same order as the header. 993 // Don't dump stuff here, follow the same order as the header.
997 994
998 } // namespace switches 995 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698