| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // Enable extension toolstrips (deprecated API - will be removed). | 194 // Enable extension toolstrips (deprecated API - will be removed). |
| 195 const char kEnableExtensionToolstrips[] = "enable-extension-toolstrips"; | 195 const char kEnableExtensionToolstrips[] = "enable-extension-toolstrips"; |
| 196 | 196 |
| 197 // Enable the fastback page cache. | 197 // Enable the fastback page cache. |
| 198 const char kEnableFastback[] = "enable-fastback"; | 198 const char kEnableFastback[] = "enable-fastback"; |
| 199 | 199 |
| 200 // By default, cookies are not allowed on file://. They are needed for | 200 // By default, cookies are not allowed on file://. They are needed for |
| 201 // testing, for example page cycler and layout tests. See bug 1157243. | 201 // testing, for example page cycler and layout tests. See bug 1157243. |
| 202 const char kEnableFileCookies[] = "enable-file-cookies"; | 202 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 203 | 203 |
| 204 // Enable Geolocation support. |
| 205 const char kEnableGeolocation[] = "enable-geolocation"; |
| 206 |
| 204 // Disable LocalStorage. | 207 // Disable LocalStorage. |
| 205 const char kDisableLocalStorage[] = "disable-local-storage"; | 208 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 206 | 209 |
| 207 // Force logging to be enabled. Logging is disabled by default in release | 210 // Force logging to be enabled. Logging is disabled by default in release |
| 208 // builds. | 211 // builds. |
| 209 const char kEnableLogging[] = "enable-logging"; | 212 const char kEnableLogging[] = "enable-logging"; |
| 210 | 213 |
| 211 // On Windows, converts the page to the currently-installed monitor profile. | 214 // On Windows, converts the page to the currently-installed monitor profile. |
| 212 // This does NOT enable color management for images. The source is still | 215 // This does NOT enable color management for images. The source is still |
| 213 // assumed to be sRGB. | 216 // assumed to be sRGB. |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 | 709 |
| 707 // ----------------------------------------------------------------------------- | 710 // ----------------------------------------------------------------------------- |
| 708 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 711 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 709 // | 712 // |
| 710 // You were going to just dump your switches here, weren't you? Instead, | 713 // You were going to just dump your switches here, weren't you? Instead, |
| 711 // please put them in alphabetical order above, or in order inside the | 714 // please put them in alphabetical order above, or in order inside the |
| 712 // appropriate ifdef at the bottom. The order should match the header. | 715 // appropriate ifdef at the bottom. The order should match the header. |
| 713 // ----------------------------------------------------------------------------- | 716 // ----------------------------------------------------------------------------- |
| 714 | 717 |
| 715 } // namespace switches | 718 } // namespace switches |
| OLD | NEW |