| 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 "ui/base/ime/chromeos/mock_input_method_manager.h" | 5 #include "ui/base/ime/chromeos/mock_input_method_manager.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 namespace chromeos { | 9 namespace chromeos { |
| 10 namespace input_method { | 10 namespace input_method { |
| 11 | |
| 12 MockInputMethodManager::State::State() {} | 11 MockInputMethodManager::State::State() {} |
| 13 | 12 |
| 14 scoped_refptr<InputMethodManager::State> MockInputMethodManager::State::Clone() | |
| 15 const { | |
| 16 return nullptr; | |
| 17 } | |
| 18 | |
| 19 void MockInputMethodManager::State::AddInputMethodExtension( | 13 void MockInputMethodManager::State::AddInputMethodExtension( |
| 20 const std::string& extension_id, | 14 const std::string& extension_id, |
| 21 const InputMethodDescriptors& descriptors, | 15 const InputMethodDescriptors& descriptors, |
| 22 ui::IMEEngineHandlerInterface* instance) {} | 16 ui::IMEEngineHandlerInterface* instance) {} |
| 23 | 17 |
| 24 void MockInputMethodManager::State::RemoveInputMethodExtension( | 18 void MockInputMethodManager::State::RemoveInputMethodExtension( |
| 25 const std::string& extension_id) {} | 19 const std::string& extension_id) {} |
| 26 | 20 |
| 27 void MockInputMethodManager::State::ChangeInputMethod( | 21 void MockInputMethodManager::State::ChangeInputMethod( |
| 28 const std::string& input_method_id, | 22 const std::string& input_method_id, |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 191 |
| 198 void MockInputMethodManager::OverrideKeyboardUrlRef(const std::string& keyset) { | 192 void MockInputMethodManager::OverrideKeyboardUrlRef(const std::string& keyset) { |
| 199 } | 193 } |
| 200 | 194 |
| 201 bool MockInputMethodManager::IsEmojiHandwritingVoiceOnImeMenuEnabled() { | 195 bool MockInputMethodManager::IsEmojiHandwritingVoiceOnImeMenuEnabled() { |
| 202 return true; | 196 return true; |
| 203 } | 197 } |
| 204 | 198 |
| 205 } // namespace input_method | 199 } // namespace input_method |
| 206 } // namespace chromeos | 200 } // namespace chromeos |
| OLD | NEW |