| 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 <iterator> | 7 #include <iterator> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, | 804 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, |
| 805 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, | 805 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, |
| 806 kOsDesktop, | 806 kOsDesktop, |
| 807 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)}, | 807 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)}, |
| 808 {"silent-debugger-extension-api", | 808 {"silent-debugger-extension-api", |
| 809 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, | 809 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, |
| 810 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, | 810 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, |
| 811 kOsDesktop, | 811 kOsDesktop, |
| 812 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)}, | 812 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)}, |
| 813 #if defined(ENABLE_SPELLCHECK) | 813 #if defined(ENABLE_SPELLCHECK) |
| 814 #if defined(OS_ANDROID) |
| 815 {"enable-android-spellchecker", |
| 816 IDS_OPTIONS_ENABLE_SPELLCHECK, |
| 817 IDS_OPTIONS_ENABLE_ANDROID_SPELLCHECKER_DESCRIPTION, |
| 818 kOsAndroid, |
| 819 SINGLE_VALUE_TYPE(switches::kEnableAndroidSpellChecker)}, |
| 820 #endif |
| 814 {"spellcheck-autocorrect", | 821 {"spellcheck-autocorrect", |
| 815 IDS_FLAGS_SPELLCHECK_AUTOCORRECT, | 822 IDS_FLAGS_SPELLCHECK_AUTOCORRECT, |
| 816 IDS_FLAGS_SPELLCHECK_AUTOCORRECT_DESCRIPTION, | 823 IDS_FLAGS_SPELLCHECK_AUTOCORRECT_DESCRIPTION, |
| 817 kOsWin | kOsLinux | kOsCrOS, | 824 kOsWin | kOsLinux | kOsCrOS, |
| 818 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)}, | 825 SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)}, |
| 819 #endif | 826 #endif |
| 820 #if defined(ENABLE_SPELLCHECK) && \ | 827 #if defined(ENABLE_SPELLCHECK) && \ |
| 821 (defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS)) | 828 (defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS)) |
| 822 {"enable-multilingual-spellchecker", | 829 {"enable-multilingual-spellchecker", |
| 823 IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_NAME, | 830 IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_NAME, |
| (...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2662 } | 2669 } |
| 2663 | 2670 |
| 2664 const Experiment* GetExperiments(size_t* count) { | 2671 const Experiment* GetExperiments(size_t* count) { |
| 2665 *count = num_experiments; | 2672 *count = num_experiments; |
| 2666 return experiments; | 2673 return experiments; |
| 2667 } | 2674 } |
| 2668 | 2675 |
| 2669 } // namespace testing | 2676 } // namespace testing |
| 2670 | 2677 |
| 2671 } // namespace about_flags | 2678 } // namespace about_flags |
| OLD | NEW |