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 "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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 227 |
228 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). | 228 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). |
229 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; | 229 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; |
230 | 230 |
231 // Disable the setuid sandbox (Linux only). | 231 // Disable the setuid sandbox (Linux only). |
232 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; | 232 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; |
233 | 233 |
234 // Disable shared workers. | 234 // Disable shared workers. |
235 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 235 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
236 | 236 |
| 237 // Disables slimming paint: http://www.chromium.org/blink/slimming-paint |
| 238 // Can be overridden by kEnableSlimmingPaint. |
| 239 const char kDisableSlimmingPaint[] = "disable-slimming-paint"; |
| 240 |
237 // Disable smooth scrolling for testing. | 241 // Disable smooth scrolling for testing. |
238 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 242 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
239 | 243 |
240 // Disables the use of a 3D software rasterizer. | 244 // Disables the use of a 3D software rasterizer. |
241 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 245 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
242 | 246 |
243 // Disables the Web Speech API. | 247 // Disables the Web Speech API. |
244 const char kDisableSpeechAPI[] = "disable-speech-api"; | 248 const char kDisableSpeechAPI[] = "disable-speech-api"; |
245 | 249 |
246 // Disables SVG 1.1 DOM. | 250 // Disables SVG 1.1 DOM. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 | 408 |
405 // Enables seccomp-bpf support for Android. Requires experimental kernel | 409 // Enables seccomp-bpf support for Android. Requires experimental kernel |
406 // support. <http://crbug.com/166704> | 410 // support. <http://crbug.com/166704> |
407 const char kEnableSeccompFilterSandbox[] = | 411 const char kEnableSeccompFilterSandbox[] = |
408 "enable-seccomp-filter-sandbox"; | 412 "enable-seccomp-filter-sandbox"; |
409 | 413 |
410 // Enables the Skia benchmarking extension | 414 // Enables the Skia benchmarking extension |
411 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; | 415 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; |
412 | 416 |
413 // Enables slimming paint: http://www.chromium.org/blink/slimming-paint | 417 // Enables slimming paint: http://www.chromium.org/blink/slimming-paint |
| 418 // Overrides kDisableSlimmingPaint if both are present. |
414 const char kEnableSlimmingPaint[] = "enable-slimming-paint"; | 419 const char kEnableSlimmingPaint[] = "enable-slimming-paint"; |
415 | 420 |
416 // On platforms that support it, enables smooth scroll animation. | 421 // On platforms that support it, enables smooth scroll animation. |
417 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 422 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
418 | 423 |
419 // Enable spatial navigation | 424 // Enable spatial navigation |
420 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; | 425 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; |
421 | 426 |
422 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 427 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
423 // which permits servers to allow the use of stale resources while revalidation | 428 // which permits servers to allow the use of stale resources while revalidation |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 // Windows Vista and later. | 1002 // Windows Vista and later. |
998 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1003 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
999 #endif | 1004 #endif |
1000 | 1005 |
1001 // Enables the use of NPAPI plugins. | 1006 // Enables the use of NPAPI plugins. |
1002 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1007 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
1003 | 1008 |
1004 // Don't dump stuff here, follow the same order as the header. | 1009 // Don't dump stuff here, follow the same order as the header. |
1005 | 1010 |
1006 } // namespace switches | 1011 } // namespace switches |
OLD | NEW |