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. |
|
tapted
2017/03/08 23:08:08
CL Description: don't forget to update it :)
| |
| 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> |
| 11 | 11 |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 23 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
| 24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
| 25 #include "base/task_scheduler/switches.h" | 25 #include "base/task_scheduler/switches.h" |
| 26 #include "base/values.h" | 26 #include "base/values.h" |
| 27 #include "build/build_config.h" | 27 #include "build/build_config.h" |
| 28 #include "cc/base/switches.h" | 28 #include "cc/base/switches.h" |
| 29 #include "chrome/browser/ntp_snippets/ntp_snippets_features.h" | 29 #include "chrome/browser/ntp_snippets/ntp_snippets_features.h" |
| 30 #include "chrome/browser/prerender/prerender_field_trial.h" | 30 #include "chrome/browser/prerender/prerender_field_trial.h" |
| 31 #include "chrome/common/channel_info.h" | 31 #include "chrome/common/channel_info.h" |
| 32 #include "chrome/common/chrome_content_client.h" | 32 #include "chrome/common/chrome_content_client.h" |
| 33 #include "chrome/common/chrome_features.h" | 33 #include "chrome/common/chrome_features.h" |
|
tapted
2017/03/08 23:08:08
do features belong in this file? (i.e. chrome_fea
| |
| 34 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
| 35 #include "chrome/common/features.h" | 35 #include "chrome/common/features.h" |
| 36 #include "chrome/grit/chromium_strings.h" | 36 #include "chrome/grit/chromium_strings.h" |
| 37 #include "chrome/grit/generated_resources.h" | 37 #include "chrome/grit/generated_resources.h" |
| 38 #include "components/autofill/core/browser/autofill_experiments.h" | 38 #include "components/autofill/core/browser/autofill_experiments.h" |
| 39 #include "components/autofill/core/common/autofill_switches.h" | 39 #include "components/autofill/core/common/autofill_switches.h" |
| 40 #include "components/browser_sync/browser_sync_switches.h" | 40 #include "components/browser_sync/browser_sync_switches.h" |
| 41 #include "components/cloud_devices/common/cloud_devices_switches.h" | 41 #include "components/cloud_devices/common/cloud_devices_switches.h" |
| 42 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" | 42 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" |
| 43 #include "components/dom_distiller/core/dom_distiller_switches.h" | 43 #include "components/dom_distiller/core/dom_distiller_switches.h" |
| (...skipping 1587 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 FEATURE_VALUE_TYPE(switches::kViewsTaskManager)}, | |
| 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 |