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 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1862 FEATURE_VALUE_TYPE(password_manager::features::kPasswordImportExport)}, | 1862 FEATURE_VALUE_TYPE(password_manager::features::kPasswordImportExport)}, |
1863 #if defined(OS_CHROMEOS) | 1863 #if defined(OS_CHROMEOS) |
1864 {"enable-experimental-accessibility-features", | 1864 {"enable-experimental-accessibility-features", |
1865 IDS_FLAGS_EXPERIMENTAL_ACCESSIBILITY_FEATURES_NAME, | 1865 IDS_FLAGS_EXPERIMENTAL_ACCESSIBILITY_FEATURES_NAME, |
1866 IDS_FLAGS_EXPERIMENTAL_ACCESSIBILITY_FEATURES_DESCRIPTION, kOsCrOS, | 1866 IDS_FLAGS_EXPERIMENTAL_ACCESSIBILITY_FEATURES_DESCRIPTION, kOsCrOS, |
1867 SINGLE_VALUE_TYPE( | 1867 SINGLE_VALUE_TYPE( |
1868 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, | 1868 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, |
1869 {"opt-in-ime-menu", IDS_FLAGS_ENABLE_IME_MENU_NAME, | 1869 {"opt-in-ime-menu", IDS_FLAGS_ENABLE_IME_MENU_NAME, |
1870 IDS_FLAGS_ENABLE_IME_MENU_DESCRIPTION, kOsCrOS, | 1870 IDS_FLAGS_ENABLE_IME_MENU_DESCRIPTION, kOsCrOS, |
1871 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, | 1871 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, |
1872 {"enable-system-timezone-automatic-detection", | 1872 {"disable-system-timezone-automatic-detection", |
1873 IDS_FLAGS_ENABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_NAME, | 1873 IDS_FLAGS_DISABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_NAME, |
1874 IDS_FLAGS_ENABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_DESCRIPTION, kOsCrOS, | 1874 IDS_FLAGS_DISABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_DESCRIPTION, kOsCrOS, |
1875 SINGLE_VALUE_TYPE( | 1875 SINGLE_VALUE_TYPE( |
1876 chromeos::switches::kEnableSystemTimezoneAutomaticDetectionPolicy)}, | 1876 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)}, |
1877 {"enable-native-cups", // FLAGS:RECORD_UMA | 1877 {"enable-native-cups", // FLAGS:RECORD_UMA |
1878 IDS_FLAGS_ENABLE_NATIVE_CUPS_NAME, | 1878 IDS_FLAGS_ENABLE_NATIVE_CUPS_NAME, |
1879 IDS_FLAGS_ENABLE_NATIVE_CUPS_DESCRIPTION, kOsCrOS, | 1879 IDS_FLAGS_ENABLE_NATIVE_CUPS_DESCRIPTION, kOsCrOS, |
1880 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)}, | 1880 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)}, |
1881 {"enable-files-details-panel", IDS_FLAGS_ENABLE_FILES_DETAILS_PANEL_NAME, | 1881 {"enable-files-details-panel", IDS_FLAGS_ENABLE_FILES_DETAILS_PANEL_NAME, |
1882 IDS_FLAGS_ENABLE_FILES_DETAILS_PANEL_DESCRIPTION, kOsCrOS, | 1882 IDS_FLAGS_ENABLE_FILES_DETAILS_PANEL_DESCRIPTION, kOsCrOS, |
1883 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFilesDetailsPanel)}, | 1883 SINGLE_VALUE_TYPE(chromeos::switches::kEnableFilesDetailsPanel)}, |
1884 #endif // defined(OS_CHROMEOS) | 1884 #endif // defined(OS_CHROMEOS) |
1885 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) | 1885 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) |
1886 {"enable-google-branded-context-menu", | 1886 {"enable-google-branded-context-menu", |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2116 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2116 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2117 | 2117 |
2118 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2118 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2119 *count = arraysize(kFeatureEntries); | 2119 *count = arraysize(kFeatureEntries); |
2120 return kFeatureEntries; | 2120 return kFeatureEntries; |
2121 } | 2121 } |
2122 | 2122 |
2123 } // namespace testing | 2123 } // namespace testing |
2124 | 2124 |
2125 } // namespace about_flags | 2125 } // namespace about_flags |
OLD | NEW |