OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 const char kDisableExtensions[] = "disable-extensions"; | 197 const char kDisableExtensions[] = "disable-extensions"; |
198 | 198 |
199 // Disable checking for user opt-in for extensions that want to inject script | 199 // Disable checking for user opt-in for extensions that want to inject script |
200 // into file URLs (ie, always allow it). This is used during automated testing. | 200 // into file URLs (ie, always allow it). This is used during automated testing. |
201 const char kDisableExtensionsFileAccessCheck[] = | 201 const char kDisableExtensionsFileAccessCheck[] = |
202 "disable-extensions-file-access-check"; | 202 "disable-extensions-file-access-check"; |
203 | 203 |
204 // Disable FileSystem API. | 204 // Disable FileSystem API. |
205 const char kDisableFileSystem[] = "disable-file-system"; | 205 const char kDisableFileSystem[] = "disable-file-system"; |
206 | 206 |
207 // Disables the sandbox for the built-in flash player. | |
208 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | |
209 | |
210 // Suppresses support for the Geolocation javascript API. | 207 // Suppresses support for the Geolocation javascript API. |
211 const char kDisableGeolocation[] = "disable-geolocation"; | 208 const char kDisableGeolocation[] = "disable-geolocation"; |
212 | 209 |
213 // Disable the GLSL translator. | 210 // Disable the GLSL translator. |
214 const char kDisableGLSLTranslator[] = "disable-glsl-translator"; | 211 const char kDisableGLSLTranslator[] = "disable-glsl-translator"; |
215 | 212 |
216 // Disable the thread that crashes the GPU process if it stops responding to | 213 // Disable the thread that crashes the GPU process if it stops responding to |
217 // messages. | 214 // messages. |
218 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 215 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
219 | 216 |
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1332 | 1329 |
1333 // ----------------------------------------------------------------------------- | 1330 // ----------------------------------------------------------------------------- |
1334 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1331 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1335 // | 1332 // |
1336 // You were going to just dump your switches here, weren't you? Instead, | 1333 // You were going to just dump your switches here, weren't you? Instead, |
1337 // please put them in alphabetical order above, or in order inside the | 1334 // please put them in alphabetical order above, or in order inside the |
1338 // appropriate ifdef at the bottom. The order should match the header. | 1335 // appropriate ifdef at the bottom. The order should match the header. |
1339 // ----------------------------------------------------------------------------- | 1336 // ----------------------------------------------------------------------------- |
1340 | 1337 |
1341 } // namespace switches | 1338 } // namespace switches |
OLD | NEW |