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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 // Forces a custom summary to be displayed below the update menu item. | 1311 // Forces a custom summary to be displayed below the update menu item. |
1312 const char kForceShowUpdateMenuItemCustomSummary[] = "custom_summary"; | 1312 const char kForceShowUpdateMenuItemCustomSummary[] = "custom_summary"; |
1313 | 1313 |
1314 // Forces the update menu badge to show. | 1314 // Forces the update menu badge to show. |
1315 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; | 1315 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; |
1316 | 1316 |
1317 // Sets the market URL for Chrome for use in testing. | 1317 // Sets the market URL for Chrome for use in testing. |
1318 const char kMarketUrlForTesting[] = "market-url-for-testing"; | 1318 const char kMarketUrlForTesting[] = "market-url-for-testing"; |
1319 | 1319 |
1320 // Specifies a particular tab management experiment to enable. | 1320 // Specifies a particular tab management experiment to enable. |
1321 const char kTabManagementExperimentType[] = "tab-management-experiment-type"; | 1321 const char kTabManagementExperimentTypeDisabled[] = |
| 1322 "tab-management-experiment-type-disabled"; |
| 1323 const char kTabManagementExperimentTypeAnise[] = |
| 1324 "tab-management-experiment-type-anise"; |
| 1325 const char kTabManagementExperimentTypeBasil[] = |
| 1326 "tab-management-experiment-type-basil"; |
| 1327 const char kTabManagementExperimentTypeChive[] = |
| 1328 "tab-management-experiment-type-chive"; |
| 1329 const char kTabManagementExperimentTypeDill[] = |
| 1330 "tab-management-experiment-type-dill"; |
1322 #endif // defined(OS_ANDROID) | 1331 #endif // defined(OS_ANDROID) |
1323 | 1332 |
1324 #if defined(OS_WIN) || defined(OS_LINUX) | 1333 #if defined(OS_WIN) || defined(OS_LINUX) |
1325 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; | 1334 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; |
1326 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; | 1335 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; |
1327 #endif | 1336 #endif |
1328 | 1337 |
1329 bool AboutInSettingsEnabled() { | 1338 bool AboutInSettingsEnabled() { |
1330 return SettingsWindowEnabled() && | 1339 return SettingsWindowEnabled() && |
1331 !base::CommandLine::ForCurrentProcess()->HasSwitch( | 1340 !base::CommandLine::ForCurrentProcess()->HasSwitch( |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1377 | 1386 |
1378 // ----------------------------------------------------------------------------- | 1387 // ----------------------------------------------------------------------------- |
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1388 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1380 // | 1389 // |
1381 // You were going to just dump your switches here, weren't you? Instead, please | 1390 // You were going to just dump your switches here, weren't you? Instead, please |
1382 // put them in alphabetical order above, or in order inside the appropriate | 1391 // put them in alphabetical order above, or in order inside the appropriate |
1383 // ifdef at the bottom. The order should match the header. | 1392 // ifdef at the bottom. The order should match the header. |
1384 // ----------------------------------------------------------------------------- | 1393 // ----------------------------------------------------------------------------- |
1385 | 1394 |
1386 } // namespace switches | 1395 } // namespace switches |
OLD | NEW |