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