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

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

Issue 2837773003: Flip the flag to enable smooth screen rotation by default. (Closed)
Patch Set: Add comments how the test will work. Created 3 years, 7 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
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2697 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698