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

Unified Diff: ui/base/ime/mock_input_method.h

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/input_method_base.cc ('k') | ui/base/ime/mock_input_method.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/mock_input_method.h
diff --git a/ui/base/ime/mock_input_method.h b/ui/base/ime/mock_input_method.h
index 96d2c47f3444bca616b4868f9aabc61443a3ca14..2694bbf582c6fcc5c246a4ab38399b50e3daa6b5 100644
--- a/ui/base/ime/mock_input_method.h
+++ b/ui/base/ime/mock_input_method.h
@@ -54,10 +54,16 @@ class UI_BASE_IME_EXPORT MockInputMethod
void RemoveObserver(InputMethodObserver* observer) override;
private:
+ // InputMethod:
+ const std::vector<std::unique_ptr<ui::KeyEvent>>& GetKeyEventsForTesting()
+ override;
+
TextInputClient* text_input_client_;
base::ObserverList<InputMethodObserver> observer_list_;
internal::InputMethodDelegate* delegate_;
+ std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_;
+
DISALLOW_COPY_AND_ASSIGN(MockInputMethod);
};
« no previous file with comments | « ui/base/ime/input_method_base.cc ('k') | ui/base/ime/mock_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698