| 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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 { | 1321 { |
| 1322 "enable-touch-side-bezels", | 1322 "enable-touch-side-bezels", |
| 1323 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_NAME, | 1323 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_NAME, |
| 1324 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_DESCRIPTION, | 1324 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_DESCRIPTION, |
| 1325 kOsCrOS, | 1325 kOsCrOS, |
| 1326 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( | 1326 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 1327 switches::kTouchSideBezels, "1", | 1327 switches::kTouchSideBezels, "1", |
| 1328 switches::kTouchSideBezels, "0") | 1328 switches::kTouchSideBezels, "0") |
| 1329 }, | 1329 }, |
| 1330 { | 1330 { |
| 1331 "enable-no-touch-to-renderer-while-scrolling", |
| 1332 IDS_FLAGS_ENABLE_NO_TOUCH_TO_RENDERER_WHILE_SCROLLING_NAME, |
| 1333 IDS_FLAGS_ENABLE_NO_TOUCH_TO_RENDERER_WHILE_SCROLLING_DESCRIPTION, |
| 1334 kOsDesktop, |
| 1335 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 1336 switches::kNoTouchToRendererWhileScrolling, "1", |
| 1337 switches::kNoTouchToRendererWhileScrolling, "0") |
| 1338 }, |
| 1339 { |
| 1331 "enable-touch-drag-drop", | 1340 "enable-touch-drag-drop", |
| 1332 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, | 1341 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, |
| 1333 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, | 1342 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, |
| 1334 kOsWin | kOsCrOS, | 1343 kOsWin | kOsCrOS, |
| 1335 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, | 1344 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, |
| 1336 switches::kDisableTouchDragDrop) | 1345 switches::kDisableTouchDragDrop) |
| 1337 }, | 1346 }, |
| 1338 { | 1347 { |
| 1339 "enable-touch-editing", | 1348 "enable-touch-editing", |
| 1340 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, | 1349 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2126 } | 2135 } |
| 2127 | 2136 |
| 2128 const Experiment* GetExperiments(size_t* count) { | 2137 const Experiment* GetExperiments(size_t* count) { |
| 2129 *count = num_experiments; | 2138 *count = num_experiments; |
| 2130 return experiments; | 2139 return experiments; |
| 2131 } | 2140 } |
| 2132 | 2141 |
| 2133 } // namespace testing | 2142 } // namespace testing |
| 2134 | 2143 |
| 2135 } // namespace about_flags | 2144 } // namespace about_flags |
| OLD | NEW |