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

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

Issue 10825396: [Panel refactor] use browserless Panels by default in Dev/Canary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 // The value of this switch tells the app to listen for and broadcast 123 // The value of this switch tells the app to listen for and broadcast
124 // automation-related messages on IPC channel with the given ID. 124 // automation-related messages on IPC channel with the given ID.
125 const char kAutomationClientChannelID[] = "automation-channel"; 125 const char kAutomationClientChannelID[] = "automation-channel";
126 126
127 // Causes the automation provider to reinitialize its IPC channel instead of 127 // Causes the automation provider to reinitialize its IPC channel instead of
128 // shutting down when a client disconnects. 128 // shutting down when a client disconnects.
129 const char kAutomationReinitializeOnChannelError[] = 129 const char kAutomationReinitializeOnChannelError[] =
130 "automation-reinitialize-on-channel-error"; 130 "automation-reinitialize-on-channel-error";
131 131
132 // Use the (in-progress) refactor of desktop Panel windows which does not
133 // require a Browser. Flag will be removed after refactor is ready to replace
134 // existing BrowserWindow Panels.
135 const char kBrowserlessPanels[] = "browserless-panels";
136
137 // How often (in seconds) to check for updates. Should only be used for testing 132 // How often (in seconds) to check for updates. Should only be used for testing
138 // purposes. 133 // purposes.
139 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; 134 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval";
140 135
141 // Checks the cloud print connector policy, informing the service process if 136 // Checks the cloud print connector policy, informing the service process if
142 // the policy is set to disallow the connector, then quits. 137 // the policy is set to disallow the connector, then quits.
143 const char kCheckCloudPrintConnectorPolicy[] = 138 const char kCheckCloudPrintConnectorPolicy[] =
144 "check-cloud-print-connector-policy"; 139 "check-cloud-print-connector-policy";
145 140
146 // Tells Chrome to delay shutdown (for a specified number of seconds) when a 141 // Tells Chrome to delay shutdown (for a specified number of seconds) when a
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 const char kNoStartupWindow[] = "no-startup-window"; 939 const char kNoStartupWindow[] = "no-startup-window";
945 940
946 // Shows a desktop notification that the cloud print token has expired and that 941 // Shows a desktop notification that the cloud print token has expired and that
947 // user needs to re-authenticate. 942 // user needs to re-authenticate.
948 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired"; 943 const char kNotifyCloudPrintTokenExpired[] = "notify-cp-token-expired";
949 944
950 // Specifies the maximum number of threads to use for running the Proxy 945 // Specifies the maximum number of threads to use for running the Proxy
951 // Autoconfig (PAC) script. 946 // Autoconfig (PAC) script.
952 const char kNumPacThreads[] = "num-pac-threads"; 947 const char kNumPacThreads[] = "num-pac-threads";
953 948
949 // Refactored (browserless) Panels are on by default in dev/canary/trunk.
950 // Use this flag to revert to using the old-style (pre-refactor) Panels.
951 // Flag will be removed after refactor is complete.
952 const char kOldPanels[] = "old-panels";
953
954 // Controls whether to use the fancy new scoring (takes into account 954 // Controls whether to use the fancy new scoring (takes into account
955 // word breaks, does better balancing of topicality, recency, etc.) for 955 // word breaks, does better balancing of topicality, recency, etc.) for
956 // HistoryQuickProvider. 956 // HistoryQuickProvider.
957 const char kOmniboxHistoryQuickProviderNewScoring[] = 957 const char kOmniboxHistoryQuickProviderNewScoring[] =
958 "omnibox-history-quick-provider-new-scoring"; 958 "omnibox-history-quick-provider-new-scoring";
959 // The value the kOmniboxHistoryQuickProviderNewScoring switch may have, 959 // The value the kOmniboxHistoryQuickProviderNewScoring switch may have,
960 // as in "--omnibox-history-quick-provider-new-scoring=1". 960 // as in "--omnibox-history-quick-provider-new-scoring=1".
961 // 1 means use new scoring. 961 // 1 means use new scoring.
962 const char kOmniboxHistoryQuickProviderNewScoringEnabled[] = "1"; 962 const char kOmniboxHistoryQuickProviderNewScoringEnabled[] = "1";
963 // 0 means use old scoring ( == current behavior as of 6/2012). 963 // 0 means use old scoring ( == current behavior as of 6/2012).
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 1584
1585 // ----------------------------------------------------------------------------- 1585 // -----------------------------------------------------------------------------
1586 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1586 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1587 // 1587 //
1588 // You were going to just dump your switches here, weren't you? Instead, please 1588 // You were going to just dump your switches here, weren't you? Instead, please
1589 // put them in alphabetical order above, or in order inside the appropriate 1589 // put them in alphabetical order above, or in order inside the appropriate
1590 // ifdef at the bottom. The order should match the header. 1590 // ifdef at the bottom. The order should match the header.
1591 // ----------------------------------------------------------------------------- 1591 // -----------------------------------------------------------------------------
1592 1592
1593 } // namespace switches 1593 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698