Index: ui/base/ime/chromeos/mock_component_extension_ime_manager.h |
diff --git a/ui/base/ime/chromeos/mock_component_extension_ime_manager.h b/ui/base/ime/chromeos/mock_component_extension_ime_manager.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..36242be60ef1dd2625e591f2b90bbba536e99df3 |
--- /dev/null |
+++ b/ui/base/ime/chromeos/mock_component_extension_ime_manager.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ |
+#define UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ |
+ |
+#include "ui/base/ime/chromeos/component_extension_ime_manager.h" |
+ |
+namespace chromeos { |
+ |
+class UI_BASE_IME_EXPORT MockComponentExtensionIMEManager |
+ : public ComponentExtensionIMEManager { |
+ public: |
+ input_method::InputMethodDescriptors GetXkbIMEAsInputMethodDescriptor() |
+ override; |
+}; |
+ |
+input_method::InputMethodDescriptors |
+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
|
+ return input_method::InputMethodDescriptors(); |
+} |
+ |
+} // namespace chromeos |
+ |
+#endif // UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_ |