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

Unified Diff: chrome/browser/gtk/options/languages_page_gtk.cc

Issue 395007: Move Mac to using renderer spellchecker. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: ui test fix Created 11 years, 1 month 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/gtk/browser_actions_toolbar_gtk.cc ('k') | chrome/browser/profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/languages_page_gtk.cc
===================================================================
--- chrome/browser/gtk/options/languages_page_gtk.cc (revision 32394)
+++ chrome/browser/gtk/options/languages_page_gtk.cc (working copy)
@@ -13,10 +13,10 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/language_combobox_model.h"
#include "chrome/browser/language_order_table_model.h"
-#include "chrome/browser/spellchecker.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/gtk_util.h"
#include "chrome/common/pref_names.h"
+#include "chrome/common/spellcheck_common.h"
#include "grit/generated_resources.h"
namespace {
@@ -246,7 +246,7 @@
}
std::vector<std::string> spell_check_languages;
- SpellChecker::SpellCheckLanguages(&spell_check_languages);
+ SpellCheckCommon::SpellCheckLanguages(&spell_check_languages);
dictionary_language_model_.reset(new LanguageComboboxModel(profile(),
spell_check_languages));
dictionary_language_combobox_ = NewComboboxFromModel(
@@ -330,7 +330,7 @@
const std::string& lang_region = WideToASCII(
dictionary_language_.GetValue());
dictionary_language_.SetValue(ASCIIToWide(
- SpellChecker::GetLanguageFromLanguageRegion(lang_region)));
+ SpellCheckCommon::GetLanguageFromLanguageRegion(lang_region)));
index = dictionary_language_model_->GetSelectedLanguageIndex(
prefs::kSpellCheckDictionary);
}
« no previous file with comments | « chrome/browser/gtk/browser_actions_toolbar_gtk.cc ('k') | chrome/browser/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698