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

Unified Diff: ui/base/ime/dummy_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/chromeos/mock_ime_input_context_handler.cc ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/dummy_input_method.h
diff --git a/ui/base/ime/dummy_input_method.h b/ui/base/ime/dummy_input_method.h
index 26e888a44118c6f4366ccb79dcf4988f8caeb4d6..f3c6afc88e3c76ef714b32083657a064ee1ff018 100644
--- a/ui/base/ime/dummy_input_method.h
+++ b/ui/base/ime/dummy_input_method.h
@@ -42,7 +42,11 @@ class DummyInputMethod : public InputMethod {
void AddObserver(InputMethodObserver* observer) override;
void RemoveObserver(InputMethodObserver* observer) override;
+ const std::vector<std::unique_ptr<KeyEvent>>& GetKeyEventsForTesting()
+ override;
+
private:
+ std::vector<std::unique_ptr<KeyEvent>> key_events_for_testing_;
DISALLOW_COPY_AND_ASSIGN(DummyInputMethod);
};
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_input_context_handler.cc ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698