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 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 // Allows sending text-to-speech requests to speech-dispatcher, a common | 1337 // Allows sending text-to-speech requests to speech-dispatcher, a common |
1338 // Linux speech service. Because it's buggy, the user must explicitly | 1338 // Linux speech service. Because it's buggy, the user must explicitly |
1339 // enable it so that visiting a random webpage can't cause instability. | 1339 // enable it so that visiting a random webpage can't cause instability. |
1340 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 1340 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
1341 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) | 1341 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) |
1342 | 1342 |
1343 #if defined(OS_MACOSX) | 1343 #if defined(OS_MACOSX) |
1344 // Prevents Chrome from quitting when Chrome Apps are open. | 1344 // Prevents Chrome from quitting when Chrome Apps are open. |
1345 const char kAppsKeepChromeAlive[] = "apps-keep-chrome-alive"; | 1345 const char kAppsKeepChromeAlive[] = "apps-keep-chrome-alive"; |
1346 | 1346 |
1347 // Disables the creation and launch of app shims for platform apps. | |
1348 const char kDisableAppShims[] = "disable-app-shims"; | |
1349 | |
1350 // Forcibly disables Lion-style on newer OSes, to allow developers to test the | 1347 // Forcibly disables Lion-style on newer OSes, to allow developers to test the |
1351 // older, SnowLeopard-style fullscreen. | 1348 // older, SnowLeopard-style fullscreen. |
1352 const char kDisableSystemFullscreenForTesting[] = | 1349 const char kDisableSystemFullscreenForTesting[] = |
1353 "disable-system-fullscreen-for-testing"; | 1350 "disable-system-fullscreen-for-testing"; |
1354 | 1351 |
1355 // Enables a simplified fullscreen UI on Mac. | 1352 // Enables a simplified fullscreen UI on Mac. |
1356 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; | 1353 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; |
1357 | 1354 |
1358 // A process type (switches::kProcessType) that relaunches the browser. See | 1355 // A process type (switches::kProcessType) that relaunches the browser. See |
1359 // chrome/browser/mac/relauncher.h. | 1356 // chrome/browser/mac/relauncher.h. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 | 1420 |
1424 // ----------------------------------------------------------------------------- | 1421 // ----------------------------------------------------------------------------- |
1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1422 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1426 // | 1423 // |
1427 // You were going to just dump your switches here, weren't you? Instead, please | 1424 // You were going to just dump your switches here, weren't you? Instead, please |
1428 // put them in alphabetical order above, or in order inside the appropriate | 1425 // put them in alphabetical order above, or in order inside the appropriate |
1429 // ifdef at the bottom. The order should match the header. | 1426 // ifdef at the bottom. The order should match the header. |
1430 // ----------------------------------------------------------------------------- | 1427 // ----------------------------------------------------------------------------- |
1431 | 1428 |
1432 } // namespace switches | 1429 } // namespace switches |
OLD | NEW |