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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // --extra-plugin-dir and --load-plugin switches. | 239 // --extra-plugin-dir and --load-plugin switches. |
240 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; | 240 const char kDisablePluginsDiscovery[] = "disable-plugins-discovery"; |
241 | 241 |
242 // Disables remote web font support. SVG font should always work whether this | 242 // Disables remote web font support. SVG font should always work whether this |
243 // option is specified or not. | 243 // option is specified or not. |
244 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 244 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
245 | 245 |
246 // Turns off the accessibility in the renderer. | 246 // Turns off the accessibility in the renderer. |
247 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 247 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
248 | 248 |
249 // Disables the new layout/paint system which paints after layout is complete. | |
250 const char kDisableRepaintAfterLayout[] = "disable-repaint-after-layout"; | |
251 | |
252 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). | 249 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). |
253 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; | 250 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; |
254 | 251 |
255 // Disable session storage. | 252 // Disable session storage. |
256 const char kDisableSessionStorage[] = "disable-session-storage"; | 253 const char kDisableSessionStorage[] = "disable-session-storage"; |
257 | 254 |
258 // Disable the setuid sandbox (Linux only). | 255 // Disable the setuid sandbox (Linux only). |
259 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; | 256 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; |
260 | 257 |
261 // Enable shared workers. Functionality not yet complete. | 258 // Enable shared workers. Functionality not yet complete. |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 // also applys to workers. | 433 // also applys to workers. |
437 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 434 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
438 | 435 |
439 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 436 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
440 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 437 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
441 | 438 |
442 // Enables the CSS multicol implementation that uses the regions implementation. | 439 // Enables the CSS multicol implementation that uses the regions implementation. |
443 const char kEnableRegionBasedColumns[] = | 440 const char kEnableRegionBasedColumns[] = |
444 "enable-region-based-columns"; | 441 "enable-region-based-columns"; |
445 | 442 |
446 // Enables the new layout/paint system which paints after layout is complete. | |
447 const char kEnableRepaintAfterLayout[] = | |
448 "enable-repaint-after-layout"; | |
449 | |
450 // Enables targeted style recalculation optimizations. | 443 // Enables targeted style recalculation optimizations. |
451 const char kEnableTargetedStyleRecalc[] = | 444 const char kEnableTargetedStyleRecalc[] = |
452 "enable-targeted-style-recalc"; | 445 "enable-targeted-style-recalc"; |
453 | 446 |
454 // Cause the OS X sandbox write to syslog every time an access to a resource | 447 // Cause the OS X sandbox write to syslog every time an access to a resource |
455 // is denied by the sandbox. | 448 // is denied by the sandbox. |
456 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; | 449 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; |
457 | 450 |
458 // Enables seccomp-bpf support for Android. Requires experimental kernel | 451 // Enables seccomp-bpf support for Android. Requires experimental kernel |
459 // support. <http://crbug.com/166704> | 452 // support. <http://crbug.com/166704> |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 // Enable the Win32K process mitigation policy for renderer processes which | 956 // Enable the Win32K process mitigation policy for renderer processes which |
964 // prevents them from invoking user32 and gdi32 system calls which enter | 957 // prevents them from invoking user32 and gdi32 system calls which enter |
965 // the kernel. This is only supported on Windows 8 and beyond. | 958 // the kernel. This is only supported on Windows 8 and beyond. |
966 const char kEnableWin32kRendererLockDown[] | 959 const char kEnableWin32kRendererLockDown[] |
967 = "enable_win32k_renderer_lockdown"; | 960 = "enable_win32k_renderer_lockdown"; |
968 #endif | 961 #endif |
969 | 962 |
970 // Don't dump stuff here, follow the same order as the header. | 963 // Don't dump stuff here, follow the same order as the header. |
971 | 964 |
972 } // namespace switches | 965 } // namespace switches |
OLD | NEW |