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 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 #endif // TOOLKIT_VIEWS | 1629 #endif // TOOLKIT_VIEWS |
1630 #if defined(OS_ANDROID) | 1630 #if defined(OS_ANDROID) |
1631 {"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName, | 1631 {"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName, |
1632 flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid, | 1632 flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid, |
1633 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, | 1633 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
1634 #endif // OS_ANDROID | 1634 #endif // OS_ANDROID |
1635 #if defined(OS_ANDROID) | 1635 #if defined(OS_ANDROID) |
1636 {"enable-chrome-home", flag_descriptions::kChromeHomeName, | 1636 {"enable-chrome-home", flag_descriptions::kChromeHomeName, |
1637 flag_descriptions::kChromeHomeDescription, kOsAndroid, | 1637 flag_descriptions::kChromeHomeDescription, kOsAndroid, |
1638 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeFeature)}, | 1638 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeFeature)}, |
| 1639 {"enable-chrome-home-expand-button", |
| 1640 flag_descriptions::kChromeHomeExpandButtonName, |
| 1641 flag_descriptions::kChromeHomeExpandButtonDescription, kOsAndroid, |
| 1642 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeExpandButton)}, |
1639 #endif // OS_ANDROID | 1643 #endif // OS_ANDROID |
1640 #if defined(OS_ANDROID) | 1644 #if defined(OS_ANDROID) |
1641 {"enable-iph-demo-mode", flag_descriptions::kEnableIphDemoMode, | 1645 {"enable-iph-demo-mode", flag_descriptions::kEnableIphDemoMode, |
1642 flag_descriptions::kEnableIphDemoModeDescription, kOsAndroid, | 1646 flag_descriptions::kEnableIphDemoModeDescription, kOsAndroid, |
1643 FEATURE_VALUE_TYPE(feature_engagement_tracker::kIPHDemoMode)}, | 1647 FEATURE_VALUE_TYPE(feature_engagement_tracker::kIPHDemoMode)}, |
1644 #endif // OS_ANDROID | 1648 #endif // OS_ANDROID |
1645 {"num-raster-threads", flag_descriptions::kNumRasterThreadsName, | 1649 {"num-raster-threads", flag_descriptions::kNumRasterThreadsName, |
1646 flag_descriptions::kNumRasterThreadsDescription, kOsAll, | 1650 flag_descriptions::kNumRasterThreadsDescription, kOsAll, |
1647 MULTI_VALUE_TYPE(kNumRasterThreadsChoices)}, | 1651 MULTI_VALUE_TYPE(kNumRasterThreadsChoices)}, |
1648 {"enable-permission-action-reporting", | 1652 {"enable-permission-action-reporting", |
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2983 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2987 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2984 | 2988 |
2985 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2989 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2986 *count = arraysize(kFeatureEntries); | 2990 *count = arraysize(kFeatureEntries); |
2987 return kFeatureEntries; | 2991 return kFeatureEntries; |
2988 } | 2992 } |
2989 | 2993 |
2990 } // namespace testing | 2994 } // namespace testing |
2991 | 2995 |
2992 } // namespace about_flags | 2996 } // namespace about_flags |
OLD | NEW |