diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-29 23:18:57 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-29 23:18:57 +0000 |
commit | c8d4e946b833c90100a52b52d673ab9ede8a511a (patch) | |
tree | 83296d9fac0c57e9c33d2aaa546e14157862283d /chrome/browser/chromeos/preferences.cc | |
parent | 39e11d7770167957024e252ac1a30a54be5179e2 (diff) | |
download | chromium_src-c8d4e946b833c90100a52b52d673ab9ede8a511a.zip chromium_src-c8d4e946b833c90100a52b52d673ab9ede8a511a.tar.gz chromium_src-c8d4e946b833c90100a52b52d673ab9ede8a511a.tar.bz2 |
Move InputMethodLibrary from cros to input_method
Along the way, rename the class to InputMethodManager.
BUG=chromium-os:16238
TEST=input methods work as before on the netbook. chrome works as before on the desktop.
Review URL: http://codereview.chromium.org/7230062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/preferences.cc')
-rw-r--r-- | chrome/browser/chromeos/preferences.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc index 8a4ae82..b2c9e70 100644 --- a/chrome/browser/chromeos/preferences.cc +++ b/chrome/browser/chromeos/preferences.cc @@ -10,9 +10,9 @@ #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library.h" -#include "chrome/browser/chromeos/cros/input_method_library.h" #include "chrome/browser/chromeos/cros/power_library.h" #include "chrome/browser/chromeos/cros/touchpad_library.h" +#include "chrome/browser/chromeos/input_method/input_method_manager.h" #include "chrome/browser/chromeos/input_method/input_method_util.h" #include "chrome/browser/chromeos/input_method/xkeyboard.h" #include "chrome/browser/chromeos/login/login_utils.h" @@ -448,7 +448,7 @@ void Preferences::SetLanguageConfigBoolean(const char* section, input_method::ImeConfigValue config; config.type = input_method::ImeConfigValue::kValueTypeBool; config.bool_value = value; - CrosLibrary::Get()->GetInputMethodLibrary()-> + input_method::InputMethodManager::GetInstance()-> SetImeConfig(section, name, config); } @@ -458,7 +458,7 @@ void Preferences::SetLanguageConfigInteger(const char* section, input_method::ImeConfigValue config; config.type = input_method::ImeConfigValue::kValueTypeInt; config.int_value = value; - CrosLibrary::Get()->GetInputMethodLibrary()-> + input_method::InputMethodManager::GetInstance()-> SetImeConfig(section, name, config); } @@ -468,7 +468,7 @@ void Preferences::SetLanguageConfigString(const char* section, input_method::ImeConfigValue config; config.type = input_method::ImeConfigValue::kValueTypeString; config.string_value = value; - CrosLibrary::Get()->GetInputMethodLibrary()-> + input_method::InputMethodManager::GetInstance()-> SetImeConfig(section, name, config); } @@ -481,7 +481,7 @@ void Preferences::SetLanguageConfigStringList( for (size_t i = 0; i < values.size(); ++i) config.string_list_value.push_back(values[i]); - CrosLibrary::Get()->GetInputMethodLibrary()-> + input_method::InputMethodManager::GetInstance()-> SetImeConfig(section, name, config); } |