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 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 #if defined(OS_ANDROID) | 1859 #if defined(OS_ANDROID) |
1860 { | 1860 { |
1861 "disable-click-delay", | 1861 "disable-click-delay", |
1862 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, | 1862 IDS_FLAGS_DISABLE_CLICK_DELAY_NAME, |
1863 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, | 1863 IDS_FLAGS_DISABLE_CLICK_DELAY_DESCRIPTION, |
1864 kOsAndroid, | 1864 kOsAndroid, |
1865 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY | 1865 // Java-only switch: CommandLine.DISABLE_CLICK_DELAY |
1866 SINGLE_VALUE_TYPE("disable-click-delay") | 1866 SINGLE_VALUE_TYPE("disable-click-delay") |
1867 }, | 1867 }, |
1868 #endif | 1868 #endif |
1869 #if defined(OS_CHROMEOS) | |
1870 { | |
1871 "disable-ime-mode-indicator", | |
1872 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR, | |
1873 IDS_FLAGS_DISABLE_IME_MODE_INDICATOR_DESCRIPTION, | |
1874 kOsCrOS, | |
1875 SINGLE_VALUE_TYPE(chromeos::switches::kDisableIMEModeIndicator) | |
1876 }, | |
1877 #endif | |
1878 #if defined(OS_MACOSX) | 1869 #if defined(OS_MACOSX) |
1879 { | 1870 { |
1880 "enable-translate-new-ux", | 1871 "enable-translate-new-ux", |
1881 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_NAME, | 1872 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_NAME, |
1882 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_DESCRIPTION, | 1873 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_DESCRIPTION, |
1883 kOsMac, | 1874 kOsMac, |
1884 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX) | 1875 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX) |
1885 }, | 1876 }, |
1886 #endif | 1877 #endif |
1887 #if defined(TOOLKIT_VIEWS) | 1878 #if defined(TOOLKIT_VIEWS) |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2520 } | 2511 } |
2521 | 2512 |
2522 const Experiment* GetExperiments(size_t* count) { | 2513 const Experiment* GetExperiments(size_t* count) { |
2523 *count = num_experiments; | 2514 *count = num_experiments; |
2524 return experiments; | 2515 return experiments; |
2525 } | 2516 } |
2526 | 2517 |
2527 } // namespace testing | 2518 } // namespace testing |
2528 | 2519 |
2529 } // namespace about_flags | 2520 } // namespace about_flags |
OLD | NEW |