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

Unified Diff: ui/base/ime/mock_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/mock_input_method.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/mock_input_method.cc
diff --git a/ui/base/ime/mock_input_method.cc b/ui/base/ime/mock_input_method.cc
index f2cf8ebc67f5c4a29848e5740006f573c640027d..eede3d4ede95ab1687b7b8a67d2734dffdd855b6 100644
--- a/ui/base/ime/mock_input_method.cc
+++ b/ui/base/ime/mock_input_method.cc
@@ -116,4 +116,9 @@ void MockInputMethod::RemoveObserver(InputMethodObserver* observer) {
observer_list_.RemoveObserver(observer);
}
+const std::vector<std::unique_ptr<ui::KeyEvent>>&
+MockInputMethod::GetKeyEventsForTesting() {
+ return key_events_for_testing_;
+}
+
} // namespace ui
« no previous file with comments | « ui/base/ime/mock_input_method.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698