| 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 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1653 {"enable-print-preview-register-promos", | 1653 {"enable-print-preview-register-promos", |
| 1654 flag_descriptions::kPrintPreviewRegisterPromosName, | 1654 flag_descriptions::kPrintPreviewRegisterPromosName, |
| 1655 flag_descriptions::kPrintPreviewRegisterPromosDescription, kOsDesktop, | 1655 flag_descriptions::kPrintPreviewRegisterPromosDescription, kOsDesktop, |
| 1656 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)}, | 1656 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)}, |
| 1657 #endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY) | 1657 #endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
| 1658 #if defined(OS_WIN) | 1658 #if defined(OS_WIN) |
| 1659 {"enable-cloud-print-xps", flag_descriptions::kCloudPrintXpsName, | 1659 {"enable-cloud-print-xps", flag_descriptions::kCloudPrintXpsName, |
| 1660 flag_descriptions::kCloudPrintXpsDescription, kOsWin, | 1660 flag_descriptions::kCloudPrintXpsDescription, kOsWin, |
| 1661 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)}, | 1661 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)}, |
| 1662 #endif // OS_WIN | 1662 #endif // OS_WIN |
| 1663 #if defined(TOOLKIT_VIEWS) | |
| 1664 {"disable-hide-inactive-stacked-tab-close-buttons", | |
| 1665 flag_descriptions::kHideInactiveStackedTabCloseButtonsName, | |
| 1666 flag_descriptions::kHideInactiveStackedTabCloseButtonsDescription, | |
| 1667 kOsCrOS | kOsWin | kOsLinux, | |
| 1668 SINGLE_DISABLE_VALUE_TYPE( | |
| 1669 switches::kDisableHideInactiveStackedTabCloseButtons)}, | |
| 1670 #endif // TOOLKIT_VIEWS | |
| 1671 #if BUILDFLAG(ENABLE_SPELLCHECK) | 1663 #if BUILDFLAG(ENABLE_SPELLCHECK) |
| 1672 {"enable-spelling-feedback-field-trial", | 1664 {"enable-spelling-feedback-field-trial", |
| 1673 flag_descriptions::kSpellingFeedbackFieldTrialName, | 1665 flag_descriptions::kSpellingFeedbackFieldTrialName, |
| 1674 flag_descriptions::kSpellingFeedbackFieldTrialDescription, kOsAll, | 1666 flag_descriptions::kSpellingFeedbackFieldTrialDescription, kOsAll, |
| 1675 SINGLE_VALUE_TYPE( | 1667 SINGLE_VALUE_TYPE( |
| 1676 spellcheck::switches::kEnableSpellingFeedbackFieldTrial)}, | 1668 spellcheck::switches::kEnableSpellingFeedbackFieldTrial)}, |
| 1677 #endif // ENABLE_SPELLCHECK | 1669 #endif // ENABLE_SPELLCHECK |
| 1678 {"enable-webgl-draft-extensions", | 1670 {"enable-webgl-draft-extensions", |
| 1679 flag_descriptions::kWebglDraftExtensionsName, | 1671 flag_descriptions::kWebglDraftExtensionsName, |
| 1680 flag_descriptions::kWebglDraftExtensionsDescription, kOsAll, | 1672 flag_descriptions::kWebglDraftExtensionsDescription, kOsAll, |
| (...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3317 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3309 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3318 | 3310 |
| 3319 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3311 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3320 *count = arraysize(kFeatureEntries); | 3312 *count = arraysize(kFeatureEntries); |
| 3321 return kFeatureEntries; | 3313 return kFeatureEntries; |
| 3322 } | 3314 } |
| 3323 | 3315 |
| 3324 } // namespace testing | 3316 } // namespace testing |
| 3325 | 3317 |
| 3326 } // namespace about_flags | 3318 } // namespace about_flags |
| OLD | NEW |