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

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

Issue 2921973002: Hide Night Light behind a flag (Closed)
Patch Set: James' comments Created 3 years, 6 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/system/tray/system_tray.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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 flag_descriptions::kEasyUnlockProximityDetectionDescription, kOsCrOS, 1376 flag_descriptions::kEasyUnlockProximityDetectionDescription, kOsCrOS,
1377 SINGLE_VALUE_TYPE(proximity_auth::switches::kEnableProximityDetection)}, 1377 SINGLE_VALUE_TYPE(proximity_auth::switches::kEnableProximityDetection)},
1378 {"enable-easy-unlock-bluetooth-low-energy-detection", 1378 {"enable-easy-unlock-bluetooth-low-energy-detection",
1379 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryName, 1379 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryName,
1380 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryDescription, 1380 flag_descriptions::kEasyUnlockBluetoothLowEnergyDiscoveryDescription,
1381 kOsCrOS, 1381 kOsCrOS,
1382 SINGLE_VALUE_TYPE( 1382 SINGLE_VALUE_TYPE(
1383 proximity_auth::switches::kEnableBluetoothLowEnergyDiscovery)}, 1383 proximity_auth::switches::kEnableBluetoothLowEnergyDiscovery)},
1384 #endif // OS_CHROMEOS 1384 #endif // OS_CHROMEOS
1385 #if defined(USE_ASH) 1385 #if defined(USE_ASH)
1386 {"ash-enable-night-light", flag_descriptions::kEnableNightLightName,
1387 flag_descriptions::kEnableNightLightDescription, kOsAll,
1388 SINGLE_VALUE_TYPE(ash::switches::kAshEnableNightLight)},
1386 {"show-touch-hud", flag_descriptions::kShowTouchHudName, 1389 {"show-touch-hud", flag_descriptions::kShowTouchHudName,
1387 flag_descriptions::kShowTouchHudDescription, kOsAll, 1390 flag_descriptions::kShowTouchHudDescription, kOsAll,
1388 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)}, 1391 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)},
1389 { 1392 {
1390 "enable-pinch", flag_descriptions::kPinchScaleName, 1393 "enable-pinch", flag_descriptions::kPinchScaleName,
1391 flag_descriptions::kPinchScaleDescription, kOsLinux | kOsWin | kOsCrOS, 1394 flag_descriptions::kPinchScaleDescription, kOsLinux | kOsWin | kOsCrOS,
1392 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch, 1395 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePinch,
1393 switches::kDisablePinch), 1396 switches::kDisablePinch),
1394 }, 1397 },
1395 #endif // USE_ASH 1398 #endif // USE_ASH
(...skipping 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after
3269 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 3272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
3270 3273
3271 const FeatureEntry* GetFeatureEntries(size_t* count) { 3274 const FeatureEntry* GetFeatureEntries(size_t* count) {
3272 *count = arraysize(kFeatureEntries); 3275 *count = arraysize(kFeatureEntries);
3273 return kFeatureEntries; 3276 return kFeatureEntries;
3274 } 3277 }
3275 3278
3276 } // namespace testing 3279 } // namespace testing
3277 3280
3278 } // namespace about_flags 3281 } // namespace about_flags
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698