| 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 kOsLinux | kOsCrOS, | 694 kOsLinux | kOsCrOS, |
| 695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight, | 695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableGestureTapHighlight, |
| 696 switches::kDisableGestureTapHighlight) | 696 switches::kDisableGestureTapHighlight) |
| 697 }, | 697 }, |
| 698 { | 698 { |
| 699 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 699 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
| 700 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 700 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
| 701 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 701 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
| 702 // Can't expose the switch unless the code is compiled in. | 702 // Can't expose the switch unless the code is compiled in. |
| 703 // On by default for the Mac (different implementation in WebKit). | 703 // On by default for the Mac (different implementation in WebKit). |
| 704 kOsLinux, | 704 kOsWin | kOsLinux, |
| 705 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) | 705 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) |
| 706 }, | 706 }, |
| 707 { | 707 { |
| 708 "enable-overlay-scrollbars", | 708 "enable-overlay-scrollbars", |
| 709 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_NAME, | 709 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_NAME, |
| 710 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_DESCRIPTION, | 710 IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_DESCRIPTION, |
| 711 // Uses the system preference on Mac (a different implementation). | 711 // Uses the system preference on Mac (a different implementation). |
| 712 // On Android, this is always enabled. | 712 // On Android, this is always enabled. |
| 713 kOsCrOS, | 713 kOsCrOS, |
| 714 SINGLE_VALUE_TYPE(switches::kEnableOverlayScrollbars) | 714 SINGLE_VALUE_TYPE(switches::kEnableOverlayScrollbars) |
| (...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 } | 2301 } |
| 2302 | 2302 |
| 2303 const Experiment* GetExperiments(size_t* count) { | 2303 const Experiment* GetExperiments(size_t* count) { |
| 2304 *count = num_experiments; | 2304 *count = num_experiments; |
| 2305 return experiments; | 2305 return experiments; |
| 2306 } | 2306 } |
| 2307 | 2307 |
| 2308 } // namespace testing | 2308 } // namespace testing |
| 2309 | 2309 |
| 2310 } // namespace about_flags | 2310 } // namespace about_flags |
| OLD | NEW |