| 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 2717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2728 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS, | 2728 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS, |
| 2729 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)}, | 2729 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)}, |
| 2730 #endif // OS_CHROMEOS | 2730 #endif // OS_CHROMEOS |
| 2731 | 2731 |
| 2732 #if defined(OS_ANDROID) | 2732 #if defined(OS_ANDROID) |
| 2733 {"enable-copyless-paste", flag_descriptions::kEnableCopylessPasteName, | 2733 {"enable-copyless-paste", flag_descriptions::kEnableCopylessPasteName, |
| 2734 flag_descriptions::kEnableCopylessPasteDescription, kOsAndroid, | 2734 flag_descriptions::kEnableCopylessPasteDescription, kOsAndroid, |
| 2735 FEATURE_VALUE_TYPE(features::kCopylessPaste)}, | 2735 FEATURE_VALUE_TYPE(features::kCopylessPaste)}, |
| 2736 #endif | 2736 #endif |
| 2737 | 2737 |
| 2738 {"omnibox-display-title-for-current-url", |
| 2739 flag_descriptions::kOmniboxDisplayTitleForCurrentUrlName, |
| 2740 flag_descriptions::kOmniboxDisplayTitleForCurrentUrlDescription, |
| 2741 kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kDisplayTitleForCurrentUrl)}, |
| 2742 |
| 2738 {"enable-color-correct-rendering", | 2743 {"enable-color-correct-rendering", |
| 2739 flag_descriptions::kColorCorrectRenderingName, | 2744 flag_descriptions::kColorCorrectRenderingName, |
| 2740 flag_descriptions::kColorCorrectRenderingDescription, kOsAll, | 2745 flag_descriptions::kColorCorrectRenderingDescription, kOsAll, |
| 2741 MULTI_VALUE_TYPE(kColorCorrectRenderingChoices)}, | 2746 MULTI_VALUE_TYPE(kColorCorrectRenderingChoices)}, |
| 2742 | 2747 |
| 2743 #if defined(OS_CHROMEOS) | 2748 #if defined(OS_CHROMEOS) |
| 2744 {"quick-unlock-pin-signin", flag_descriptions::kQuickUnlockPinSignin, | 2749 {"quick-unlock-pin-signin", flag_descriptions::kQuickUnlockPinSignin, |
| 2745 flag_descriptions::kQuickUnlockPinSigninDescription, kOsCrOS, | 2750 flag_descriptions::kQuickUnlockPinSigninDescription, kOsCrOS, |
| 2746 FEATURE_VALUE_TYPE(features::kQuickUnlockPinSignin)}, | 2751 FEATURE_VALUE_TYPE(features::kQuickUnlockPinSignin)}, |
| 2747 #endif // OS_CHROMEOS | 2752 #endif // OS_CHROMEOS |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2986 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2991 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2987 | 2992 |
| 2988 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2993 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2989 *count = arraysize(kFeatureEntries); | 2994 *count = arraysize(kFeatureEntries); |
| 2990 return kFeatureEntries; | 2995 return kFeatureEntries; |
| 2991 } | 2996 } |
| 2992 | 2997 |
| 2993 } // namespace testing | 2998 } // namespace testing |
| 2994 | 2999 |
| 2995 } // namespace about_flags | 3000 } // namespace about_flags |
| OLD | NEW |