| 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 d7bdc87dbaf80c1694ec16c057ec21e0304bad80..7a1facd24cccd1a8cfdd8f073db49f68951135dc 100644
|
| --- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
|
| +++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
|
| @@ -12,7 +12,7 @@ MockInputMethodManager::MockInputMethodManager()
|
| remove_observer_count_(0),
|
| set_state_count_(0),
|
| last_state_(STATE_TERMINATING),
|
| - util_(whitelist_.GetSupportedInputMethods()) {
|
| + util_(&delegate_, whitelist_.GetSupportedInputMethods()) {
|
| }
|
|
|
| MockInputMethodManager::~MockInputMethodManager() {
|
| @@ -143,5 +143,14 @@ InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() {
|
| return &util_;
|
| }
|
|
|
| +void MockInputMethodManager::set_application_locale(const std::string& value) {
|
| + delegate_.set_active_locale(value);
|
| +}
|
| +
|
| +void MockInputMethodManager::set_hardware_keyboard_layout(
|
| + const std::string& value) {
|
| + delegate_.set_hardware_keyboard_layout(value);
|
| +}
|
| +
|
| } // namespace input_method
|
| } // namespace chromeos
|
|
|