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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
187 // Enable the fastback page cache. | 187 // Enable the fastback page cache. |
188 const char kEnableFastback[] = "enable-fastback"; | 188 const char kEnableFastback[] = "enable-fastback"; |
189 | 189 |
190 // By default, cookies are not allowed on file://. They are needed for | 190 // By default, cookies are not allowed on file://. They are needed for |
191 // testing, for example page cycler and layout tests. See bug 1157243. | 191 // testing, for example page cycler and layout tests. See bug 1157243. |
192 const char kEnableFileCookies[] = "enable-file-cookies"; | 192 const char kEnableFileCookies[] = "enable-file-cookies"; |
193 | 193 |
194 // By default, js content scripts are not allowed on file://. They are needed | |
195 // for page cycler tests. See http://crbug.com/27877. | |
196 const char kEnableJsOnFileUrls[] = "enable-content-script-on-file-urls"; | |
197 | |
198 // Disable LocalStorage. | 194 // Disable LocalStorage. |
199 const char kDisableLocalStorage[] = "disable-local-storage"; | 195 const char kDisableLocalStorage[] = "disable-local-storage"; |
200 | 196 |
201 // Force logging to be enabled. Logging is disabled by default in release | 197 // Force logging to be enabled. Logging is disabled by default in release |
202 // builds. | 198 // builds. |
203 const char kEnableLogging[] = "enable-logging"; | 199 const char kEnableLogging[] = "enable-logging"; |
204 | 200 |
205 // On Windows, converts the page to the currently-installed monitor profile. | 201 // On Windows, converts the page to the currently-installed monitor profile. |
206 // This does NOT enable color management for images. The source is still | 202 // This does NOT enable color management for images. The source is still |
207 // assumed to be sRGB. | 203 // assumed to be sRGB. |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 | 702 |
707 // ----------------------------------------------------------------------------- | 703 // ----------------------------------------------------------------------------- |
708 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 704 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
709 // | 705 // |
710 // 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, |
711 // 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 |
712 // appropriate ifdef at the bottom. The order should match the header. | 708 // appropriate ifdef at the bottom. The order should match the header. |
713 // ----------------------------------------------------------------------------- | 709 // ----------------------------------------------------------------------------- |
714 | 710 |
715 } // namespace switches | 711 } // namespace switches |
OLD | NEW |