OLD | NEW |
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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 }, | 954 }, |
955 { | 955 { |
956 "disable-touch-adjustment", | 956 "disable-touch-adjustment", |
957 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, | 957 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, |
958 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, | 958 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, |
959 kOsWin | kOsLinux | kOsCrOS, | 959 kOsWin | kOsLinux | kOsCrOS, |
960 SINGLE_VALUE_TYPE(switches::kDisableTouchAdjustment) | 960 SINGLE_VALUE_TYPE(switches::kDisableTouchAdjustment) |
961 }, | 961 }, |
962 #if defined(OS_CHROMEOS) | 962 #if defined(OS_CHROMEOS) |
963 { | 963 { |
| 964 "ash-use-alternate-shelf", |
| 965 IDS_FLAGS_ALTERNATE_SHELF_LAYOUT_NAME, |
| 966 IDS_FLAGS_ALTERNATE_SHELF_LAYOUT_DESCRIPTION, |
| 967 kOsCrOS, |
| 968 ENABLE_DISABLE_VALUE_TYPE(ash::switches::kAshUseAlternateShelfLayout, |
| 969 ash::switches::kAshDisableAlternateShelfLayout) |
| 970 }, |
| 971 { |
964 "ash-disable-drag-off-shelf", | 972 "ash-disable-drag-off-shelf", |
965 IDS_FLAGS_DRAG_OFF_SHELF_NAME, | 973 IDS_FLAGS_DRAG_OFF_SHELF_NAME, |
966 IDS_FLAGS_DRAG_OFF_SHELF_DESCRIPTION, | 974 IDS_FLAGS_DRAG_OFF_SHELF_DESCRIPTION, |
967 kOsCrOS, | 975 kOsCrOS, |
968 SINGLE_VALUE_TYPE(ash::switches::kAshDisableDragOffShelf) | 976 SINGLE_VALUE_TYPE(ash::switches::kAshDisableDragOffShelf) |
969 }, | 977 }, |
970 { | 978 { |
971 "enable-background-loader", | 979 "enable-background-loader", |
972 IDS_ENABLE_BACKLOADER_NAME, | 980 IDS_ENABLE_BACKLOADER_NAME, |
973 IDS_ENABLE_BACKLOADER_DESCRIPTION, | 981 IDS_ENABLE_BACKLOADER_DESCRIPTION, |
(...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2419 } | 2427 } |
2420 | 2428 |
2421 const Experiment* GetExperiments(size_t* count) { | 2429 const Experiment* GetExperiments(size_t* count) { |
2422 *count = num_experiments; | 2430 *count = num_experiments; |
2423 return experiments; | 2431 return experiments; |
2424 } | 2432 } |
2425 | 2433 |
2426 } // namespace testing | 2434 } // namespace testing |
2427 | 2435 |
2428 } // namespace about_flags | 2436 } // namespace about_flags |
OLD | NEW |