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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 // Windows 8 and higher. Used when relaunching metro Chrome. | 1305 // Windows 8 and higher. Used when relaunching metro Chrome. |
1306 const char kForceImmersive[] = "force-immersive"; | 1306 const char kForceImmersive[] = "force-immersive"; |
1307 | 1307 |
1308 // For the DelegateExecute verb handler to launch Chrome in desktop mode on | 1308 // For the DelegateExecute verb handler to launch Chrome in desktop mode on |
1309 // Windows 8 and higher. Used when relaunching metro Chrome. | 1309 // Windows 8 and higher. Used when relaunching metro Chrome. |
1310 const char kForceDesktop[] = "force-desktop"; | 1310 const char kForceDesktop[] = "force-desktop"; |
1311 | 1311 |
1312 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. | 1312 // Relaunches metro Chrome on Windows 8 and higher using a given shortcut. |
1313 const char kRelaunchShortcut[] = "relaunch-shortcut"; | 1313 const char kRelaunchShortcut[] = "relaunch-shortcut"; |
1314 | 1314 |
1315 // Requests that Chrome connect to the running Metro viewer process. | |
1316 const char kViewerConnect[] = "viewer-connect"; | |
1317 | |
1318 // Requests that Chrome launch the Metro viewer process via the given appid | 1315 // Requests that Chrome launch the Metro viewer process via the given appid |
1319 // (which is assumed to be registered as default browser) and synchronously | 1316 // (which is assumed to be registered as default browser) and synchronously |
1320 // connect to it. | 1317 // connect to it. |
1321 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; | 1318 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; |
1322 | 1319 |
1323 // Waits for the given handle to be signaled before relaunching metro Chrome on | 1320 // Waits for the given handle to be signaled before relaunching metro Chrome on |
1324 // Windows 8 and higher. | 1321 // Windows 8 and higher. |
1325 const char kWaitForMutex[] = "wait-for-mutex"; | 1322 const char kWaitForMutex[] = "wait-for-mutex"; |
1326 | 1323 |
1327 // Indicates that chrome was launched to service a search request in Windows 8. | 1324 // Indicates that chrome was launched to service a search request in Windows 8. |
(...skipping 28 matching lines...) Expand all Loading... |
1356 | 1353 |
1357 // ----------------------------------------------------------------------------- | 1354 // ----------------------------------------------------------------------------- |
1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1355 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1359 // | 1356 // |
1360 // You were going to just dump your switches here, weren't you? Instead, please | 1357 // You were going to just dump your switches here, weren't you? Instead, please |
1361 // put them in alphabetical order above, or in order inside the appropriate | 1358 // put them in alphabetical order above, or in order inside the appropriate |
1362 // ifdef at the bottom. The order should match the header. | 1359 // ifdef at the bottom. The order should match the header. |
1363 // ----------------------------------------------------------------------------- | 1360 // ----------------------------------------------------------------------------- |
1364 | 1361 |
1365 } // namespace switches | 1362 } // namespace switches |
OLD | NEW |