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 2567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2578 {"enable-touchscreen-calibration", | 2578 {"enable-touchscreen-calibration", |
2579 flag_descriptions::kTouchscreenCalibrationName, | 2579 flag_descriptions::kTouchscreenCalibrationName, |
2580 flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS, | 2580 flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS, |
2581 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)}, | 2581 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)}, |
2582 #endif // defined(OS_CHROMEOS) | 2582 #endif // defined(OS_CHROMEOS) |
2583 | 2583 |
2584 #if defined(OS_WIN) | 2584 #if defined(OS_WIN) |
2585 {"gdi-text-printing", flag_descriptions::kGdiTextPrinting, | 2585 {"gdi-text-printing", flag_descriptions::kGdiTextPrinting, |
2586 flag_descriptions::kGdiTextPrintingDescription, kOsWin, | 2586 flag_descriptions::kGdiTextPrintingDescription, kOsWin, |
2587 FEATURE_VALUE_TYPE(features::kGdiTextPrinting)}, | 2587 FEATURE_VALUE_TYPE(features::kGdiTextPrinting)}, |
2588 {"postscript-printing", flag_descriptions::kPostscriptPrinting, | 2588 {"postscript-printing", flag_descriptions::kDisablePostscriptPrinting, |
2589 flag_descriptions::kPostscriptPrintingDescription, kOsWin, | 2589 flag_descriptions::kDisablePostscriptPrintingDescription, kOsWin, |
2590 FEATURE_VALUE_TYPE(features::kPostScriptPrinting)}, | 2590 FEATURE_VALUE_TYPE(features::kDisablePostScriptPrinting)}, |
2591 #endif // defined(OS_WIN) | 2591 #endif // defined(OS_WIN) |
2592 | 2592 |
2593 #if defined(OS_CHROMEOS) | 2593 #if defined(OS_CHROMEOS) |
2594 {"show-arc-files-app", flag_descriptions::kShowArcFilesAppName, | 2594 {"show-arc-files-app", flag_descriptions::kShowArcFilesAppName, |
2595 flag_descriptions::kShowArcFilesAppDescription, kOsCrOS, | 2595 flag_descriptions::kShowArcFilesAppDescription, kOsCrOS, |
2596 FEATURE_VALUE_TYPE(arc::kShowArcFilesAppFeature)}, | 2596 FEATURE_VALUE_TYPE(arc::kShowArcFilesAppFeature)}, |
2597 #endif // defined(OS_CHROMEOS) | 2597 #endif // defined(OS_CHROMEOS) |
2598 | 2598 |
2599 #if defined(OS_CHROMEOS) | 2599 #if defined(OS_CHROMEOS) |
2600 {"force-enable-stylus-tools", | 2600 {"force-enable-stylus-tools", |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2986 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2986 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2987 | 2987 |
2988 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2988 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2989 *count = arraysize(kFeatureEntries); | 2989 *count = arraysize(kFeatureEntries); |
2990 return kFeatureEntries; | 2990 return kFeatureEntries; |
2991 } | 2991 } |
2992 | 2992 |
2993 } // namespace testing | 2993 } // namespace testing |
2994 | 2994 |
2995 } // namespace about_flags | 2995 } // namespace about_flags |
OLD | NEW |