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

Unified Diff: components/spellcheck/common/spellcheck_features.cc

Issue 2636843004: [Android] Enable spellcheck on non low-end devices by default. (Closed)
Patch Set: update histograms.xml Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/common/spellcheck_features.cc
diff --git a/components/spellcheck/common/spellcheck_features.cc b/components/spellcheck/common/spellcheck_features.cc
index f6e8bb31d5fb1030d1cfa7eba00098f02f48dc1d..c3865f7c231e59c65f29137fdb5c555157d8e7d0 100644
--- a/components/spellcheck/common/spellcheck_features.cc
+++ b/components/spellcheck/common/spellcheck_features.cc
@@ -17,16 +17,14 @@ const base::Feature kAndroidSpellChecker{
// Enables/disables Android spellchecker on non low-end Android devices.
const base::Feature kAndroidSpellCheckerNonLowEnd{
- "AndroidSpellCheckerNonLowEnd", base::FEATURE_DISABLED_BY_DEFAULT};
+ "AndroidSpellCheckerNonLowEnd", base::FEATURE_ENABLED_BY_DEFAULT};
bool IsAndroidSpellCheckFeatureEnabled() {
- if (base::FeatureList::IsEnabled(
- spellcheck::kAndroidSpellCheckerNonLowEnd)) {
+ if (base::FeatureList::IsEnabled(spellcheck::kAndroidSpellCheckerNonLowEnd)) {
return !base::SysInfo::IsLowEndDevice();
}
- if (base::FeatureList::IsEnabled(
- spellcheck::kAndroidSpellChecker)) {
+ if (base::FeatureList::IsEnabled(spellcheck::kAndroidSpellChecker)) {
return true;
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698