| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // TODO(scherkus): remove --disable-audio when we have a proper fallback | 68 // TODO(scherkus): remove --disable-audio when we have a proper fallback |
| 69 // mechanism. | 69 // mechanism. |
| 70 const char kDisableAudio[] = "disable-audio"; | 70 const char kDisableAudio[] = "disable-audio"; |
| 71 | 71 |
| 72 // Disable support for cached byte-ranges. | 72 // Disable support for cached byte-ranges. |
| 73 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; | 73 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; |
| 74 | 74 |
| 75 // Disables the custom JumpList on Windows 7. | 75 // Disables the custom JumpList on Windows 7. |
| 76 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 76 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
| 77 | 77 |
| 78 // Disables desktop notifications (default enabled on windows). |
| 79 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 80 |
| 78 // Browser flag to disable the web inspector for all renderers. | 81 // Browser flag to disable the web inspector for all renderers. |
| 79 const char kDisableDevTools[] = "disable-dev-tools"; | 82 const char kDisableDevTools[] = "disable-dev-tools"; |
| 80 | 83 |
| 81 // Disable extensions. | 84 // Disable extensions. |
| 82 const char kDisableExtensions[] = "disable-extensions"; | 85 const char kDisableExtensions[] = "disable-extensions"; |
| 83 | 86 |
| 84 // Suppresses hang monitor dialogs in renderer processes. | 87 // Suppresses hang monitor dialogs in renderer processes. |
| 85 const char kDisableHangMonitor[] = "disable-hang-monitor"; | 88 const char kDisableHangMonitor[] = "disable-hang-monitor"; |
| 86 | 89 |
| 87 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging | 90 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 167 |
| 165 // Enable ApplicationCache. Still mostly not there. | 168 // Enable ApplicationCache. Still mostly not there. |
| 166 const char kEnableApplicationCache[] = "enable-application-cache"; | 169 const char kEnableApplicationCache[] = "enable-application-cache"; |
| 167 | 170 |
| 168 // Enables the benchmarking extensions. | 171 // Enables the benchmarking extensions. |
| 169 const char kEnableBenchmarking[] = "enable-benchmarking"; | 172 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 170 | 173 |
| 171 // Enables HTML5 DB support. | 174 // Enables HTML5 DB support. |
| 172 const char kEnableDatabases[] = "enable-databases"; | 175 const char kEnableDatabases[] = "enable-databases"; |
| 173 | 176 |
| 174 // Enabled desktop notifications. | |
| 175 const char kEnableDesktopNotifications[] = "enable-desktop-notifications"; | |
| 176 | |
| 177 // Enables extension APIs that are in development. | 177 // Enables extension APIs that are in development. |
| 178 const char kEnableExperimentalExtensionApis[] = | 178 const char kEnableExperimentalExtensionApis[] = |
| 179 "enable-experimental-extension-apis"; | 179 "enable-experimental-extension-apis"; |
| 180 | 180 |
| 181 // Enable experimental WebGL support. | 181 // Enable experimental WebGL support. |
| 182 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 182 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 183 | 183 |
| 184 // Enable experimental timeline API. | 184 // Enable experimental timeline API. |
| 185 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; | 185 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; |
| 186 | 186 |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 | 702 |
| 703 // ----------------------------------------------------------------------------- | 703 // ----------------------------------------------------------------------------- |
| 704 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 704 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 705 // | 705 // |
| 706 // You were going to just dump your switches here, weren't you? Instead, | 706 // You were going to just dump your switches here, weren't you? Instead, |
| 707 // please put them in alphabetical order above, or in order inside the | 707 // please put them in alphabetical order above, or in order inside the |
| 708 // appropriate ifdef at the bottom. The order should match the header. | 708 // appropriate ifdef at the bottom. The order should match the header. |
| 709 // ----------------------------------------------------------------------------- | 709 // ----------------------------------------------------------------------------- |
| 710 | 710 |
| 711 } // namespace switches | 711 } // namespace switches |
| OLD | NEW |