| Index: chrome/browser/chromeos/input_method/mock_input_method_manager.cc
|
| diff --git a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
|
| index ad18c70f8e4d2b4aea997b970026044400185eff..4b22fd2fa5aa34832ff1a762929708b806419679 100644
|
| --- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
|
| +++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
|
| @@ -11,6 +11,7 @@ MockInputMethodManager::MockInputMethodManager()
|
| : add_observer_count_(0),
|
| remove_observer_count_(0),
|
| util_(&delegate_, whitelist_.GetSupportedInputMethods()) {
|
| + active_input_method_ids_.push_back("xkb:us::eng");
|
| }
|
|
|
| MockInputMethodManager::~MockInputMethodManager() {
|
| @@ -50,6 +51,11 @@ MockInputMethodManager::GetActiveInputMethods() const {
|
| return result.Pass();
|
| }
|
|
|
| +const std::vector<std::string>&
|
| +MockInputMethodManager::GetActiveInputMethodIds() const {
|
| + return active_input_method_ids_;
|
| +}
|
| +
|
| size_t MockInputMethodManager::GetNumActiveInputMethods() const {
|
| return 1;
|
| }
|
| @@ -63,6 +69,11 @@ bool MockInputMethodManager::EnableInputMethods(
|
| return true;
|
| }
|
|
|
| +bool MockInputMethodManager::EnableInputMethod(
|
| + const std::string& new_active_input_method_id) {
|
| + return true;
|
| +}
|
| +
|
| bool MockInputMethodManager::MigrateOldInputMethods(
|
| std::vector<std::string>* input_method_ids) {
|
| return false;
|
| @@ -162,5 +173,10 @@ void MockInputMethodManager::set_hardware_keyboard_layout(
|
| delegate_.set_hardware_keyboard_layout(value);
|
| }
|
|
|
| +bool MockInputMethodManager::IsLanguageFullLatinKeyboard(
|
| + const std::string&) const {
|
| + return true;
|
| +}
|
| +
|
| } // namespace input_method
|
| } // namespace chromeos
|
|
|