| 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 <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <iterator> | 10 #include <iterator> |
| (...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( | 1241 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 1242 switches::kOverscrollHistoryNavigation, "1", | 1242 switches::kOverscrollHistoryNavigation, "1", |
| 1243 switches::kOverscrollHistoryNavigation, "0") | 1243 switches::kOverscrollHistoryNavigation, "0") |
| 1244 }, | 1244 }, |
| 1245 #endif | 1245 #endif |
| 1246 { | 1246 { |
| 1247 "enable-touch-drag-drop", | 1247 "enable-touch-drag-drop", |
| 1248 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, | 1248 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, |
| 1249 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, | 1249 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, |
| 1250 kOsWin | kOsCrOS, | 1250 kOsWin | kOsCrOS, |
| 1251 SINGLE_VALUE_TYPE(switches::kEnableTouchDragDrop) | 1251 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, |
| 1252 switches::kDisableTouchDragDrop) |
| 1252 }, | 1253 }, |
| 1253 { | 1254 { |
| 1254 "enable-touch-editing", | 1255 "enable-touch-editing", |
| 1255 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, | 1256 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, |
| 1256 IDS_FLAGS_ENABLE_TOUCH_EDITING_DESCRIPTION, | 1257 IDS_FLAGS_ENABLE_TOUCH_EDITING_DESCRIPTION, |
| 1257 kOsCrOS, | 1258 kOsCrOS, |
| 1258 SINGLE_VALUE_TYPE(switches::kEnableTouchEditing) | 1259 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchEditing, |
| 1260 switches::kDisableTouchEditing) |
| 1259 }, | 1261 }, |
| 1260 #if defined(ENABLE_MESSAGE_CENTER) | 1262 #if defined(ENABLE_MESSAGE_CENTER) |
| 1261 { | 1263 { |
| 1262 "enable-rich-notifications", | 1264 "enable-rich-notifications", |
| 1263 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_NAME, | 1265 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_NAME, |
| 1264 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_DESCRIPTION, | 1266 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_DESCRIPTION, |
| 1265 kOsWin | kOsCrOS, | 1267 kOsWin | kOsCrOS, |
| 1266 ENABLE_DISABLE_VALUE_TYPE( | 1268 ENABLE_DISABLE_VALUE_TYPE( |
| 1267 message_center::switches::kEnableRichNotifications, | 1269 message_center::switches::kEnableRichNotifications, |
| 1268 message_center::switches::kDisableRichNotifications) | 1270 message_center::switches::kDisableRichNotifications) |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1893 } | 1895 } |
| 1894 | 1896 |
| 1895 const Experiment* GetExperiments(size_t* count) { | 1897 const Experiment* GetExperiments(size_t* count) { |
| 1896 *count = num_experiments; | 1898 *count = num_experiments; |
| 1897 return experiments; | 1899 return experiments; |
| 1898 } | 1900 } |
| 1899 | 1901 |
| 1900 } // namespace testing | 1902 } // namespace testing |
| 1901 | 1903 |
| 1902 } // namespace about_flags | 1904 } // namespace about_flags |
| OLD | NEW |