Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 220373003: Prevent Chrome from quitting when apps are open. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 // The browser exits after migration is complete. 1454 // The browser exits after migration is complete.
1455 const char kMigrateDataDirForSxS[] = "migrate-data-dir-for-sxs"; 1455 const char kMigrateDataDirForSxS[] = "migrate-data-dir-for-sxs";
1456 1456
1457 // Allows sending text-to-speech requests to speech-dispatcher, a common 1457 // Allows sending text-to-speech requests to speech-dispatcher, a common
1458 // Linux speech service. Because it's buggy, the user must explicitly 1458 // Linux speech service. Because it's buggy, the user must explicitly
1459 // enable it so that visiting a random webpage can't cause instability. 1459 // enable it so that visiting a random webpage can't cause instability.
1460 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; 1460 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
1461 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) 1461 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
1462 1462
1463 #if defined(OS_MACOSX) 1463 #if defined(OS_MACOSX)
1464 // Prevents Chrome from quitting when Chrome Apps are open.
1465 const char kAppsKeepChromeAlive[] = "apps-keep-chrome-alive";
1466
1464 // Disables the creation and launch of app shims for platform apps. 1467 // Disables the creation and launch of app shims for platform apps.
1465 const char kDisableAppShims[] = "disable-app-shims"; 1468 const char kDisableAppShims[] = "disable-app-shims";
1466 1469
1467 // Forcibly disables Lion-style on newer OSes, to allow developers to test the 1470 // Forcibly disables Lion-style on newer OSes, to allow developers to test the
1468 // older, SnowLeopard-style fullscreen. 1471 // older, SnowLeopard-style fullscreen.
1469 const char kDisableSystemFullscreenForTesting[] = 1472 const char kDisableSystemFullscreenForTesting[] =
1470 "disable-system-fullscreen-for-testing"; 1473 "disable-system-fullscreen-for-testing";
1471 1474
1472 // Enables a simplified fullscreen UI on Mac. 1475 // Enables a simplified fullscreen UI on Mac.
1473 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; 1476 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 1546
1544 // ----------------------------------------------------------------------------- 1547 // -----------------------------------------------------------------------------
1545 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1548 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1546 // 1549 //
1547 // You were going to just dump your switches here, weren't you? Instead, please 1550 // You were going to just dump your switches here, weren't you? Instead, please
1548 // put them in alphabetical order above, or in order inside the appropriate 1551 // put them in alphabetical order above, or in order inside the appropriate
1549 // ifdef at the bottom. The order should match the header. 1552 // ifdef at the bottom. The order should match the header.
1550 // ----------------------------------------------------------------------------- 1553 // -----------------------------------------------------------------------------
1551 1554
1552 } // namespace switches 1555 } // namespace switches
OLDNEW
« chrome/chrome_browser_ui.gypi ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698