Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2837773003: Flip the flag to enable smooth screen rotation by default. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2702 matching lines...) Expand 10 before | Expand all | Expand 10 after
2713 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ 2713 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
2714 defined(OS_WIN) 2714 defined(OS_WIN)
2715 {pausetabs::kFeatureName, flag_descriptions::kPauseBackgroundTabsName, 2715 {pausetabs::kFeatureName, flag_descriptions::kPauseBackgroundTabsName,
2716 flag_descriptions::kPauseBackgroundTabsDescription, kOsDesktop, 2716 flag_descriptions::kPauseBackgroundTabsDescription, kOsDesktop,
2717 FEATURE_WITH_PARAMS_VALUE_TYPE(pausetabs::kFeature, 2717 FEATURE_WITH_PARAMS_VALUE_TYPE(pausetabs::kFeature,
2718 kPauseBackgroundTabsVariations, 2718 kPauseBackgroundTabsVariations,
2719 "PauseBackgroundTabs")}, 2719 "PauseBackgroundTabs")},
2720 #endif 2720 #endif
2721 2721
2722 #if defined(USE_ASH) 2722 #if defined(USE_ASH)
2723 {"ash-enable-smooth-screen-rotation", 2723 {"ash-disable-smooth-screen-rotation",
2724 flag_descriptions::kAshEnableSmoothScreenRotationName, 2724 flag_descriptions::kAshDisableSmoothScreenRotationName,
2725 flag_descriptions::kAshEnableSmoothScreenRotationDescription, kOsCrOS, 2725 flag_descriptions::kAshDisableSmoothScreenRotationDescription, kOsCrOS,
2726 SINGLE_VALUE_TYPE(ash::switches::kAshEnableSmoothScreenRotation)}, 2726 SINGLE_DISABLE_VALUE_TYPE(ash::switches::kAshDisableSmoothScreenRotation)},
2727 #endif // defined(USE_ASH) 2727 #endif // defined(USE_ASH)
2728 2728
2729 #if defined(OS_CHROMEOS) 2729 #if defined(OS_CHROMEOS)
2730 {"enable-zip-archiver-on-file-manager", 2730 {"enable-zip-archiver-on-file-manager",
2731 flag_descriptions::kEnableZipArchiverOnFileManagerName, 2731 flag_descriptions::kEnableZipArchiverOnFileManagerName,
2732 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS, 2732 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS,
2733 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)}, 2733 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)},
2734 #endif // OS_CHROMEOS 2734 #endif // OS_CHROMEOS
2735 2735
2736 #if defined(OS_ANDROID) 2736 #if defined(OS_ANDROID)
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
2965 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2965 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2966 2966
2967 const FeatureEntry* GetFeatureEntries(size_t* count) { 2967 const FeatureEntry* GetFeatureEntries(size_t* count) {
2968 *count = arraysize(kFeatureEntries); 2968 *count = arraysize(kFeatureEntries);
2969 return kFeatureEntries; 2969 return kFeatureEntries;
2970 } 2970 }
2971 2971
2972 } // namespace testing 2972 } // namespace testing
2973 2973
2974 } // namespace about_flags 2974 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698