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 "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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 // disable translate with the preference. | 488 // disable translate with the preference. |
489 const char kDisableTranslate[] = "disable-translate"; | 489 const char kDisableTranslate[] = "disable-translate"; |
490 | 490 |
491 // Disables TLS Channel ID extension. | 491 // Disables TLS Channel ID extension. |
492 const char kDisableTLSChannelID[] = "disable-tls-channel-id"; | 492 const char kDisableTLSChannelID[] = "disable-tls-channel-id"; |
493 | 493 |
494 // Disables some security measures when accessing user media devices like | 494 // Disables some security measures when accessing user media devices like |
495 // webcams and microphones, especially on non-HTTPS pages. | 495 // webcams and microphones, especially on non-HTTPS pages. |
496 const char kDisableUserMediaSecurity[] = "disable-user-media-security"; | 496 const char kDisableUserMediaSecurity[] = "disable-user-media-security"; |
497 | 497 |
| 498 // Do not expose WebGL extension WEBGL_debug_renderer_info to unprivileged code |
| 499 // in the browser. |
| 500 const char kDisableWebGLDebugRendererInfo[] = |
| 501 "disable-webgl-debug-renderer-info"; |
| 502 |
498 // Disables the backend service for web resources. | 503 // Disables the backend service for web resources. |
499 const char kDisableWebResources[] = "disable-web-resources"; | 504 const char kDisableWebResources[] = "disable-web-resources"; |
500 | 505 |
501 // Some tests seem to require the application to close when the last | 506 // Some tests seem to require the application to close when the last |
502 // browser window is closed. Thus, we need a switch to force this behavior | 507 // browser window is closed. Thus, we need a switch to force this behavior |
503 // for ChromeOS Aura, disable "zero window mode". | 508 // for ChromeOS Aura, disable "zero window mode". |
504 // TODO(pkotwicz): Investigate if this bug can be removed. | 509 // TODO(pkotwicz): Investigate if this bug can be removed. |
505 // (http://crbug.com/119175) | 510 // (http://crbug.com/119175) |
506 const char kDisableZeroBrowsersOpenForTests[] = | 511 const char kDisableZeroBrowsersOpenForTests[] = |
507 "disable-zero-browsers-open-for-tests"; | 512 "disable-zero-browsers-open-for-tests"; |
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 | 1671 |
1667 // ----------------------------------------------------------------------------- | 1672 // ----------------------------------------------------------------------------- |
1668 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1673 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1669 // | 1674 // |
1670 // You were going to just dump your switches here, weren't you? Instead, please | 1675 // You were going to just dump your switches here, weren't you? Instead, please |
1671 // put them in alphabetical order above, or in order inside the appropriate | 1676 // put them in alphabetical order above, or in order inside the appropriate |
1672 // ifdef at the bottom. The order should match the header. | 1677 // ifdef at the bottom. The order should match the header. |
1673 // ----------------------------------------------------------------------------- | 1678 // ----------------------------------------------------------------------------- |
1674 | 1679 |
1675 } // namespace switches | 1680 } // namespace switches |
OLD | NEW |