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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 // Annotates forms with Autofill field type predictions. | 1120 // Annotates forms with Autofill field type predictions. |
1121 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; | 1121 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; |
1122 | 1122 |
1123 // Makes component extensions appear in chrome://settings/extensions. | 1123 // Makes component extensions appear in chrome://settings/extensions. |
1124 const char kShowComponentExtensionOptions[] = | 1124 const char kShowComponentExtensionOptions[] = |
1125 "show-component-extension-options"; | 1125 "show-component-extension-options"; |
1126 | 1126 |
1127 // See kHideIcons. | 1127 // See kHideIcons. |
1128 const char kShowIcons[] = "show-icons"; | 1128 const char kShowIcons[] = "show-icons"; |
1129 | 1129 |
| 1130 // If true the alignment of the launcher can be changed. |
| 1131 const char kShowLauncherAlignmentMenu[] = "show-launcher-alignment-menu"; |
| 1132 |
1130 // Changes the DCHECKS to dump memory and continue instead of displaying error | 1133 // Changes the DCHECKS to dump memory and continue instead of displaying error |
1131 // dialog. This is valid only in Release mode when --enable-dcheck is | 1134 // dialog. This is valid only in Release mode when --enable-dcheck is |
1132 // specified. | 1135 // specified. |
1133 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; | 1136 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; |
1134 | 1137 |
1135 // Simulates an update being available. | 1138 // Simulates an update being available. |
1136 const char kSimulateUpgrade[] = "simulate-upgrade"; | 1139 const char kSimulateUpgrade[] = "simulate-upgrade"; |
1137 | 1140 |
1138 // Replaces the buffered data source for <audio> and <video> with a simplified | 1141 // Replaces the buffered data source for <audio> and <video> with a simplified |
1139 // resource loader that downloads the entire resource into memory. | 1142 // resource loader that downloads the entire resource into memory. |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 // closes inactive tabs to free memory and to attempt to avoid the kernel's | 1315 // closes inactive tabs to free memory and to attempt to avoid the kernel's |
1313 // out-of-memory process killer. | 1316 // out-of-memory process killer. |
1314 const char kNoDiscardTabs[] = "no-discard-tabs"; | 1317 const char kNoDiscardTabs[] = "no-discard-tabs"; |
1315 | 1318 |
1316 // Indicates that the browser is in "browse without sign-in" (Guest session) | 1319 // Indicates that the browser is in "browse without sign-in" (Guest session) |
1317 // mode. Should completely disable extensions, sync and bookmarks. | 1320 // mode. Should completely disable extensions, sync and bookmarks. |
1318 const char kGuestSession[] = "bwsi"; | 1321 const char kGuestSession[] = "bwsi"; |
1319 | 1322 |
1320 // Enables overriding the path for the default echo component extension. | 1323 // Enables overriding the path for the default echo component extension. |
1321 // Useful for testing. | 1324 // Useful for testing. |
1322 const char kEchoExtensionPath[] = "echo-ext-path"; | 1325 const char kEchoExtensionPath[] = "echo-ext-path"; |
1323 | 1326 |
1324 // Show volume controls in status bar on ChromeOS. | 1327 // Show volume controls in status bar on ChromeOS. |
1325 const char kShowVolumeStatus[] = "show-volume-status"; | 1328 const char kShowVolumeStatus[] = "show-volume-status"; |
1326 | 1329 |
1327 // Indicates that stub implementations of the libcros library should be used. | 1330 // Indicates that stub implementations of the libcros library should be used. |
1328 // This is typically used to test the chromeos build of chrome on the desktop. | 1331 // This is typically used to test the chromeos build of chrome on the desktop. |
1329 const char kStubCros[] = "stub-cros"; | 1332 const char kStubCros[] = "stub-cros"; |
1330 | 1333 |
1331 // Indicates that a stub implementation of CrosSettings that stores settings in | 1334 // Indicates that a stub implementation of CrosSettings that stores settings in |
1332 // memory without signing should be used, treating current user as the owner. | 1335 // memory without signing should be used, treating current user as the owner. |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 | 1432 |
1430 // ----------------------------------------------------------------------------- | 1433 // ----------------------------------------------------------------------------- |
1431 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1434 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1432 // | 1435 // |
1433 // You were going to just dump your switches here, weren't you? Instead, please | 1436 // 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 | 1437 // put them in alphabetical order above, or in order inside the appropriate |
1435 // ifdef at the bottom. The order should match the header. | 1438 // ifdef at the bottom. The order should match the header. |
1436 // ----------------------------------------------------------------------------- | 1439 // ----------------------------------------------------------------------------- |
1437 | 1440 |
1438 } // namespace switches | 1441 } // namespace switches |
OLD | NEW |