| 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 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 {"try-supported-channel-layouts", | 1986 {"try-supported-channel-layouts", |
| 1987 flag_descriptions::kTrySupportedChannelLayoutsName, | 1987 flag_descriptions::kTrySupportedChannelLayoutsName, |
| 1988 flag_descriptions::kTrySupportedChannelLayoutsDescription, kOsWin, | 1988 flag_descriptions::kTrySupportedChannelLayoutsDescription, kOsWin, |
| 1989 SINGLE_VALUE_TYPE(switches::kTrySupportedChannelLayouts)}, | 1989 SINGLE_VALUE_TYPE(switches::kTrySupportedChannelLayouts)}, |
| 1990 #endif // OS_WIN | 1990 #endif // OS_WIN |
| 1991 #if defined(OS_MACOSX) | 1991 #if defined(OS_MACOSX) |
| 1992 {"app-info-dialog", flag_descriptions::kAppInfoDialogName, | 1992 {"app-info-dialog", flag_descriptions::kAppInfoDialogName, |
| 1993 flag_descriptions::kAppInfoDialogDescription, kOsMac, | 1993 flag_descriptions::kAppInfoDialogDescription, kOsMac, |
| 1994 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, | 1994 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, |
| 1995 switches::kDisableAppInfoDialogMac)}, | 1995 switches::kDisableAppInfoDialogMac)}, |
| 1996 {"mac-v2-sandbox", flag_descriptions::kMacV2SandboxName, |
| 1997 flag_descriptions::kMacV2SandboxDescription, kOsMac, |
| 1998 FEATURE_VALUE_TYPE(features::kMacV2Sandbox)}, |
| 1996 {"mac-views-native-app-windows", | 1999 {"mac-views-native-app-windows", |
| 1997 flag_descriptions::kMacViewsNativeAppWindowsName, | 2000 flag_descriptions::kMacViewsNativeAppWindowsName, |
| 1998 flag_descriptions::kMacViewsNativeAppWindowsDescription, kOsMac, | 2001 flag_descriptions::kMacViewsNativeAppWindowsDescription, kOsMac, |
| 1999 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, | 2002 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, |
| 2000 switches::kDisableMacViewsNativeAppWindows)}, | 2003 switches::kDisableMacViewsNativeAppWindows)}, |
| 2001 {"mac-views-task-manager", flag_descriptions::kMacViewsTaskManagerName, | 2004 {"mac-views-task-manager", flag_descriptions::kMacViewsTaskManagerName, |
| 2002 flag_descriptions::kMacViewsTaskManagerDescription, kOsMac, | 2005 flag_descriptions::kMacViewsTaskManagerDescription, kOsMac, |
| 2003 FEATURE_VALUE_TYPE(features::kViewsTaskManager)}, | 2006 FEATURE_VALUE_TYPE(features::kViewsTaskManager)}, |
| 2004 {"app-window-cycling", flag_descriptions::kAppWindowCyclingName, | 2007 {"app-window-cycling", flag_descriptions::kAppWindowCyclingName, |
| 2005 flag_descriptions::kAppWindowCyclingDescription, kOsMac, | 2008 flag_descriptions::kAppWindowCyclingDescription, kOsMac, |
| (...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3262 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3265 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3263 | 3266 |
| 3264 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3267 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3265 *count = arraysize(kFeatureEntries); | 3268 *count = arraysize(kFeatureEntries); |
| 3266 return kFeatureEntries; | 3269 return kFeatureEntries; |
| 3267 } | 3270 } |
| 3268 | 3271 |
| 3269 } // namespace testing | 3272 } // namespace testing |
| 3270 | 3273 |
| 3271 } // namespace about_flags | 3274 } // namespace about_flags |
| OLD | NEW |