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

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: Addressed Devlin's comments. 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
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..0baa88c46c7d76a0f4e9e6c8a67a1d57831716b5 100644
--- a/ui/base/ime/mock_input_method.h
+++ b/ui/base/ime/mock_input_method.h
@@ -54,10 +54,15 @@ class UI_BASE_IME_EXPORT MockInputMethod
void RemoveObserver(InputMethodObserver* observer) override;
private:
+ // InputMethod:
+ const ScopedVector<ui::KeyEvent>& GetKeyEventsForTesting() override;
+
TextInputClient* text_input_client_;
base::ObserverList<InputMethodObserver> observer_list_;
internal::InputMethodDelegate* delegate_;
+ ScopedVector<ui::KeyEvent> key_events_for_testing_;
+
DISALLOW_COPY_AND_ASSIGN(MockInputMethod);
};

Powered by Google App Engine
This is Rietveld 408576698