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 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1846 }, | 1846 }, |
1847 #if defined(OS_ANDROID) | 1847 #if defined(OS_ANDROID) |
1848 { | 1848 { |
1849 "disable-click-delay", | 1849 "disable-click-delay", |
1850 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, | 1850 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, |
1851 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, | 1851 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, |
1852 kOsAndroid, | 1852 kOsAndroid, |
1853 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY | 1853 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY |
1854 SINGLE_VALUE_TYPE("disable-click-delay") | 1854 SINGLE_VALUE_TYPE("disable-click-delay") |
1855 }, | 1855 }, |
1856 { | |
1857 "low-end-device-mode", | |
1858 IDS_FLAGS_LOW_END_DEVICE_MODE_NAME, | |
1859 IDS_FLAGS_LOW_END_DEVICE_MODE_DESCRIPTION, | |
1860 kOsAndroid, | |
1861 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLowEndDeviceMode, | |
1862 switches::kDisableLowEndDeviceMode) | |
1863 }, | |
1864 #endif | 1856 #endif |
1865 #if defined(OS_CHROMEOS) | 1857 #if defined(OS_CHROMEOS) |
1866 { | 1858 { |
1867 "disable-ime-mode-indicator", | 1859 "disable-ime-mode-indicator", |
1868 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, | 1860 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, |
1869 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, | 1861 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, |
1870 kOsCrOS, | 1862 kOsCrOS, |
1871 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) | 1863 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) |
1872 }, | 1864 }, |
1873 #endif | 1865 #endif |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2453 } | 2445 } |
2454 | 2446 |
2455 const Experiment* GetExperiments(size_t* count) { | 2447 const Experiment* GetExperiments(size_t* count) { |
2456 *count = num_experiments; | 2448 *count = num_experiments; |
2457 return experiments; | 2449 return experiments; |
2458 } | 2450 } |
2459 | 2451 |
2460 } // namespace testing | 2452 } // namespace testing |
2461 | 2453 |
2462 } // namespace about_flags | 2454 } // namespace about_flags |
OLD | NEW |