| 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 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1588 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, | 1588 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, |
| 1589 switches::kDisableClearBrowsingDataCounters)}, | 1589 switches::kDisableClearBrowsingDataCounters)}, |
| 1590 #if defined(ENABLE_TASK_MANAGER) | 1590 #if defined(ENABLE_TASK_MANAGER) |
| 1591 {"disable-new-task-manager", IDS_FLAGS_NEW_TASK_MANAGER_NAME, | 1591 {"disable-new-task-manager", IDS_FLAGS_NEW_TASK_MANAGER_NAME, |
| 1592 IDS_FLAGS_NEW_TASK_MANAGER_DESCRIPTION, kOsDesktop, | 1592 IDS_FLAGS_NEW_TASK_MANAGER_DESCRIPTION, kOsDesktop, |
| 1593 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewTaskManager)}, | 1593 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewTaskManager)}, |
| 1594 #endif // defined(ENABLE_TASK_MANAGER) | 1594 #endif // defined(ENABLE_TASK_MANAGER) |
| 1595 {"simplified-fullscreen-ui", IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_NAME, | 1595 {"simplified-fullscreen-ui", IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_NAME, |
| 1596 IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_DESCRIPTION, kOsAll, | 1596 IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_DESCRIPTION, kOsAll, |
| 1597 FEATURE_VALUE_TYPE(features::kSimplifiedFullscreenUI)}, | 1597 FEATURE_VALUE_TYPE(features::kSimplifiedFullscreenUI)}, |
| 1598 {"experimental-fullscreen-ui", IDS_FLAGS_EXPERIMENTAL_FULLSCREEN_UI_NAME, |
| 1599 IDS_FLAGS_EXPERIMENTAL_FULLSCREEN_UI_DESCRIPTION, kOsDesktop, |
| 1600 FEATURE_VALUE_TYPE(features::kExperimentalFullscreenUI)}, |
| 1598 #if defined(OS_ANDROID) | 1601 #if defined(OS_ANDROID) |
| 1599 {"progress-bar-animation", IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME, | 1602 {"progress-bar-animation", IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME, |
| 1600 IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, kOsAndroid, | 1603 IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, kOsAndroid, |
| 1601 MULTI_VALUE_TYPE(kProgressBarAnimationChoices)}, | 1604 MULTI_VALUE_TYPE(kProgressBarAnimationChoices)}, |
| 1602 #endif // defined(OS_ANDROID) | 1605 #endif // defined(OS_ANDROID) |
| 1603 #if defined(OS_ANDROID) | 1606 #if defined(OS_ANDROID) |
| 1604 {"offline-pages-mode", IDS_FLAGS_OFFLINE_PAGES_NAME, | 1607 {"offline-pages-mode", IDS_FLAGS_OFFLINE_PAGES_NAME, |
| 1605 IDS_FLAGS_OFFLINE_PAGES_DESCRIPTION, kOsAndroid, | 1608 IDS_FLAGS_OFFLINE_PAGES_DESCRIPTION, kOsAndroid, |
| 1606 MULTI_VALUE_TYPE(kEnableOfflinePagesChoices)}, | 1609 MULTI_VALUE_TYPE(kEnableOfflinePagesChoices)}, |
| 1607 {"offline-pages-background-loading", | 1610 {"offline-pages-background-loading", |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2016 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2019 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2017 | 2020 |
| 2018 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2021 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2019 *count = arraysize(kFeatureEntries); | 2022 *count = arraysize(kFeatureEntries); |
| 2020 return kFeatureEntries; | 2023 return kFeatureEntries; |
| 2021 } | 2024 } |
| 2022 | 2025 |
| 2023 } // namespace testing | 2026 } // namespace testing |
| 2024 | 2027 |
| 2025 } // namespace about_flags | 2028 } // namespace about_flags |
| OLD | NEW |