Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2284583002: [Android] Add AndroidSpellChecker feature to allow for gradual rollout using finch. (Closed)
Patch Set: fix compile Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "components/ntp_snippets/features.h" 47 #include "components/ntp_snippets/features.h"
48 #include "components/ntp_snippets/ntp_snippets_constants.h" 48 #include "components/ntp_snippets/ntp_snippets_constants.h"
49 #include "components/ntp_tiles/switches.h" 49 #include "components/ntp_tiles/switches.h"
50 #include "components/offline_pages/offline_page_feature.h" 50 #include "components/offline_pages/offline_page_feature.h"
51 #include "components/omnibox/browser/omnibox_switches.h" 51 #include "components/omnibox/browser/omnibox_switches.h"
52 #include "components/password_manager/core/common/password_manager_features.h" 52 #include "components/password_manager/core/common/password_manager_features.h"
53 #include "components/proximity_auth/switches.h" 53 #include "components/proximity_auth/switches.h"
54 #include "components/search/search_switches.h" 54 #include "components/search/search_switches.h"
55 #include "components/security_state/switches.h" 55 #include "components/security_state/switches.h"
56 #include "components/signin/core/common/signin_switches.h" 56 #include "components/signin/core/common/signin_switches.h"
57 #include "components/spellcheck/common/spellcheck_features.h"
57 #include "components/spellcheck/common/spellcheck_switches.h" 58 #include "components/spellcheck/common/spellcheck_switches.h"
58 #include "components/ssl_config/ssl_config_switches.h" 59 #include "components/ssl_config/ssl_config_switches.h"
59 #include "components/strings/grit/components_strings.h" 60 #include "components/strings/grit/components_strings.h"
60 #include "components/sync/driver/sync_driver_switches.h" 61 #include "components/sync/driver/sync_driver_switches.h"
61 #include "components/tracing/common/tracing_switches.h" 62 #include "components/tracing/common/tracing_switches.h"
62 #include "components/translate/core/browser/translate_manager.h" 63 #include "components/translate/core/browser/translate_manager.h"
63 #include "components/translate/core/browser/translate_prefs.h" 64 #include "components/translate/core/browser/translate_prefs.h"
64 #include "components/version_info/version_info.h" 65 #include "components/version_info/version_info.h"
65 #include "content/public/browser/user_metrics.h" 66 #include "content/public/browser/user_metrics.h"
66 #include "content/public/common/content_features.h" 67 #include "content/public/common/content_features.h"
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 {"enable-devtools-experiments", IDS_FLAGS_DEVTOOLS_EXPERIMENTS_NAME, 829 {"enable-devtools-experiments", IDS_FLAGS_DEVTOOLS_EXPERIMENTS_NAME,
829 IDS_FLAGS_DEVTOOLS_EXPERIMENTS_DESCRIPTION, kOsDesktop, 830 IDS_FLAGS_DEVTOOLS_EXPERIMENTS_DESCRIPTION, kOsDesktop,
830 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)}, 831 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)},
831 {"silent-debugger-extension-api", 832 {"silent-debugger-extension-api",
832 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, 833 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME,
833 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, kOsDesktop, 834 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, kOsDesktop,
834 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)}, 835 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)},
835 #if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID) 836 #if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
836 {"enable-android-spellchecker", IDS_OPTIONS_ENABLE_SPELLCHECK, 837 {"enable-android-spellchecker", IDS_OPTIONS_ENABLE_SPELLCHECK,
837 IDS_OPTIONS_ENABLE_ANDROID_SPELLCHECKER_DESCRIPTION, kOsAndroid, 838 IDS_OPTIONS_ENABLE_ANDROID_SPELLCHECKER_DESCRIPTION, kOsAndroid,
838 SINGLE_VALUE_TYPE(spellcheck::switches::kEnableAndroidSpellChecker)}, 839 FEATURE_VALUE_TYPE(spellcheck::kAndroidSpellChecker)},
839 #endif 840 #endif
840 {"enable-scroll-prediction", IDS_FLAGS_SCROLL_PREDICTION_NAME, 841 {"enable-scroll-prediction", IDS_FLAGS_SCROLL_PREDICTION_NAME,
841 IDS_FLAGS_SCROLL_PREDICTION_DESCRIPTION, kOsDesktop, 842 IDS_FLAGS_SCROLL_PREDICTION_DESCRIPTION, kOsDesktop,
842 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)}, 843 SINGLE_VALUE_TYPE(switches::kEnableScrollPrediction)},
843 {"top-chrome-md", IDS_FLAGS_TOP_CHROME_MD, 844 {"top-chrome-md", IDS_FLAGS_TOP_CHROME_MD,
844 IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION, kOsDesktop, 845 IDS_FLAGS_TOP_CHROME_MD_DESCRIPTION, kOsDesktop,
845 MULTI_VALUE_TYPE(kTopChromeMaterialDesignChoices)}, 846 MULTI_VALUE_TYPE(kTopChromeMaterialDesignChoices)},
846 {"secondary-ui-md", IDS_FLAGS_SECONDARY_UI_MD, 847 {"secondary-ui-md", IDS_FLAGS_SECONDARY_UI_MD,
847 IDS_FLAGS_SECONDARY_UI_MD_DESCRIPTION, kOsDesktop, 848 IDS_FLAGS_SECONDARY_UI_MD_DESCRIPTION, kOsDesktop,
848 SINGLE_VALUE_TYPE(switches::kExtendMdToSecondaryUi)}, 849 SINGLE_VALUE_TYPE(switches::kExtendMdToSecondaryUi)},
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
2225 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2226 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2226 2227
2227 const FeatureEntry* GetFeatureEntries(size_t* count) { 2228 const FeatureEntry* GetFeatureEntries(size_t* count) {
2228 *count = arraysize(kFeatureEntries); 2229 *count = arraysize(kFeatureEntries);
2229 return kFeatureEntries; 2230 return kFeatureEntries;
2230 } 2231 }
2231 2232
2232 } // namespace testing 2233 } // namespace testing
2233 2234
2234 } // namespace about_flags 2235 } // namespace about_flags
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698