Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: ui/base/ime/dummy_input_method.cc

Issue 2077783002: Make limitations for input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos error. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/ime_input_context_handler_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/ime_input_context_handler_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698