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

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

Issue 2849823003: ChromeOS: implement per-user time zone preferences. (Closed)
Patch Set: Update after review. Created 3 years, 5 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') | chrome/browser/chromeos/BUILD.gn » ('J')
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 3081 matching lines...) Expand 10 before | Expand all | Expand 10 after
3092 {"mac-rtl", flag_descriptions::kMacRTLName, 3092 {"mac-rtl", flag_descriptions::kMacRTLName,
3093 flag_descriptions::kMacRTLDescription, kOsMac, 3093 flag_descriptions::kMacRTLDescription, kOsMac,
3094 FEATURE_VALUE_TYPE(features::kMacRTL)}, 3094 FEATURE_VALUE_TYPE(features::kMacRTL)},
3095 #endif // defined(OS_MACOSX) 3095 #endif // defined(OS_MACOSX)
3096 3096
3097 #if defined(OS_CHROMEOS) 3097 #if defined(OS_CHROMEOS)
3098 {"disable-new-virtual-keyboard-behavior", 3098 {"disable-new-virtual-keyboard-behavior",
3099 flag_descriptions::kDisableNewVirtualKeyboardBehaviorName, 3099 flag_descriptions::kDisableNewVirtualKeyboardBehaviorName,
3100 flag_descriptions::kDisableNewVirtualKeyboardBehaviorDescription, kOsCrOS, 3100 flag_descriptions::kDisableNewVirtualKeyboardBehaviorDescription, kOsCrOS,
3101 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewVirtualKeyboardBehavior)}, 3101 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableNewVirtualKeyboardBehavior)},
3102 #endif // defined(OS_CHROMEOS) 3102 {"enable-per-user-timezone", flag_descriptions::kEnablePerUserTimezoneName,
3103 flag_descriptions::kEnablePerUserTimezoneDescription, kOsCrOS,
3104 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisablePerUserTimezone)},
3105 #endif // OS_CHROMEOS
3103 3106
3104 #if !defined(OS_ANDROID) 3107 #if !defined(OS_ANDROID)
3105 {"enable-picture-in-picture", 3108 {"enable-picture-in-picture",
3106 flag_descriptions::kEnablePictureInPictureName, 3109 flag_descriptions::kEnablePictureInPictureName,
3107 flag_descriptions::kEnablePictureInPictureDescription, kOsDesktop, 3110 flag_descriptions::kEnablePictureInPictureDescription, kOsDesktop,
3108 SINGLE_VALUE_TYPE(switches::kEnablePictureInPicture)}, 3111 SINGLE_VALUE_TYPE(switches::kEnablePictureInPicture)},
3109 #endif // !defined(OS_ANDROID) 3112 #endif // !defined(OS_ANDROID)
3110 {"browser-side-navigation", flag_descriptions::kBrowserSideNavigationName, 3113 {"browser-side-navigation", flag_descriptions::kBrowserSideNavigationName,
3111 flag_descriptions::kBrowserSideNavigationDescription, kOsAll, 3114 flag_descriptions::kBrowserSideNavigationDescription, kOsAll,
3112 FEATURE_VALUE_TYPE(features::kBrowserSideNavigation)}, 3115 FEATURE_VALUE_TYPE(features::kBrowserSideNavigation)},
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
3355 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3358 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3356 3359
3357 const FeatureEntry* GetFeatureEntries(size_t* count) { 3360 const FeatureEntry* GetFeatureEntries(size_t* count) {
3358 *count = arraysize(kFeatureEntries); 3361 *count = arraysize(kFeatureEntries);
3359 return kFeatureEntries; 3362 return kFeatureEntries;
3360 } 3363 }
3361 3364
3362 } // namespace testing 3365 } // namespace testing
3363 3366
3364 } // namespace about_flags 3367 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/BUILD.gn » ('j') | chrome/browser/chromeos/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698