| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 279 |
| 280 // Disable syncing of typed urls. | 280 // Disable syncing of typed urls. |
| 281 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 281 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 282 | 282 |
| 283 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 283 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 284 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 284 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 285 // need a switch to disable the watcher. | 285 // need a switch to disable the watcher. |
| 286 const char kDisableTabCloseableStateWatcher[] = | 286 const char kDisableTabCloseableStateWatcher[] = |
| 287 "disable-tab-closeable-state-watcher"; | 287 "disable-tab-closeable-state-watcher"; |
| 288 | 288 |
| 289 // Allow disabling of translate from the command line to assist with |
| 290 // automated browser testing (e.g. Selenium/WebDriver). Normal |
| 291 // browser users should disable translate with the preference. |
| 292 const char kDisableTranslate[] = "disable-translate"; |
| 293 |
| 289 // Enables the backend service for web resources, used in the new tab page for | 294 // Enables the backend service for web resources, used in the new tab page for |
| 290 // loading tips and recommendations from a JSON feed. | 295 // loading tips and recommendations from a JSON feed. |
| 291 const char kDisableWebResources[] = "disable-web-resources"; | 296 const char kDisableWebResources[] = "disable-web-resources"; |
| 292 | 297 |
| 293 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 298 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 294 const char kDisableWebSecurity[] = "disable-web-security"; | 299 const char kDisableWebSecurity[] = "disable-web-security"; |
| 295 | 300 |
| 296 // Disable Web Sockets support. | 301 // Disable Web Sockets support. |
| 297 const char kDisableWebSockets[] = "disable-web-sockets"; | 302 const char kDisableWebSockets[] = "disable-web-sockets"; |
| 298 | 303 |
| (...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1229 | 1234 |
| 1230 // ----------------------------------------------------------------------------- | 1235 // ----------------------------------------------------------------------------- |
| 1231 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1236 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1232 // | 1237 // |
| 1233 // You were going to just dump your switches here, weren't you? Instead, | 1238 // You were going to just dump your switches here, weren't you? Instead, |
| 1234 // please put them in alphabetical order above, or in order inside the | 1239 // please put them in alphabetical order above, or in order inside the |
| 1235 // appropriate ifdef at the bottom. The order should match the header. | 1240 // appropriate ifdef at the bottom. The order should match the header. |
| 1236 // ----------------------------------------------------------------------------- | 1241 // ----------------------------------------------------------------------------- |
| 1237 | 1242 |
| 1238 } // namespace switches | 1243 } // namespace switches |
| OLD | NEW |