| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 282 |
| 283 // Disable smooth scrolling for testing. | 283 // Disable smooth scrolling for testing. |
| 284 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 284 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
| 285 | 285 |
| 286 // Disables the use of a 3D software rasterizer. | 286 // Disables the use of a 3D software rasterizer. |
| 287 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 287 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
| 288 | 288 |
| 289 // Disables the Web Speech API. | 289 // Disables the Web Speech API. |
| 290 const char kDisableSpeechAPI[] = "disable-speech-api"; | 290 const char kDisableSpeechAPI[] = "disable-speech-api"; |
| 291 | 291 |
| 292 // Disable multithreaded GPU compositing of web content. | |
| 293 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | |
| 294 | |
| 295 // Disable multithreaded, compositor scrolling of web content. | 292 // Disable multithreaded, compositor scrolling of web content. |
| 296 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling"; | 293 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling"; |
| 297 | 294 |
| 298 // Disable V8 idle tasks. | 295 // Disable V8 idle tasks. |
| 299 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; | 296 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; |
| 300 | 297 |
| 301 // Disables WebGL rendering into a scanout buffer for overlay support. | 298 // Disables WebGL rendering into a scanout buffer for overlay support. |
| 302 const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium"; | 299 const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium"; |
| 303 | 300 |
| 304 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 301 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 463 |
| 467 // Blocks insecure usage of a number of powerful features (device orientation, | 464 // Blocks insecure usage of a number of powerful features (device orientation, |
| 468 // for example) that we haven't yet deprecated for the web at large. | 465 // for example) that we haven't yet deprecated for the web at large. |
| 469 const char kEnableStrictPowerfulFeatureRestrictions[] = | 466 const char kEnableStrictPowerfulFeatureRestrictions[] = |
| 470 "enable-strict-powerful-feature-restrictions"; | 467 "enable-strict-powerful-feature-restrictions"; |
| 471 | 468 |
| 472 // Enable use of experimental TCP sockets API for sending data in the | 469 // Enable use of experimental TCP sockets API for sending data in the |
| 473 // SYN packet. | 470 // SYN packet. |
| 474 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 471 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 475 | 472 |
| 476 // Enabled threaded compositing for layout tests. | |
| 477 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | |
| 478 | |
| 479 // Enable tracing during the execution of browser tests. | 473 // Enable tracing during the execution of browser tests. |
| 480 const char kEnableTracing[] = "enable-tracing"; | 474 const char kEnableTracing[] = "enable-tracing"; |
| 481 | 475 |
| 482 // The filename to write the output of the test tracing to. | 476 // The filename to write the output of the test tracing to. |
| 483 const char kEnableTracingOutput[] = "enable-tracing-output"; | 477 const char kEnableTracingOutput[] = "enable-tracing-output"; |
| 484 | 478 |
| 485 // Enable screen capturing support for MediaStream API. | 479 // Enable screen capturing support for MediaStream API. |
| 486 const char kEnableUserMediaScreenCapturing[] = | 480 const char kEnableUserMediaScreenCapturing[] = |
| 487 "enable-usermedia-screen-capturing"; | 481 "enable-usermedia-screen-capturing"; |
| 488 | 482 |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1076 // The flag tells the sandbox initialization code inside Chrome that the sandbox | 1070 // The flag tells the sandbox initialization code inside Chrome that the sandbox |
| 1077 // should already be enabled. | 1071 // should already be enabled. |
| 1078 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as | 1072 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as |
| 1079 // processes will be assumed to run under the V2 sandbox. | 1073 // processes will be assumed to run under the V2 sandbox. |
| 1080 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; | 1074 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; |
| 1081 #endif // defined(OS_MACOSX) | 1075 #endif // defined(OS_MACOSX) |
| 1082 | 1076 |
| 1083 // Don't dump stuff here, follow the same order as the header. | 1077 // Don't dump stuff here, follow the same order as the header. |
| 1084 | 1078 |
| 1085 } // namespace switches | 1079 } // namespace switches |
| OLD | NEW |