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() { | |
xiyuan
2017/04/27 19:34:22
GetXkbIMEAsInputMethodDescriptor is not virtual so
kumarniranjan
2017/04/27 22:58:59
There are two levels of mocking: one where I creat
| |
16 return input_method::InputMethodDescriptors(); | |
17 } | |
18 }; | |
19 | |
20 } // namespace chromeos | |
21 | |
22 #endif // UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ | |
OLD | NEW |