Index: ui/base/ime/dummy_input_method.cc |
diff --git a/ui/base/ime/dummy_input_method.cc b/ui/base/ime/dummy_input_method.cc |
index 186db86716eb1169a002e3a5c2638650846bbb6b..62c3af0438ad1fb29964fa500ccc67a2170cd0d4 100644 |
--- a/ui/base/ime/dummy_input_method.cc |
+++ b/ui/base/ime/dummy_input_method.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "ui/base/ime/dummy_input_method.h" |
+#include "ui/events/event.h" |
namespace ui { |
@@ -84,4 +85,9 @@ void DummyInputMethod::AddObserver(InputMethodObserver* observer) { |
void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
} |
+const std::vector<std::unique_ptr<KeyEvent>>& |
+DummyInputMethod::GetKeyEventsForTesting() { |
+ return key_events_for_testing_; |
+} |
+ |
} // namespace ui |