| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; | 1247 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; |
| 1248 | 1248 |
| 1249 // For the DelegateExecute verb handler to launch Chrome in metro mode on | 1249 // For the DelegateExecute verb handler to launch Chrome in metro mode on |
| 1250 // Windows 8 and higher. Used when relaunching metro Chrome. | 1250 // Windows 8 and higher. Used when relaunching metro Chrome. |
| 1251 const char kForceImmersive[] = "force-immersive"; | 1251 const char kForceImmersive[] = "force-immersive"; |
| 1252 | 1252 |
| 1253 // Whether or not the browser should warn if the profile is on a network share. | 1253 // Whether or not the browser should warn if the profile is on a network share. |
| 1254 // This flag is only relevant for Windows currently. | 1254 // This flag is only relevant for Windows currently. |
| 1255 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; | 1255 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; |
| 1256 | 1256 |
| 1257 // /prefetch:# arguments for the browser process launched in background mode and |
| 1258 // for the watcher process. These constants must be different from the |
| 1259 // kPrefetchArgument* constants defined in content_switches.cc. |
| 1260 const char kPrefetchArgumentBrowserBackground[] = "/prefetch:6"; |
| 1261 const char kPrefetchArgumentWatcher[] = "/prefetch:7"; |
| 1262 |
| 1257 // For the DelegateExecute verb handler to launch Chrome in desktop mode on | 1263 // For the DelegateExecute verb handler to launch Chrome in desktop mode on |
| 1258 // Windows 8 and higher. Used when relaunching metro Chrome. | 1264 // Windows 8 and higher. Used when relaunching metro Chrome. |
| 1259 const char kForceDesktop[] = "force-desktop"; | 1265 const char kForceDesktop[] = "force-desktop"; |
| 1260 | 1266 |
| 1261 // Makes Windows happy by allowing it to show "Enable access to this program" | 1267 // Makes Windows happy by allowing it to show "Enable access to this program" |
| 1262 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only | 1268 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only |
| 1263 // shows an error box because the only way to hide Chrome is by uninstalling | 1269 // shows an error box because the only way to hide Chrome is by uninstalling |
| 1264 // it. | 1270 // it. |
| 1265 const char kHideIcons[] = "hide-icons"; | 1271 const char kHideIcons[] = "hide-icons"; |
| 1266 | 1272 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 | 1399 |
| 1394 // ----------------------------------------------------------------------------- | 1400 // ----------------------------------------------------------------------------- |
| 1395 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1401 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1396 // | 1402 // |
| 1397 // You were going to just dump your switches here, weren't you? Instead, please | 1403 // You were going to just dump your switches here, weren't you? Instead, please |
| 1398 // put them in alphabetical order above, or in order inside the appropriate | 1404 // put them in alphabetical order above, or in order inside the appropriate |
| 1399 // ifdef at the bottom. The order should match the header. | 1405 // ifdef at the bottom. The order should match the header. |
| 1400 // ----------------------------------------------------------------------------- | 1406 // ----------------------------------------------------------------------------- |
| 1401 | 1407 |
| 1402 } // namespace switches | 1408 } // namespace switches |
| OLD | NEW |