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

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: Address comments 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 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 // The browser exits after migration is complete. 1457 // The browser exits after migration is complete.
1458 const char kMigrateDataDirForSxS[] = "migrate-data-dir-for-sxs"; 1458 const char kMigrateDataDirForSxS[] = "migrate-data-dir-for-sxs";
1459 1459
1460 // Allows sending text-to-speech requests to speech-dispatcher, a common 1460 // Allows sending text-to-speech requests to speech-dispatcher, a common
1461 // Linux speech service. Because it's buggy, the user must explicitly 1461 // Linux speech service. Because it's buggy, the user must explicitly
1462 // enable it so that visiting a random webpage can't cause instability. 1462 // enable it so that visiting a random webpage can't cause instability.
1463 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; 1463 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
1464 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) 1464 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
1465 1465
1466 #if defined(OS_MACOSX) 1466 #if defined(OS_MACOSX)
1467 // Prevents Chrome from quitting when Chrome Apps are open.
1468 const char kAppsKeepChromeAlive[] = "apps-keep-chrome-alive";
1469
1467 // Disables the creation and launch of app shims for platform apps. 1470 // Disables the creation and launch of app shims for platform apps.
1468 const char kDisableAppShims[] = "disable-app-shims"; 1471 const char kDisableAppShims[] = "disable-app-shims";
1469 1472
1470 // Forcibly disables Lion-style on newer OSes, to allow developers to test the 1473 // Forcibly disables Lion-style on newer OSes, to allow developers to test the
1471 // older, SnowLeopard-style fullscreen. 1474 // older, SnowLeopard-style fullscreen.
1472 const char kDisableSystemFullscreenForTesting[] = 1475 const char kDisableSystemFullscreenForTesting[] =
1473 "disable-system-fullscreen-for-testing"; 1476 "disable-system-fullscreen-for-testing";
1474 1477
1475 // Enables a simplified fullscreen UI on Mac. 1478 // Enables a simplified fullscreen UI on Mac.
1476 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; 1479 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 1549
1547 // ----------------------------------------------------------------------------- 1550 // -----------------------------------------------------------------------------
1548 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1551 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1549 // 1552 //
1550 // You were going to just dump your switches here, weren't you? Instead, please 1553 // You were going to just dump your switches here, weren't you? Instead, please
1551 // put them in alphabetical order above, or in order inside the appropriate 1554 // put them in alphabetical order above, or in order inside the appropriate
1552 // ifdef at the bottom. The order should match the header. 1555 // ifdef at the bottom. The order should match the header.
1553 // ----------------------------------------------------------------------------- 1556 // -----------------------------------------------------------------------------
1554 1557
1555 } // namespace switches 1558 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698