#ifndef UI_BASE_IME_INIT_INPUT_METHOD_FACTORY_H_
#define UI_BASE_IME_INIT_INPUT_METHOD_FACTORY_H_
#include <memory>
#include "base/component_export.h"
#include "ui/base/ime/init/input_method_initializer.h"
#include "ui/gfx/native_ui_types.h"
namespace ui {
class InputMethod;
class ImeKeyEventDispatcher;
COMPONENT_EXPORT(UI_BASE_IME_INIT)
std::unique_ptr<InputMethod> CreateInputMethod(
ImeKeyEventDispatcher* ime_key_event_dispatcher,
gfx::AcceleratedWidget widget);
COMPONENT_EXPORT(UI_BASE_IME_INIT)
void SetUpInputMethodForTesting(InputMethod* input_method);
class COMPONENT_EXPORT(UI_BASE_IME_INIT) ScopedTestInputMethodFactory {
public:
ScopedTestInputMethodFactory();
ScopedTestInputMethodFactory(const ScopedTestInputMethodFactory&) = delete;
ScopedTestInputMethodFactory& operator=(const ScopedTestInputMethodFactory&) =
delete;
~ScopedTestInputMethodFactory();
};
}
#endif