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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 // Enables video logging where video elements log playback performance data to | 606 // Enables video logging where video elements log playback performance data to |
607 // the debug log. | 607 // the debug log. |
608 const char kEnableVideoLogging[] = "enable-video-logging"; | 608 const char kEnableVideoLogging[] = "enable-video-logging"; |
609 | 609 |
610 // Spawn threads to watch for excessive delays in specified message loops. | 610 // Spawn threads to watch for excessive delays in specified message loops. |
611 // User should set breakpoints on Alarm() to examine problematic thread. | 611 // User should set breakpoints on Alarm() to examine problematic thread. |
612 // Usage: -enable-watchdog=[ui][io] | 612 // Usage: -enable-watchdog=[ui][io] |
613 // Order of the listed sub-arguments does not matter. | 613 // Order of the listed sub-arguments does not matter. |
614 const char kEnableWatchdog[] = "enable-watchdog"; | 614 const char kEnableWatchdog[] = "enable-watchdog"; |
615 | 615 |
616 // Enable web audio API. | |
617 const char kEnableWebAudio[] = "enable-webaudio"; | |
618 | |
619 // Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 616 // Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
620 const char kEnableXSSAuditor[] = "enable-xss-auditor"; | 617 const char kEnableXSSAuditor[] = "enable-xss-auditor"; |
621 | 618 |
622 // Enables experimental features for the geolocation API. | 619 // Enables experimental features for the geolocation API. |
623 // Current features: | 620 // Current features: |
624 // - CoreLocation support for Mac OS X 10.6 | 621 // - CoreLocation support for Mac OS X 10.6 |
625 // - Gateway location for Linux and Windows | 622 // - Gateway location for Linux and Windows |
626 // - Location platform support for Windows 7 | 623 // - Location platform support for Windows 7 |
627 const char kExperimentalLocationFeatures[] = "experimental-location-features"; | 624 const char kExperimentalLocationFeatures[] = "experimental-location-features"; |
628 | 625 |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1394 | 1391 |
1395 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
1396 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1397 // | 1394 // |
1398 // You were going to just dump your switches here, weren't you? Instead, | 1395 // You were going to just dump your switches here, weren't you? Instead, |
1399 // please put them in alphabetical order above, or in order inside the | 1396 // please put them in alphabetical order above, or in order inside the |
1400 // appropriate ifdef at the bottom. The order should match the header. | 1397 // appropriate ifdef at the bottom. The order should match the header. |
1401 // ----------------------------------------------------------------------------- | 1398 // ----------------------------------------------------------------------------- |
1402 | 1399 |
1403 } // namespace switches | 1400 } // namespace switches |
OLD | NEW |