| 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 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1681 SINGLE_VALUE_TYPE(switches::kEnableBatchedShutdown) | 1681 SINGLE_VALUE_TYPE(switches::kEnableBatchedShutdown) |
| 1682 }, | 1682 }, |
| 1683 { | 1683 { |
| 1684 "map-image", | 1684 "map-image", |
| 1685 IDS_FLAGS_MAP_IMAGE_NAME, | 1685 IDS_FLAGS_MAP_IMAGE_NAME, |
| 1686 IDS_FLAGS_MAP_IMAGE_DESCRIPTION, | 1686 IDS_FLAGS_MAP_IMAGE_DESCRIPTION, |
| 1687 kOsAll, | 1687 kOsAll, |
| 1688 MULTI_VALUE_TYPE(kMapImageChoices) | 1688 MULTI_VALUE_TYPE(kMapImageChoices) |
| 1689 }, | 1689 }, |
| 1690 { | 1690 { |
| 1691 "enable-device-motion", | |
| 1692 IDS_FLAGS_ENABLE_DEVICE_MOTION_NAME, | |
| 1693 IDS_FLAGS_ENABLE_DEVICE_MOTION_DESCRIPTION, | |
| 1694 kOsDesktop, | |
| 1695 SINGLE_VALUE_TYPE(switches::kEnableDeviceMotion) | |
| 1696 }, | |
| 1697 { | |
| 1698 "enable-add-to-homescreen", | 1691 "enable-add-to-homescreen", |
| 1699 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_NAME, | 1692 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_NAME, |
| 1700 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_DESCRIPTION, | 1693 IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_DESCRIPTION, |
| 1701 kOsAndroid, | 1694 kOsAndroid, |
| 1702 #if defined(OS_ANDROID) | 1695 #if defined(OS_ANDROID) |
| 1703 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToHomescreen, | 1696 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToHomescreen, |
| 1704 switches::kDisableAddToHomescreen), | 1697 switches::kDisableAddToHomescreen), |
| 1705 #else | 1698 #else |
| 1706 SINGLE_VALUE_TYPE("") | 1699 SINGLE_VALUE_TYPE("") |
| 1707 #endif | 1700 #endif |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2199 } | 2192 } |
| 2200 | 2193 |
| 2201 const Experiment* GetExperiments(size_t* count) { | 2194 const Experiment* GetExperiments(size_t* count) { |
| 2202 *count = num_experiments; | 2195 *count = num_experiments; |
| 2203 return experiments; | 2196 return experiments; |
| 2204 } | 2197 } |
| 2205 | 2198 |
| 2206 } // namespace testing | 2199 } // namespace testing |
| 2207 | 2200 |
| 2208 } // namespace about_flags | 2201 } // namespace about_flags |
| OLD | NEW |