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 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 "use_new_features_summary"; | 1323 "use_new_features_summary"; |
1324 | 1324 |
1325 // Forces a custom summary to be displayed below the update menu item. | 1325 // Forces a custom summary to be displayed below the update menu item. |
1326 const char kForceShowUpdateMenuItemCustomSummary[] = "custom_summary"; | 1326 const char kForceShowUpdateMenuItemCustomSummary[] = "custom_summary"; |
1327 | 1327 |
1328 // Forces the update menu badge to show. | 1328 // Forces the update menu badge to show. |
1329 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; | 1329 const char kForceShowUpdateMenuBadge[] = "force-show-update-menu-badge"; |
1330 | 1330 |
1331 // Sets the market URL for Chrome for use in testing. | 1331 // Sets the market URL for Chrome for use in testing. |
1332 const char kMarketUrlForTesting[] = "market-url-for-testing"; | 1332 const char kMarketUrlForTesting[] = "market-url-for-testing"; |
| 1333 |
| 1334 // Specifies a particular tab management experiment to enable. |
| 1335 const char kTabManagementExperimentType[] = "tab-management-experiment-type"; |
1333 #endif // defined(OS_ANDROID) | 1336 #endif // defined(OS_ANDROID) |
1334 | 1337 |
1335 #if defined(OS_WIN) || defined(OS_LINUX) | 1338 #if defined(OS_WIN) || defined(OS_LINUX) |
1336 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; | 1339 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; |
1337 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; | 1340 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; |
1338 #endif | 1341 #endif |
1339 | 1342 |
1340 bool AboutInSettingsEnabled() { | 1343 bool AboutInSettingsEnabled() { |
1341 return SettingsWindowEnabled() && | 1344 return SettingsWindowEnabled() && |
1342 !base::CommandLine::ForCurrentProcess()->HasSwitch( | 1345 !base::CommandLine::ForCurrentProcess()->HasSwitch( |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 | 1391 |
1389 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1391 // | 1394 // |
1392 // You were going to just dump your switches here, weren't you? Instead, please | 1395 // You were going to just dump your switches here, weren't you? Instead, please |
1393 // put them in alphabetical order above, or in order inside the appropriate | 1396 // put them in alphabetical order above, or in order inside the appropriate |
1394 // ifdef at the bottom. The order should match the header. | 1397 // ifdef at the bottom. The order should match the header. |
1395 // ----------------------------------------------------------------------------- | 1398 // ----------------------------------------------------------------------------- |
1396 | 1399 |
1397 } // namespace switches | 1400 } // namespace switches |
OLD | NEW |