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 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1857 }, | 1857 }, |
1858 #if defined(OS_ANDROID) | 1858 #if defined(OS_ANDROID) |
1859 { | 1859 { |
1860 "disable-click-delay", | 1860 "disable-click-delay", |
1861 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, | 1861 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, |
1862 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, | 1862 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, |
1863 kOsAndroid, | 1863 kOsAndroid, |
1864 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY | 1864 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY |
1865 SINGLE_VALUE_TYPE("disable-click-delay") | 1865 SINGLE_VALUE_TYPE("disable-click-delay") |
1866 }, | 1866 }, |
| 1867 #endif |
1867 { | 1868 { |
1868 "low-end-device-mode", | 1869 "low-end-device-mode", |
1869 IDS_FLAGS_LOW_END_DEVICE_MODE_NAME, | 1870 IDS_FLAGS_LOW_END_DEVICE_MODE_NAME, |
1870 IDS_FLAGS_LOW_END_DEVICE_MODE_DESCRIPTION, | 1871 IDS_FLAGS_LOW_END_DEVICE_MODE_DESCRIPTION, |
1871 kOsAndroid, | 1872 kOsAll, |
1872 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLowEndDeviceMode, | 1873 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLowEndDeviceMode, |
1873 switches::kDisableLowEndDeviceMode) | 1874 switches::kDisableLowEndDeviceMode) |
1874 }, | 1875 }, |
1875 #endif | |
1876 #if defined(OS_CHROMEOS) | 1876 #if defined(OS_CHROMEOS) |
1877 { | 1877 { |
1878 "disable-ime-mode-indicator", | 1878 "disable-ime-mode-indicator", |
1879 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, | 1879 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, |
1880 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, | 1880 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, |
1881 kOsCrOS, | 1881 kOsCrOS, |
1882 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) | 1882 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) |
1883 }, | 1883 }, |
1884 #endif | 1884 #endif |
1885 { | 1885 { |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2454 } | 2454 } |
2455 | 2455 |
2456 const Experiment* GetExperiments(size_t* count) { | 2456 const Experiment* GetExperiments(size_t* count) { |
2457 *count = num_experiments; | 2457 *count = num_experiments; |
2458 return experiments; | 2458 return experiments; |
2459 } | 2459 } |
2460 | 2460 |
2461 } // namespace testing | 2461 } // namespace testing |
2462 | 2462 |
2463 } // namespace about_flags | 2463 } // namespace about_flags |
OLD | NEW |