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

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

Issue 18421007: [win] Set the profile path when enabling the app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, and fix a few things Created 7 years, 5 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // management backend. Specifying this switch turns on managed policy from the 255 // management backend. Specifying this switch turns on managed policy from the
256 // device management backend. 256 // device management backend.
257 const char kDeviceManagementUrl[] = "device-management-url"; 257 const char kDeviceManagementUrl[] = "device-management-url";
258 258
259 // Triggers a plethora of diagnostic modes. 259 // Triggers a plethora of diagnostic modes.
260 const char kDiagnostics[] = "diagnostics"; 260 const char kDiagnostics[] = "diagnostics";
261 261
262 // Sets the output format for diagnostic modes enabled by diagnostics flag. 262 // Sets the output format for diagnostic modes enabled by diagnostics flag.
263 const char kDiagnosticsFormat[] = "diagnostics-format"; 263 const char kDiagnosticsFormat[] = "diagnostics-format";
264 264
265 // Replaces the audio IPC layer for <audio> and <video> with a mock audio 265 // If set, the app list will be disabled at startup. Note this doesn't prevent
tapted 2013/07/11 07:02:02 note: this was previously attached to a kDisableAu
266 // device, useful when using remote desktop or machines without sound cards. 266 // the app list from running, it just makes Chrome think the app list hasn't
267 // This is temporary until we fix the underlying problem. 267 // been enabled (as in kEnableAppList) yet.
268 const char kDisableAppList[] = "disable-app-list";
268 269
269 // Disables the experimental asynchronous DNS client. 270 // Disables the experimental asynchronous DNS client.
270 const char kDisableAsyncDns[] = "disable-async-dns"; 271 const char kDisableAsyncDns[] = "disable-async-dns";
271 272
272 // Disables CNAME lookup of the host when generating the Kerberos SPN for a 273 // Disables CNAME lookup of the host when generating the Kerberos SPN for a
273 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more 274 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN for more
274 // background. 275 // background.
275 const char kDisableAuthNegotiateCnameLookup[] = 276 const char kDisableAuthNegotiateCnameLookup[] =
276 "disable-auth-negotiate-cname-lookup"; 277 "disable-auth-negotiate-cname-lookup";
277 278
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 const char kDiskCacheSize[] = "disk-cache-size"; 472 const char kDiskCacheSize[] = "disk-cache-size";
472 473
473 const char kDnsLogDetails[] = "dns-log-details"; 474 const char kDnsLogDetails[] = "dns-log-details";
474 475
475 // Disables prefetching of DNS information. 476 // Disables prefetching of DNS information.
476 const char kDnsPrefetchDisable[] = "dns-prefetch-disable"; 477 const char kDnsPrefetchDisable[] = "dns-prefetch-disable";
477 478
478 // Enables the <adview> tag in packaged apps. 479 // Enables the <adview> tag in packaged apps.
479 const char kEnableAdview[] = "enable-adview"; 480 const char kEnableAdview[] = "enable-adview";
480 481
482 // If set, the app list will be enabled as if enabled from CWS.
483 const char kEnableAppList[] = "enable-app-list";
484
481 // Enables specifying a "src" attribute on <adview> elements 485 // Enables specifying a "src" attribute on <adview> elements
482 // (for testing purposes, to skip the whitelist). 486 // (for testing purposes, to skip the whitelist).
483 const char kEnableAdviewSrcAttribute[] = "enable-adview-src-attribute"; 487 const char kEnableAdviewSrcAttribute[] = "enable-adview-src-attribute";
484 488
485 // Enables the <window-controls> tag in platform apps. 489 // Enables the <window-controls> tag in platform apps.
486 const char kEnableAppWindowControls[] = "enable-app-window-controls"; 490 const char kEnableAppWindowControls[] = "enable-app-window-controls";
487 491
488 // Enables the experimental asynchronous DNS client. 492 // Enables the experimental asynchronous DNS client.
489 const char kEnableAsyncDns[] = "enable-async-dns"; 493 const char kEnableAsyncDns[] = "enable-async-dns";
490 494
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 const char kEnableCrashReporterForTesting[] = 1494 const char kEnableCrashReporterForTesting[] =
1491 "enable-crash-reporter-for-testing"; 1495 "enable-crash-reporter-for-testing";
1492 1496
1493 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 1497 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
1494 // Specifies which password store to use (detect, default, gnome, kwallet). 1498 // Specifies which password store to use (detect, default, gnome, kwallet).
1495 const char kPasswordStore[] = "password-store"; 1499 const char kPasswordStore[] = "password-store";
1496 #endif 1500 #endif
1497 #endif // OS_POSIX 1501 #endif // OS_POSIX
1498 1502
1499 #if defined(OS_MACOSX) 1503 #if defined(OS_MACOSX)
1500 // Enables the app list OSX .app shim, for showing the app list. If the flag is
1501 // not present, Chrome will check if the shim exists at startup, and delete it
1502 // if it does.
1503 const char kEnableAppListShim[] = "enable-app-list-shim";
1504
1505 // Enable to allow creation and launch of app shims for platform apps. 1504 // Enable to allow creation and launch of app shims for platform apps.
1506 const char kEnableAppShims[] = "enable-app-shims"; 1505 const char kEnableAppShims[] = "enable-app-shims";
1507 1506
1508 // Enables the tabs expose feature ( http://crbug.com/50307 ). 1507 // Enables the tabs expose feature ( http://crbug.com/50307 ).
1509 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; 1508 const char kEnableExposeForTabs[] = "enable-expose-for-tabs";
1510 1509
1511 // Enables a simplified fullscreen UI on Mac. 1510 // Enables a simplified fullscreen UI on Mac.
1512 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen"; 1511 const char kEnableSimplifiedFullscreen[] = "enable-simplified-fullscreen";
1513 1512
1514 // Performs Keychain reauthorization from the command line on behalf of a 1513 // Performs Keychain reauthorization from the command line on behalf of a
1515 // special Keychain reauthorization stub executable. Used during auto-update. 1514 // special Keychain reauthorization stub executable. Used during auto-update.
1516 const char kKeychainReauthorize[] = "keychain-reauthorize"; 1515 const char kKeychainReauthorize[] = "keychain-reauthorize";
1517 1516
1518 // A process type (switches::kProcessType) that relaunches the browser. See 1517 // A process type (switches::kProcessType) that relaunches the browser. See
1519 // chrome/browser/mac/relauncher.h. 1518 // chrome/browser/mac/relauncher.h.
1520 const char kRelauncherProcess[] = "relauncher"; 1519 const char kRelauncherProcess[] = "relauncher";
1521 1520
1522 // Uses mock keychain for testing purposes, which prevents blocking dialogs 1521 // Uses mock keychain for testing purposes, which prevents blocking dialogs
1523 // from causing timeouts. 1522 // from causing timeouts.
1524 const char kUseMockKeychain[] = "use-mock-keychain"; 1523 const char kUseMockKeychain[] = "use-mock-keychain";
1525 #endif 1524 #endif
1526 1525
1527 #if defined(OS_WIN) 1526 #if defined(OS_WIN)
1528 // If set, the app list will be disabled at startup. Note this doesn't prevent
1529 // the app list from running, it just makes Chrome think the app list hasn't
1530 // been enabled (as in kEnableAppList) yet.
1531 const char kDisableAppList[] = "disable-app-list";
1532
1533 // If set, the app list will be enabled as if enabled from CWS.
1534 const char kEnableAppList[] = "enable-app-list";
1535
1536 // For the DelegateExecute verb handler to launch Chrome in metro mode on 1527 // For the DelegateExecute verb handler to launch Chrome in metro mode on
1537 // Windows 8 and higher. Used when relaunching metro Chrome. 1528 // Windows 8 and higher. Used when relaunching metro Chrome.
1538 const char kForceImmersive[] = "force-immersive"; 1529 const char kForceImmersive[] = "force-immersive";
1539 1530
1540 // For the DelegateExecute verb handler to launch Chrome in desktop mode on 1531 // For the DelegateExecute verb handler to launch Chrome in desktop mode on
1541 // Windows 8 and higher. Used when relaunching metro Chrome. 1532 // Windows 8 and higher. Used when relaunching metro Chrome.
1542 const char kForceDesktop[] = "force-desktop"; 1533 const char kForceDesktop[] = "force-desktop";
1543 1534
1544 // Allows for disabling the overlapped I/O for TCP reads. 1535 // Allows for disabling the overlapped I/O for TCP reads.
1545 // Possible values are "on" or "off". 1536 // Possible values are "on" or "off".
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 1580
1590 // ----------------------------------------------------------------------------- 1581 // -----------------------------------------------------------------------------
1591 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1582 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1592 // 1583 //
1593 // You were going to just dump your switches here, weren't you? Instead, please 1584 // You were going to just dump your switches here, weren't you? Instead, please
1594 // put them in alphabetical order above, or in order inside the appropriate 1585 // put them in alphabetical order above, or in order inside the appropriate
1595 // ifdef at the bottom. The order should match the header. 1586 // ifdef at the bottom. The order should match the header.
1596 // ----------------------------------------------------------------------------- 1587 // -----------------------------------------------------------------------------
1597 1588
1598 } // namespace switches 1589 } // namespace switches
OLDNEW
« chrome/browser/ui/app_list/app_list_service.h ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698