Chromium Code Reviews| 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 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1631 #if defined(OS_MACOSX) | 1631 #if defined(OS_MACOSX) |
| 1632 {"app-info-dialog", IDS_FLAGS_APP_INFO_DIALOG_NAME, | 1632 {"app-info-dialog", IDS_FLAGS_APP_INFO_DIALOG_NAME, |
| 1633 IDS_FLAGS_APP_INFO_DIALOG_DESCRIPTION, kOsMac, | 1633 IDS_FLAGS_APP_INFO_DIALOG_DESCRIPTION, kOsMac, |
| 1634 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, | 1634 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, |
| 1635 switches::kDisableAppInfoDialogMac)}, | 1635 switches::kDisableAppInfoDialogMac)}, |
| 1636 {"mac-views-native-app-windows", | 1636 {"mac-views-native-app-windows", |
| 1637 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME, | 1637 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME, |
| 1638 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, kOsMac, | 1638 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, kOsMac, |
| 1639 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, | 1639 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, |
| 1640 switches::kDisableMacViewsNativeAppWindows)}, | 1640 switches::kDisableMacViewsNativeAppWindows)}, |
| 1641 {"mac-views-task-manager", IDS_FLAGS_MAC_VIEWS_TASK_MANAGER_NAME, | |
| 1642 IDS_FLAGS_MAC_VIEWS_TASK_MANAGER_DESCRIPTION, kOsMac, | |
| 1643 SINGLE_VALUE_TYPE(switches::kUseViewsTaskManager)}, | |
|
tapted
2017/03/07 22:52:26
(with FeatureList) FEATURE_VALUE_TYPE?
| |
| 1641 {"app-window-cycling", IDS_FLAGS_APP_WINDOW_CYCLING_NAME, | 1644 {"app-window-cycling", IDS_FLAGS_APP_WINDOW_CYCLING_NAME, |
| 1642 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac, | 1645 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, kOsMac, |
| 1643 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling, | 1646 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling, |
| 1644 switches::kDisableAppWindowCycling)}, | 1647 switches::kDisableAppWindowCycling)}, |
| 1645 #endif // OS_MACOSX | 1648 #endif // OS_MACOSX |
| 1646 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll, | 1649 {"enable-webvr", IDS_FLAGS_WEBVR_NAME, IDS_FLAGS_WEBVR_DESCRIPTION, kOsAll, |
| 1647 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, | 1650 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, |
| 1648 #if defined(ENABLE_WEBVR) | 1651 #if defined(ENABLE_WEBVR) |
| 1649 {"enable-webvr-experimental-rendering", | 1652 {"enable-webvr-experimental-rendering", |
| 1650 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_NAME, | 1653 IDS_FLAGS_WEBVR_EXPERIMENTAL_RENDERING_NAME, |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2529 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2532 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2530 | 2533 |
| 2531 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2534 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2532 *count = arraysize(kFeatureEntries); | 2535 *count = arraysize(kFeatureEntries); |
| 2533 return kFeatureEntries; | 2536 return kFeatureEntries; |
| 2534 } | 2537 } |
| 2535 | 2538 |
| 2536 } // namespace testing | 2539 } // namespace testing |
| 2537 | 2540 |
| 2538 } // namespace about_flags | 2541 } // namespace about_flags |
| OLD | NEW |