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 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 // The browser exits after migration is complete. | 1355 // The browser exits after migration is complete. |
1356 const char kMigrateDataDirForSxS[] = "migrate-data-dir-for-sxs"; | 1356 const char kMigrateDataDirForSxS[] = "migrate-data-dir-for-sxs"; |
1357 | 1357 |
1358 // Allows sending text-to-speech requests to speech-dispatcher, a common | 1358 // Allows sending text-to-speech requests to speech-dispatcher, a common |
1359 // Linux speech service. Because it's buggy, the user must explicitly | 1359 // Linux speech service. Because it's buggy, the user must explicitly |
1360 // enable it so that visiting a random webpage can't cause instability. | 1360 // enable it so that visiting a random webpage can't cause instability. |
1361 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 1361 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
1362 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) | 1362 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) |
1363 | 1363 |
1364 #if defined(OS_MACOSX) | 1364 #if defined(OS_MACOSX) |
| 1365 // Prevents Chrome from quitting when Chrome Apps are open. |
| 1366 const char kAppsKeepChromeAlive[] = "apps-keep-chrome-alive"; |
| 1367 |
1365 // Disables the creation and launch of app shims for platform apps. | 1368 // Disables the creation and launch of app shims for platform apps. |
1366 const char kDisableAppShims[] = "disable-app-shims"; | 1369 const char kDisableAppShims[] = "disable-app-shims"; |
1367 | 1370 |
1368 // Forcibly disables Lion-style on newer OSes, to allow developers to test the | 1371 // Forcibly disables Lion-style on newer OSes, to allow developers to test the |
1369 // older, SnowLeopard-style fullscreen. | 1372 // older, SnowLeopard-style fullscreen. |
1370 const char kDisableSystemFullscreenForTesting[] = | 1373 const char kDisableSystemFullscreenForTesting[] = |
1371 "disable-system-fullscreen-for-testing"; | 1374 "disable-system-fullscreen-for-testing"; |
1372 | 1375 |
1373 // Enables a simplified fullscreen UI on Mac. | 1376 // Enables a simplified fullscreen UI on Mac. |
1374 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; | 1377 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 | 1444 |
1442 // ----------------------------------------------------------------------------- | 1445 // ----------------------------------------------------------------------------- |
1443 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1446 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1444 // | 1447 // |
1445 // You were going to just dump your switches here, weren't you? Instead, please | 1448 // You were going to just dump your switches here, weren't you? Instead, please |
1446 // put them in alphabetical order above, or in order inside the appropriate | 1449 // put them in alphabetical order above, or in order inside the appropriate |
1447 // ifdef at the bottom. The order should match the header. | 1450 // ifdef at the bottom. The order should match the header. |
1448 // ----------------------------------------------------------------------------- | 1451 // ----------------------------------------------------------------------------- |
1449 | 1452 |
1450 } // namespace switches | 1453 } // namespace switches |
OLD | NEW |