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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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", | 1791 {"disable-compositor-animation-timelines", |
1792 IDS_FLAGS_DISABLE_COMPOSITOR_ANIMATION_TIMELINES, | 1792 IDS_FLAGS_DISABLE_COMPOSITOR_ANIMATION_TIMELINES, |
1793 IDS_FLAGS_DISABLE_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, | 1793 IDS_FLAGS_DISABLE_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, |
1794 kOsAll, SINGLE_DISABLE_VALUE_TYPE( | 1794 kOsAll, SINGLE_DISABLE_VALUE_TYPE( |
1795 switches::kDisableCompositorAnimationTimelines)}, | 1795 switches::kDisableCompositorAnimationTimelines)}, |
1796 #if !defined(OS_ANDROID) | 1796 #if !defined(OS_ANDROID) |
1797 {"ui-disable-compositor-animation-timelines", | 1797 {"ui-enable-compositor-animation-timelines", |
1798 IDS_FLAGS_DISABLE_UI_COMPOSITOR_ANIMATION_TIMELINES, | 1798 IDS_FLAGS_ENABLE_UI_COMPOSITOR_ANIMATION_TIMELINES, |
1799 IDS_FLAGS_DISABLE_UI_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, | 1799 IDS_FLAGS_ENABLE_UI_COMPOSITOR_ANIMATION_TIMELINES_DESCRIPTION, |
1800 kOsDesktop, SINGLE_DISABLE_VALUE_TYPE( | 1800 kOsDesktop, SINGLE_VALUE_TYPE( |
1801 switches::kUIDisableCompositorAnimationTimelines)}, | 1801 switches::kUIEnableCompositorAnimationTimelines)}, |
1802 #endif // !defined(OS_ANDROID) | 1802 #endif // !defined(OS_ANDROID) |
1803 {"enable-audio-support-for-desktop-share", | 1803 {"enable-audio-support-for-desktop-share", |
1804 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE, | 1804 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE, |
1805 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, | 1805 IDS_FLAG_ENABLE_AUDIO_FOR_DESKTOP_SHARE_DESCRIPTION, |
1806 kOsAll, | 1806 kOsAll, |
1807 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)}, | 1807 SINGLE_VALUE_TYPE(switches::kEnableAudioSupportForDesktopShare)}, |
1808 #if defined(ENABLE_EXTENSIONS) | 1808 #if defined(ENABLE_EXTENSIONS) |
1809 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE, | 1809 {"enable-tab-for-desktop-share", IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE, |
1810 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, | 1810 IDS_FLAG_ENABLE_TAB_FOR_DESKTOP_SHARE_DESCRIPTION, kOsAll, |
1811 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)} | 1811 SINGLE_VALUE_TYPE(extensions::switches::kEnableTabForDesktopShare)} |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2024 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2024 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2025 | 2025 |
2026 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2026 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2027 *count = arraysize(kFeatureEntries); | 2027 *count = arraysize(kFeatureEntries); |
2028 return kFeatureEntries; | 2028 return kFeatureEntries; |
2029 } | 2029 } |
2030 | 2030 |
2031 } // namespace testing | 2031 } // namespace testing |
2032 | 2032 |
2033 } // namespace about_flags | 2033 } // namespace about_flags |
OLD | NEW |