| Index: ui/aura/test/aura_test_utils.cc
|
| diff --git a/ui/aura/test/aura_test_utils.cc b/ui/aura/test/aura_test_utils.cc
|
| index e86858a8a72fc05afb9872096b2186403d957759..544c262f058b576f234f253d716802fa0a7ca294 100644
|
| --- a/ui/aura/test/aura_test_utils.cc
|
| +++ b/ui/aura/test/aura_test_utils.cc
|
| @@ -25,6 +25,8 @@ class WindowTreeHostTestApi {
|
| host_->dispatcher_ = std::move(dispatcher);
|
| }
|
|
|
| + void disable_ime() { host_->dispatcher_->set_skip_ime(true); }
|
| +
|
| private:
|
| WindowTreeHost* host_;
|
|
|
| @@ -42,5 +44,9 @@ void SetHostDispatcher(WindowTreeHost* host,
|
| host_test_api.set_dispatcher(std::move(dispatcher));
|
| }
|
|
|
| +void DisableIME(WindowTreeHost* host) {
|
| + WindowTreeHostTestApi(host).disable_ime();
|
| +}
|
| +
|
| } // namespace test
|
| } // namespace aura
|
|
|