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

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

Issue 2849823003: ChromeOS: implement per-user time zone preferences. (Closed)
Patch Set: Rebased. Created 3 years, 4 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 | « no previous file | chrome/browser/chromeos/BUILD.gn » ('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 3186 matching lines...) Expand 10 before | Expand all | Expand 10 after
3197 {"mac-rtl", flag_descriptions::kMacRTLName, 3197 {"mac-rtl", flag_descriptions::kMacRTLName,
3198 flag_descriptions::kMacRTLDescription, kOsMac, 3198 flag_descriptions::kMacRTLDescription, kOsMac,
3199 FEATURE_VALUE_TYPE(features::kMacRTL)}, 3199 FEATURE_VALUE_TYPE(features::kMacRTL)},
3200 #endif // defined(OS_MACOSX) 3200 #endif // defined(OS_MACOSX)
3201 3201
3202 #if defined(OS_CHROMEOS) 3202 #if defined(OS_CHROMEOS)
3203 {"disable-new-virtual-keyboard-behavior", 3203 {"disable-new-virtual-keyboard-behavior",
3204 flag_descriptions::kDisableNewVirtualKeyboardBehaviorName, 3204 flag_descriptions::kDisableNewVirtualKeyboardBehaviorName,
3205 flag_descriptions::kDisableNewVirtualKeyboardBehaviorDescription, kOsCrOS, 3205 flag_descriptions::kDisableNewVirtualKeyboardBehaviorDescription, kOsCrOS,
3206 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewVirtualKeyboardBehavior)}, 3206 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewVirtualKeyboardBehavior)},
3207 #endif // defined(OS_CHROMEOS) 3207 {"enable-per-user-timezone", flag_descriptions::kEnablePerUserTimezoneName,
3208 flag_descriptions::kEnablePerUserTimezoneDescription, kOsCrOS,
3209 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisablePerUserTimezone)},
3210 #endif // OS_CHROMEOS
3208 3211
3209 #if !defined(OS_ANDROID) 3212 #if !defined(OS_ANDROID)
3210 {"enable-picture-in-picture", 3213 {"enable-picture-in-picture",
3211 flag_descriptions::kEnablePictureInPictureName, 3214 flag_descriptions::kEnablePictureInPictureName,
3212 flag_descriptions::kEnablePictureInPictureDescription, kOsDesktop, 3215 flag_descriptions::kEnablePictureInPictureDescription, kOsDesktop,
3213 SINGLE_VALUE_TYPE(switches::kEnablePictureInPicture)}, 3216 SINGLE_VALUE_TYPE(switches::kEnablePictureInPicture)},
3214 #endif // !defined(OS_ANDROID) 3217 #endif // !defined(OS_ANDROID)
3215 {"browser-side-navigation", flag_descriptions::kBrowserSideNavigationName, 3218 {"browser-side-navigation", flag_descriptions::kBrowserSideNavigationName,
3216 flag_descriptions::kBrowserSideNavigationDescription, kOsAll, 3219 flag_descriptions::kBrowserSideNavigationDescription, kOsAll,
3217 FEATURE_VALUE_TYPE(features::kBrowserSideNavigation)}, 3220 FEATURE_VALUE_TYPE(features::kBrowserSideNavigation)},
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
3567 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3570 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3568 3571
3569 const FeatureEntry* GetFeatureEntries(size_t* count) { 3572 const FeatureEntry* GetFeatureEntries(size_t* count) {
3570 *count = arraysize(kFeatureEntries); 3573 *count = arraysize(kFeatureEntries);
3571 return kFeatureEntries; 3574 return kFeatureEntries;
3572 } 3575 }
3573 3576
3574 } // namespace testing 3577 } // namespace testing
3575 3578
3576 } // namespace about_flags 3579 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698