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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 3333019: Back out r58711. It appears to have caused video/media-related ui_tests... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/sandbox_init_wrapper_mac.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // system during first run and cached in the preferences afterwards. This is a 110 // system during first run and cached in the preferences afterwards. This is a
111 // string value, the 2 letter code from ISO 3166-1. 111 // string value, the 2 letter code from ISO 3166-1.
112 const char kCountry[] = "country"; 112 const char kCountry[] = "country";
113 113
114 // Enables support to debug printing subsystem. 114 // Enables support to debug printing subsystem.
115 const char kDebugPrint[] = "debug-print"; 115 const char kDebugPrint[] = "debug-print";
116 116
117 // Triggers a pletora of diagnostic modes. 117 // Triggers a pletora of diagnostic modes.
118 const char kDiagnostics[] = "diagnostics"; 118 const char kDiagnostics[] = "diagnostics";
119 119
120 // Disables accelerated compositing.
121 const char kDisableAcceleratedCompositing[] =
122 "disable-accelerated-compositing";
123
124 // Disables the alternate window station for the renderer. 120 // Disables the alternate window station for the renderer.
125 const char kDisableAltWinstation[] = "disable-winsta"; 121 const char kDisableAltWinstation[] = "disable-winsta";
126 122
127 // Disable the ApplicationCache. 123 // Disable the ApplicationCache.
128 const char kDisableApplicationCache[] = "disable-application-cache"; 124 const char kDisableApplicationCache[] = "disable-application-cache";
129 125
130 // Disable extension apps. 126 // Disable extension apps.
131 const char kDisableApps[] = "disable-apps"; 127 const char kDisableApps[] = "disable-apps";
132 128
133 // Replaces the audio IPC layer for <audio> and <video> with a mock audio 129 // Replaces the audio IPC layer for <audio> and <video> with a mock audio
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 167
172 // Disables desktop notifications (default enabled on windows). 168 // Disables desktop notifications (default enabled on windows).
173 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; 169 const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
174 170
175 // Browser flag to disable the web inspector for all renderers. 171 // Browser flag to disable the web inspector for all renderers.
176 const char kDisableDevTools[] = "disable-dev-tools"; 172 const char kDisableDevTools[] = "disable-dev-tools";
177 173
178 // Disables device orientation events. 174 // Disables device orientation events.
179 const char kDisableDeviceOrientation[] = "disable-device-orientation"; 175 const char kDisableDeviceOrientation[] = "disable-device-orientation";
180 176
181 // Disable experimental WebGL support.
182 const char kDisableExperimentalWebGL[] = "disable-webgl";
183
184 // Disable extensions. 177 // Disable extensions.
185 const char kDisableExtensions[] = "disable-extensions"; 178 const char kDisableExtensions[] = "disable-extensions";
186 179
187 // Disable checking for user opt-in for extensions that want to inject script 180 // Disable checking for user opt-in for extensions that want to inject script
188 // into file URLs (ie, always allow it). This is used during automated testing. 181 // into file URLs (ie, always allow it). This is used during automated testing.
189 const char kDisableExtensionsFileAccessCheck[] = 182 const char kDisableExtensionsFileAccessCheck[] =
190 "disable-extensions-file-access-check"; 183 "disable-extensions-file-access-check";
191 184
192 // Suppresses support for the Geolocation javascript API. 185 // Suppresses support for the Geolocation javascript API.
193 const char kDisableGeolocation[] = "disable-geolocation"; 186 const char kDisableGeolocation[] = "disable-geolocation";
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 332
340 // Dump any accumualted histograms to the log when browser terminates (requires 333 // Dump any accumualted histograms to the log when browser terminates (requires
341 // logging to be enabled to really do anything). Used by developers and test 334 // logging to be enabled to really do anything). Used by developers and test
342 // scripts. 335 // scripts.
343 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 336 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
344 337
345 // Enable displaying net log events on the command line. 338 // Enable displaying net log events on the command line.
346 extern const char kLogNetLog[] = "log-net-log"; 339 extern const char kLogNetLog[] = "log-net-log";
347 340
348 // Enable gpu-accelerated compositing. 341 // Enable gpu-accelerated compositing.
349 // TODO(vangelis): Remove the flag once accelerated compositing is enabled by
350 // default on all platforms.
351 const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing"; 342 const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing";
352 343
353 // Enable gpu-accelerated 2d canvas. 344 // Enable gpu-accelerated 2d canvas.
354 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; 345 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
355 346
356 // Enables AeroPeek for each tab. (This switch only works on Windows 7). 347 // Enables AeroPeek for each tab. (This switch only works on Windows 7).
357 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 348 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
358 349
359 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 350 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
360 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 351 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 384
394 // Enables device motion events. 385 // Enables device motion events.
395 const char kEnableDeviceMotion[] = "enable-device-motion"; 386 const char kEnableDeviceMotion[] = "enable-device-motion";
396 387
397 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; 388 const char kEnableDNSSECCerts[] = "enable-dnssec-certs";
398 389
399 // Enables extension APIs that are in development. 390 // Enables extension APIs that are in development.
400 const char kEnableExperimentalExtensionApis[] = 391 const char kEnableExperimentalExtensionApis[] =
401 "enable-experimental-extension-apis"; 392 "enable-experimental-extension-apis";
402 393
394 // Enable experimental WebGL support.
395 const char kEnableExperimentalWebGL[] = "enable-webgl";
396
403 // Enable experimental timeline API. 397 // Enable experimental timeline API.
404 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; 398 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api";
405 399
406 // Enable the fastback page cache. 400 // Enable the fastback page cache.
407 const char kEnableFastback[] = "enable-fastback"; 401 const char kEnableFastback[] = "enable-fastback";
408 402
409 // By default, cookies are not allowed on file://. They are needed for 403 // By default, cookies are not allowed on file://. They are needed for
410 // testing, for example page cycler and layout tests. See bug 1157243. 404 // testing, for example page cycler and layout tests. See bug 1157243.
411 const char kEnableFileCookies[] = "enable-file-cookies"; 405 const char kEnableFileCookies[] = "enable-file-cookies";
412 406
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 1255
1262 // ----------------------------------------------------------------------------- 1256 // -----------------------------------------------------------------------------
1263 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1257 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1264 // 1258 //
1265 // You were going to just dump your switches here, weren't you? Instead, 1259 // You were going to just dump your switches here, weren't you? Instead,
1266 // please put them in alphabetical order above, or in order inside the 1260 // please put them in alphabetical order above, or in order inside the
1267 // appropriate ifdef at the bottom. The order should match the header. 1261 // appropriate ifdef at the bottom. The order should match the header.
1268 // ----------------------------------------------------------------------------- 1262 // -----------------------------------------------------------------------------
1269 1263
1270 } // namespace switches 1264 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/sandbox_init_wrapper_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698