| 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 1990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2001 IDS_FLAGS_APP_INFO_DIALOG_DESCRIPTION, | 2001 IDS_FLAGS_APP_INFO_DIALOG_DESCRIPTION, |
| 2002 kOsMac, | 2002 kOsMac, |
| 2003 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, | 2003 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, |
| 2004 switches::kDisableAppInfoDialogMac)}, | 2004 switches::kDisableAppInfoDialogMac)}, |
| 2005 {"mac-views-native-app-windows", | 2005 {"mac-views-native-app-windows", |
| 2006 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME, | 2006 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME, |
| 2007 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, | 2007 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, |
| 2008 kOsMac, | 2008 kOsMac, |
| 2009 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, | 2009 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, |
| 2010 switches::kDisableMacViewsNativeAppWindows)}, | 2010 switches::kDisableMacViewsNativeAppWindows)}, |
| 2011 {"app-window-cycling", |
| 2012 IDS_FLAGS_APP_WINDOW_CYCLING_NAME, |
| 2013 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION, |
| 2014 kOsMac, |
| 2015 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling, |
| 2016 switches::kDisableAppWindowCycling)}, |
| 2011 #endif | 2017 #endif |
| 2012 #if defined(ENABLE_WEBVR) | 2018 #if defined(ENABLE_WEBVR) |
| 2013 {"enable-webvr", | 2019 {"enable-webvr", |
| 2014 IDS_FLAGS_ENABLE_WEBVR_NAME, | 2020 IDS_FLAGS_ENABLE_WEBVR_NAME, |
| 2015 IDS_FLAGS_ENABLE_WEBVR_DESCRIPTION, | 2021 IDS_FLAGS_ENABLE_WEBVR_DESCRIPTION, |
| 2016 kOsAll, | 2022 kOsAll, |
| 2017 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, | 2023 SINGLE_VALUE_TYPE(switches::kEnableWebVR)}, |
| 2018 #endif | 2024 #endif |
| 2019 // NOTE: Adding new command-line switches requires adding corresponding | 2025 // NOTE: Adding new command-line switches requires adding corresponding |
| 2020 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 2026 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2641 } | 2647 } |
| 2642 | 2648 |
| 2643 const Experiment* GetExperiments(size_t* count) { | 2649 const Experiment* GetExperiments(size_t* count) { |
| 2644 *count = num_experiments; | 2650 *count = num_experiments; |
| 2645 return experiments; | 2651 return experiments; |
| 2646 } | 2652 } |
| 2647 | 2653 |
| 2648 } // namespace testing | 2654 } // namespace testing |
| 2649 | 2655 |
| 2650 } // namespace about_flags | 2656 } // namespace about_flags |
| OLD | NEW |