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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1790 }, | 1790 }, |
1791 #if defined(OS_ANDROID) | 1791 #if defined(OS_ANDROID) |
1792 { | 1792 { |
1793 "disable-click-delay", | 1793 "disable-click-delay", |
1794 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, | 1794 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, |
1795 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, | 1795 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, |
1796 kOsAndroid, | 1796 kOsAndroid, |
1797 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY | 1797 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY |
1798 SINGLE_VALUE_TYPE("disable-click-delay") | 1798 SINGLE_VALUE_TYPE("disable-click-delay") |
1799 }, | 1799 }, |
| 1800 { |
| 1801 "low-end-device-mode", |
| 1802 IDS_FLAGS_LOW_END_DEVICE_MODE_NAME, |
| 1803 IDS_FLAGS_LOW_END_DEVICE_MODE_DESCRIPTION, |
| 1804 kOsAndroid, |
| 1805 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLowEndDeviceMode, |
| 1806 switches::kDisableLowEndDeviceMode) |
| 1807 }, |
1800 #endif | 1808 #endif |
1801 #if defined(OS_CHROMEOS) | 1809 #if defined(OS_CHROMEOS) |
1802 { | 1810 { |
1803 "disable-ime-mode-indicator", | 1811 "disable-ime-mode-indicator", |
1804 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, | 1812 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, |
1805 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, | 1813 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, |
1806 kOsCrOS, | 1814 kOsCrOS, |
1807 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) | 1815 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) |
1808 }, | 1816 }, |
1809 #endif | 1817 #endif |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2323 } | 2331 } |
2324 | 2332 |
2325 const Experiment* GetExperiments(size_t* count) { | 2333 const Experiment* GetExperiments(size_t* count) { |
2326 *count = num_experiments; | 2334 *count = num_experiments; |
2327 return experiments; | 2335 return experiments; |
2328 } | 2336 } |
2329 | 2337 |
2330 } // namespace testing | 2338 } // namespace testing |
2331 | 2339 |
2332 } // namespace about_flags | 2340 } // namespace about_flags |
OLD | NEW |