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