| OLD | NEW |
| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 #include "media/media_features.h" | 7 #include "media/media_features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 264 |
| 265 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). | 265 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). |
| 266 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; | 266 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; |
| 267 | 267 |
| 268 // Disable the setuid sandbox (Linux only). | 268 // Disable the setuid sandbox (Linux only). |
| 269 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; | 269 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; |
| 270 | 270 |
| 271 // Disable shared workers. | 271 // Disable shared workers. |
| 272 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 272 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
| 273 | 273 |
| 274 // Disable the showing of client placeholders for Server Lo-Fi images. |
| 275 const char kDisableShowClientPlaceholdersForServerLoFi[] = |
| 276 "disable-show-client-placeholders-for-server-lo-fi"; |
| 277 |
| 274 // Do not use runtime-detected high-end CPU optimizations in Skia. This is | 278 // Do not use runtime-detected high-end CPU optimizations in Skia. This is |
| 275 // useful for forcing a baseline code path for e.g. layout tests. | 279 // useful for forcing a baseline code path for e.g. layout tests. |
| 276 const char kDisableSkiaRuntimeOpts[] = "disable-skia-runtime-opts"; | 280 const char kDisableSkiaRuntimeOpts[] = "disable-skia-runtime-opts"; |
| 277 | 281 |
| 278 // Disable paint invalidation based on slimming paint. | 282 // Disable paint invalidation based on slimming paint. |
| 279 // See kEnableSlimmingPaintInvalidation. | 283 // See kEnableSlimmingPaintInvalidation. |
| 280 const char kDisableSlimmingPaintInvalidation[] = | 284 const char kDisableSlimmingPaintInvalidation[] = |
| 281 "disable-slimming-paint-invalidation"; | 285 "disable-slimming-paint-invalidation"; |
| 282 | 286 |
| 283 // Disable smooth scrolling for testing. | 287 // Disable smooth scrolling for testing. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 const char kV8CacheOptions[] = "v8-cache-options"; | 436 const char kV8CacheOptions[] = "v8-cache-options"; |
| 433 | 437 |
| 434 // Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) | 438 // Set strategies to cache V8 data in CacheStorage. (off, normal, or aggressive) |
| 435 const char kV8CacheStrategiesForCacheStorage[] = | 439 const char kV8CacheStrategiesForCacheStorage[] = |
| 436 "v8-cache-strategies-for-cache-storage"; | 440 "v8-cache-strategies-for-cache-storage"; |
| 437 | 441 |
| 438 // Cause the OS X sandbox write to syslog every time an access to a resource | 442 // Cause the OS X sandbox write to syslog every time an access to a resource |
| 439 // is denied by the sandbox. | 443 // is denied by the sandbox. |
| 440 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 444 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
| 441 | 445 |
| 446 // Enable the showing of client placeholders for Server Lo-Fi images. |
| 447 const char kEnableShowClientPlaceholdersForServerLoFi[] = |
| 448 "enable-show-client-placeholders-for-server-lo-fi"; |
| 449 |
| 442 // Enables the Skia benchmarking extension | 450 // Enables the Skia benchmarking extension |
| 443 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; | 451 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; |
| 444 | 452 |
| 445 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint | 453 // Enables slimming paint phase 2: http://www.chromium.org/blink/slimming-paint |
| 446 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2"; | 454 const char kEnableSlimmingPaintV2[] = "enable-slimming-paint-v2"; |
| 447 | 455 |
| 448 // Enables paint invalidation based on slimming paint but without | 456 // Enables paint invalidation based on slimming paint but without |
| 449 // the full slimming paint v2 compositing code. See: https://goo.gl/eQczQW | 457 // the full slimming paint v2 compositing code. See: https://goo.gl/eQczQW |
| 450 const char kEnableSlimmingPaintInvalidation[] = | 458 const char kEnableSlimmingPaintInvalidation[] = |
| 451 "enable-slimming-paint-invalidation"; | 459 "enable-slimming-paint-invalidation"; |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1076 // The flag tells the sandbox initialization code inside Chrome that the sandbox | 1084 // The flag tells the sandbox initialization code inside Chrome that the sandbox |
| 1077 // should already be enabled. | 1085 // should already be enabled. |
| 1078 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as | 1086 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as |
| 1079 // processes will be assumed to run under the V2 sandbox. | 1087 // processes will be assumed to run under the V2 sandbox. |
| 1080 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; | 1088 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; |
| 1081 #endif // defined(OS_MACOSX) | 1089 #endif // defined(OS_MACOSX) |
| 1082 | 1090 |
| 1083 // Don't dump stuff here, follow the same order as the header. | 1091 // Don't dump stuff here, follow the same order as the header. |
| 1084 | 1092 |
| 1085 } // namespace switches | 1093 } // namespace switches |
| OLD | NEW |