OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" | 5 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 namespace input_method { | 8 namespace input_method { |
9 | 9 |
10 MockInputMethodManager::MockInputMethodManager() | 10 MockInputMethodManager::MockInputMethodManager() |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool MockInputMethodManager::EnableInputMethods( | 61 bool MockInputMethodManager::EnableInputMethods( |
62 const std::vector<std::string>& new_active_input_method_ids) { | 62 const std::vector<std::string>& new_active_input_method_ids) { |
63 return true; | 63 return true; |
64 } | 64 } |
65 | 65 |
66 bool MockInputMethodManager::MigrateOldInputMethods( | 66 bool MockInputMethodManager::MigrateOldInputMethods( |
67 std::vector<std::string>* input_method_ids) { | 67 std::vector<std::string>* input_method_ids) { |
68 return false; | 68 return false; |
69 } | 69 } |
70 | 70 |
| 71 bool MockInputMethodManager::MigrateKoreanKeyboard( |
| 72 const std::string& keyboard_id, |
| 73 std::vector<std::string>* input_method_ids) { |
| 74 return false; |
| 75 } |
| 76 |
71 bool MockInputMethodManager::SetInputMethodConfig( | 77 bool MockInputMethodManager::SetInputMethodConfig( |
72 const std::string& section, | 78 const std::string& section, |
73 const std::string& config_name, | 79 const std::string& config_name, |
74 const InputMethodConfigValue& value) { | 80 const InputMethodConfigValue& value) { |
75 return true; | 81 return true; |
76 } | 82 } |
77 | 83 |
78 void MockInputMethodManager::ChangeInputMethod( | 84 void MockInputMethodManager::ChangeInputMethod( |
79 const std::string& input_method_id) { | 85 const std::string& input_method_id) { |
80 } | 86 } |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 delegate_.set_active_locale(value); | 157 delegate_.set_active_locale(value); |
152 } | 158 } |
153 | 159 |
154 void MockInputMethodManager::set_hardware_keyboard_layout( | 160 void MockInputMethodManager::set_hardware_keyboard_layout( |
155 const std::string& value) { | 161 const std::string& value) { |
156 delegate_.set_hardware_keyboard_layout(value); | 162 delegate_.set_hardware_keyboard_layout(value); |
157 } | 163 } |
158 | 164 |
159 } // namespace input_method | 165 } // namespace input_method |
160 } // namespace chromeos | 166 } // namespace chromeos |
OLD | NEW |