OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ | |
6 #define UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ | |
7 | |
8 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" | |
9 | |
10 namespace chromeos { | |
11 | |
12 class UI_BASE_IME_EXPORT MockComponentExtensionIMEManager | |
13 : public ComponentExtensionIMEManager { | |
14 public: | |
15 input_method::InputMethodDescriptors GetXkbIMEAsInputMethodDescriptor() | |
16 override; | |
17 }; | |
18 | |
19 input_method::InputMethodDescriptors | |
20 MockComponentExtensionIMEManager::GetXkbIMEAsInputMethodDescriptor() { | |
xiyuan
2017/04/27 23:29:47
put this in a cc file or inline it as in previous
kumarniranjan
2017/04/28 16:48:10
Once I made ComponentExtensionIMEManager::GetXkbIM
| |
21 return input_method::InputMethodDescriptors(); | |
22 } | |
23 | |
24 } // namespace chromeos | |
25 | |
26 #endif // UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ | |
OLD | NEW |