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/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableFastTextAutosizing, | 1732 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableFastTextAutosizing, |
1733 switches::kDisableFastTextAutosizing) | 1733 switches::kDisableFastTextAutosizing) |
1734 }, | 1734 }, |
1735 { | 1735 { |
1736 "disable-cast", | 1736 "disable-cast", |
1737 IDS_FLAGS_DISABLE_CAST_NAME, | 1737 IDS_FLAGS_DISABLE_CAST_NAME, |
1738 IDS_FLAGS_DISABLE_CAST_DESCRIPTION, | 1738 IDS_FLAGS_DISABLE_CAST_DESCRIPTION, |
1739 kOsAndroid, | 1739 kOsAndroid, |
1740 SINGLE_VALUE_TYPE(switches::kDisableCast) | 1740 SINGLE_VALUE_TYPE(switches::kDisableCast) |
1741 }, | 1741 }, |
1742 #endif | |
1743 { | 1742 { |
1744 "prefetch-search-results", | 1743 "prefetch-search-results", |
1745 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME, | 1744 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME, |
1746 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, | 1745 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, |
1747 kOsDesktop, | 1746 kOsAndroid, |
1748 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults) | 1747 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults) |
1749 }, | 1748 }, |
| 1749 #endif |
1750 #if defined(ENABLE_APP_LIST) | 1750 #if defined(ENABLE_APP_LIST) |
1751 { | 1751 { |
1752 "enable-experimental-app-list", | 1752 "enable-experimental-app-list", |
1753 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_NAME, | 1753 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_NAME, |
1754 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_DESCRIPTION, | 1754 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_DESCRIPTION, |
1755 kOsWin | kOsLinux | kOsCrOS, | 1755 kOsWin | kOsLinux | kOsCrOS, |
1756 SINGLE_VALUE_TYPE(app_list::switches::kEnableExperimentalAppList) | 1756 SINGLE_VALUE_TYPE(app_list::switches::kEnableExperimentalAppList) |
1757 }, | 1757 }, |
1758 { | 1758 { |
1759 "enable-centered-app-list", | 1759 "enable-centered-app-list", |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2460 } | 2460 } |
2461 | 2461 |
2462 const Experiment* GetExperiments(size_t* count) { | 2462 const Experiment* GetExperiments(size_t* count) { |
2463 *count = num_experiments; | 2463 *count = num_experiments; |
2464 return experiments; | 2464 return experiments; |
2465 } | 2465 } |
2466 | 2466 |
2467 } // namespace testing | 2467 } // namespace testing |
2468 | 2468 |
2469 } // namespace about_flags | 2469 } // namespace about_flags |
OLD | NEW |