| Index: ui/aura/mus/input_method_mus_unittest.cc
|
| diff --git a/ui/aura/mus/input_method_mus_unittest.cc b/ui/aura/mus/input_method_mus_unittest.cc
|
| index 19bcb38b8cf4f17a03b6c397feefdb83ef9d7ce4..bafcfe4593c1886a6e64eac51daa9315425d4225 100644
|
| --- a/ui/aura/mus/input_method_mus_unittest.cc
|
| +++ b/ui/aura/mus/input_method_mus_unittest.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "services/ui/public/interfaces/ime/ime.mojom.h"
|
| #include "ui/aura/test/aura_test_base.h"
|
| +#include "ui/aura/test/mus/input_method_mus_test_api.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/base/ime/input_method_delegate.h"
|
|
|
| @@ -61,23 +62,6 @@ class TestInputMethod : public ui::mojom::InputMethod {
|
|
|
| using InputMethodMusTest = test::AuraTestBaseMus;
|
|
|
| -class InputMethodMusTestApi {
|
| - public:
|
| - static void SetInputMethod(InputMethodMus* input_method_mus,
|
| - ui::mojom::InputMethod* input_method) {
|
| - input_method_mus->input_method_ = input_method;
|
| - }
|
| - static void CallSendKeyEventToInputMethod(
|
| - InputMethodMus* input_method_mus,
|
| - const ui::KeyEvent& event,
|
| - std::unique_ptr<EventResultCallback> ack_callback) {
|
| - input_method_mus->SendKeyEventToInputMethod(event, std::move(ack_callback));
|
| - }
|
| -
|
| - private:
|
| - DISALLOW_IMPLICIT_CONSTRUCTORS(InputMethodMusTestApi);
|
| -};
|
| -
|
| namespace {
|
|
|
| // Used in closure supplied to processing the event.
|
|
|