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 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, | 1583 MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, |
1584 {"v8-cache-strategies-for-cache-storage", | 1584 {"v8-cache-strategies-for-cache-storage", |
1585 IDS_FLAGS_V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_NAME, | 1585 IDS_FLAGS_V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_NAME, |
1586 IDS_FLAGS_V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_DESCRIPTION, kOsAll, | 1586 IDS_FLAGS_V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_DESCRIPTION, kOsAll, |
1587 MULTI_VALUE_TYPE(kV8CacheStrategiesForCacheStorageChoices)}, | 1587 MULTI_VALUE_TYPE(kV8CacheStrategiesForCacheStorageChoices)}, |
1588 {"enable-clear-browsing-data-counters", | 1588 {"enable-clear-browsing-data-counters", |
1589 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, | 1589 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, |
1590 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, kOsAll, | 1590 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, kOsAll, |
1591 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, | 1591 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, |
1592 switches::kDisableClearBrowsingDataCounters)}, | 1592 switches::kDisableClearBrowsingDataCounters)}, |
1593 #if defined(ENABLE_TASK_MANAGER) | |
1594 {"disable-new-task-manager", IDS_FLAGS_NEW_TASK_MANAGER_NAME, | |
1595 IDS_FLAGS_NEW_TASK_MANAGER_DESCRIPTION, kOsDesktop, | |
1596 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewTaskManager)}, | |
1597 #endif // defined(ENABLE_TASK_MANAGER) | |
1598 {"simplified-fullscreen-ui", IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_NAME, | 1593 {"simplified-fullscreen-ui", IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_NAME, |
1599 IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_DESCRIPTION, kOsAll, | 1594 IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_DESCRIPTION, kOsAll, |
1600 FEATURE_VALUE_TYPE(features::kSimplifiedFullscreenUI)}, | 1595 FEATURE_VALUE_TYPE(features::kSimplifiedFullscreenUI)}, |
1601 {"experimental-keyboard-lock-ui", | 1596 {"experimental-keyboard-lock-ui", |
1602 IDS_FLAGS_EXPERIMENTAL_KEYBOARD_LOCK_UI_NAME, | 1597 IDS_FLAGS_EXPERIMENTAL_KEYBOARD_LOCK_UI_NAME, |
1603 IDS_FLAGS_EXPERIMENTAL_KEYBOARD_LOCK_UI_DESCRIPTION, kOsDesktop, | 1598 IDS_FLAGS_EXPERIMENTAL_KEYBOARD_LOCK_UI_DESCRIPTION, kOsDesktop, |
1604 FEATURE_VALUE_TYPE(features::kExperimentalKeyboardLockUI)}, | 1599 FEATURE_VALUE_TYPE(features::kExperimentalKeyboardLockUI)}, |
1605 #if defined(OS_ANDROID) | 1600 #if defined(OS_ANDROID) |
1606 {"progress-bar-animation", IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME, | 1601 {"progress-bar-animation", IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME, |
1607 IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, kOsAndroid, | 1602 IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, kOsAndroid, |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2087 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2082 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2088 | 2083 |
2089 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2084 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2090 *count = arraysize(kFeatureEntries); | 2085 *count = arraysize(kFeatureEntries); |
2091 return kFeatureEntries; | 2086 return kFeatureEntries; |
2092 } | 2087 } |
2093 | 2088 |
2094 } // namespace testing | 2089 } // namespace testing |
2095 | 2090 |
2096 } // namespace about_flags | 2091 } // namespace about_flags |
OLD | NEW |