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