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 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Disables remote web font support. SVG font should always work whether this | 219 // Disables remote web font support. SVG font should always work whether this |
220 // option is specified or not. | 220 // option is specified or not. |
221 const char kDisableRemoteFonts[] = "disable-remote-fonts"; | 221 const char kDisableRemoteFonts[] = "disable-remote-fonts"; |
222 | 222 |
223 // Turns off the accessibility in the renderer. | 223 // Turns off the accessibility in the renderer. |
224 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; | 224 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; |
225 | 225 |
226 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). | 226 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). |
227 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; | 227 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; |
228 | 228 |
229 // Disable session storage. | |
230 const char kDisableSessionStorage[] = "disable-session-storage"; | |
231 | |
232 // Disable the setuid sandbox (Linux only). | 229 // Disable the setuid sandbox (Linux only). |
233 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; | 230 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; |
234 | 231 |
235 // Disable shared workers. | 232 // Disable shared workers. |
236 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 233 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
237 | 234 |
238 // For tests, disable single thread scheduler and only manually composite. | 235 // For tests, disable single thread scheduler and only manually composite. |
239 const char kDisableSingleThreadProxyScheduler[] = | 236 const char kDisableSingleThreadProxyScheduler[] = |
240 "disable-single-thread-proxy-scheduler"; | 237 "disable-single-thread-proxy-scheduler"; |
241 | 238 |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 977 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
981 return false; | 978 return false; |
982 // Default. | 979 // Default. |
983 return group_name == "Enabled"; | 980 return group_name == "Enabled"; |
984 } | 981 } |
985 #endif | 982 #endif |
986 | 983 |
987 // Don't dump stuff here, follow the same order as the header. | 984 // Don't dump stuff here, follow the same order as the header. |
988 | 985 |
989 } // namespace switches | 986 } // namespace switches |
OLD | NEW |