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 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1781 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)}, | 1781 SINGLE_VALUE_TYPE(switches::kEnableWebFontsInterventionTrigger)}, |
1782 {"enable-grouped-history", IDS_FLAGS_ENABLE_GROUPED_HISTORY_NAME, | 1782 {"enable-grouped-history", IDS_FLAGS_ENABLE_GROUPED_HISTORY_NAME, |
1783 IDS_FLAGS_ENABLE_GROUPED_HISTORY_DESCRIPTION, kOsDesktop, | 1783 IDS_FLAGS_ENABLE_GROUPED_HISTORY_DESCRIPTION, kOsDesktop, |
1784 SINGLE_VALUE_TYPE(switches::kHistoryEnableGroupByDomain)}, | 1784 SINGLE_VALUE_TYPE(switches::kHistoryEnableGroupByDomain)}, |
1785 {"enable-token-binding", IDS_FLAGS_ENABLE_TOKEN_BINDING_NAME, | 1785 {"enable-token-binding", IDS_FLAGS_ENABLE_TOKEN_BINDING_NAME, |
1786 IDS_FLAGS_ENABLE_TOKEN_BINDING_DESCRIPTION, kOsAll, | 1786 IDS_FLAGS_ENABLE_TOKEN_BINDING_DESCRIPTION, kOsAll, |
1787 FEATURE_VALUE_TYPE(features::kTokenBinding)}, | 1787 FEATURE_VALUE_TYPE(features::kTokenBinding)}, |
1788 {"enable-scroll-anchoring", IDS_FLAGS_ENABLE_SCROLL_ANCHORING_NAME, | 1788 {"enable-scroll-anchoring", IDS_FLAGS_ENABLE_SCROLL_ANCHORING_NAME, |
1789 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll, | 1789 IDS_FLAGS_ENABLE_SCROLL_ANCHORING_DESCRIPTION, kOsAll, |
1790 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, | 1790 FEATURE_VALUE_TYPE(features::kScrollAnchoring)}, |
| 1791 {"disable-compositor-animation-timelines", |
| 1792 IDS_FLAGS_DISABLE_COMPOSITOR_ANIMATION_TIMELINES, |
| 1793 IDS_FLAGS_DISABLE_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, |
| 1794 kOsAll, SINGLE_DISABLE_VALUE_TYPE( |
| 1795 switches::kDisableCompositorAnimationTimelines)}, |
1791 #if !defined(OS_ANDROID) | 1796 #if !defined(OS_ANDROID) |
1792 {"ui-disable-compositor-animation-timelines", | 1797 {"ui-disable-compositor-animation-timelines", |
1793 IDS_FLAGS_DISABLE_UI_COMPOSITOR_ANIMATION_TIMELINES, | 1798 IDS_FLAGS_DISABLE_UI_COMPOSITOR_ANIMATION_TIMELINES, |
1794 IDS_FLAGS_DISABLE_UI_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, | 1799 IDS_FLAGS_DISABLE_UI_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, |
1795 kOsDesktop, SINGLE_DISABLE_VALUE_TYPE( | 1800 kOsDesktop, SINGLE_DISABLE_VALUE_TYPE( |
1796 switches::kUIDisableCompositorAnimationTimelines)}, | 1801 switches::kUIDisableCompositorAnimationTimelines)}, |
1797 #endif // !defined(OS_ANDROID) | 1802 #endif // !defined(OS_ANDROID) |
1798 // NOTE: Adding new command-line switches requires adding corresponding | 1803 // NOTE: Adding new command-line switches requires adding corresponding |
1799 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 1804 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
1800 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 1805 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2009 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2014 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2010 | 2015 |
2011 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2016 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2012 *count = arraysize(kFeatureEntries); | 2017 *count = arraysize(kFeatureEntries); |
2013 return kFeatureEntries; | 2018 return kFeatureEntries; |
2014 } | 2019 } |
2015 | 2020 |
2016 } // namespace testing | 2021 } // namespace testing |
2017 | 2022 |
2018 } // namespace about_flags | 2023 } // namespace about_flags |
OLD | NEW |