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 2697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2708 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ | 2708 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ |
2709 defined(OS_WIN) | 2709 defined(OS_WIN) |
2710 {pausetabs::kFeatureName, flag_descriptions::kPauseBackgroundTabsName, | 2710 {pausetabs::kFeatureName, flag_descriptions::kPauseBackgroundTabsName, |
2711 flag_descriptions::kPauseBackgroundTabsDescription, kOsDesktop, | 2711 flag_descriptions::kPauseBackgroundTabsDescription, kOsDesktop, |
2712 FEATURE_WITH_PARAMS_VALUE_TYPE(pausetabs::kFeature, | 2712 FEATURE_WITH_PARAMS_VALUE_TYPE(pausetabs::kFeature, |
2713 kPauseBackgroundTabsVariations, | 2713 kPauseBackgroundTabsVariations, |
2714 "PauseBackgroundTabs")}, | 2714 "PauseBackgroundTabs")}, |
2715 #endif | 2715 #endif |
2716 | 2716 |
2717 #if defined(USE_ASH) | 2717 #if defined(USE_ASH) |
2718 {"ash-enable-smooth-screen-rotation", | 2718 {"ash-disable-smooth-screen-rotation", |
2719 flag_descriptions::kAshEnableSmoothScreenRotationName, | 2719 flag_descriptions::kAshDisableSmoothScreenRotationName, |
2720 flag_descriptions::kAshEnableSmoothScreenRotationDescription, kOsCrOS, | 2720 flag_descriptions::kAshDisableSmoothScreenRotationDescription, kOsCrOS, |
2721 SINGLE_VALUE_TYPE(ash::switches::kAshEnableSmoothScreenRotation)}, | 2721 SINGLE_DISABLE_VALUE_TYPE(ash::switches::kAshDisableSmoothScreenRotation)}, |
2722 #endif // defined(USE_ASH) | 2722 #endif // defined(USE_ASH) |
2723 | 2723 |
2724 #if defined(OS_CHROMEOS) | 2724 #if defined(OS_CHROMEOS) |
2725 {"enable-zip-archiver-on-file-manager", | 2725 {"enable-zip-archiver-on-file-manager", |
2726 flag_descriptions::kEnableZipArchiverOnFileManagerName, | 2726 flag_descriptions::kEnableZipArchiverOnFileManagerName, |
2727 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS, | 2727 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS, |
2728 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)}, | 2728 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)}, |
2729 #endif // OS_CHROMEOS | 2729 #endif // OS_CHROMEOS |
2730 | 2730 |
2731 #if defined(OS_ANDROID) | 2731 #if defined(OS_ANDROID) |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2972 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2972 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2973 | 2973 |
2974 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2974 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2975 *count = arraysize(kFeatureEntries); | 2975 *count = arraysize(kFeatureEntries); |
2976 return kFeatureEntries; | 2976 return kFeatureEntries; |
2977 } | 2977 } |
2978 | 2978 |
2979 } // namespace testing | 2979 } // namespace testing |
2980 | 2980 |
2981 } // namespace about_flags | 2981 } // namespace about_flags |
OLD | NEW |