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

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

Issue 1771173002: Implement input.ime.sendKeyEvents API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failure. Created 4 years, 9 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_text_input_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/dummy_text_input_client.h
diff --git a/ui/base/ime/dummy_text_input_client.h b/ui/base/ime/dummy_text_input_client.h
index 3c5178215db3d9fdc9f80d69e14b7082cb79953b..a1779939e4420c0ed6615b1330a93c6ec7298f8e 100644
--- a/ui/base/ime/dummy_text_input_client.h
+++ b/ui/base/ime/dummy_text_input_client.h
@@ -49,9 +49,16 @@ class DummyTextInputClient : public TextInputClient {
bool IsEditCommandEnabled(int command_id) override;
void SetEditCommandForNextKeyEvent(int command_id) override;
+ int insert_char_count() const { return insert_char_count_; }
+ base::char16 last_insert_char() const { return last_insert_char_; }
+
TextInputType text_input_type_;
DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient);
+
+ private:
+ int insert_char_count_;
+ base::char16 last_insert_char_;
};
} // namespace ui
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_input_context_handler.cc ('k') | ui/base/ime/dummy_text_input_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698