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

Unified Diff: chrome/browser/views/options/languages_page_view.cc

Issue 260006: [chrome-reviews] Change flag "auto-spell-correct" to "advanced-spellchecker". I will be making... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/languages_page_view.cc
===================================================================
--- chrome/browser/views/options/languages_page_view.cc (revision 27832)
+++ chrome/browser/views/options/languages_page_view.cc (working copy)
@@ -340,7 +340,7 @@
enable_spellchecking_checkbox_ = new views::Checkbox(
l10n_util::GetString(IDS_OPTIONS_ENABLE_SPELLCHECK));
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- if (command_line.HasSwitch(switches::kAutoSpellCorrect)) {
+ if (command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures)) {
enable_autospellcorrect_checkbox_ = new views::Checkbox(
l10n_util::GetString(IDS_OPTIONS_ENABLE_AUTO_SPELL_CORRECTION));
enable_autospellcorrect_checkbox_->set_listener(this);
@@ -361,7 +361,7 @@
layout->StartRow(0, single_column_view_set_id);
layout->AddView(enable_spellchecking_checkbox_);
layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
- if (command_line.HasSwitch(switches::kAutoSpellCorrect)) {
+ if (command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures)) {
layout->StartRow(0, single_column_view_set_id);
layout->AddView(enable_autospellcorrect_checkbox_);
layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
@@ -446,7 +446,7 @@
}
if (!pref_name || *pref_name == prefs::kEnableAutoSpellCorrect) {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- if (command_line.HasSwitch(switches::kAutoSpellCorrect)) {
+ if (command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures)) {
enable_autospellcorrect_checkbox_->SetChecked(
enable_autospellcorrect_.GetValue());
}
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698