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