Index: chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc |
diff --git a/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc b/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc |
index 31de3d9a49e674b43f0fa9f2e0df6f25b13b2c6e..e1341b94ad77d84897d86c88496d4d1fbb038833 100644 |
--- a/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc |
+++ b/chrome/browser/ui/views/ime/input_ime_apitest_nonchromeos.cc |
@@ -38,6 +38,10 @@ IN_PROC_BROWSER_TEST_F(InputImeApiTest, CreateWindowTest) { |
ASSERT_TRUE(RunExtensionTest("input_ime_nonchromeos")) << message_; |
+ // Test the input.ime.sendKeyEvents API. |
+ ASSERT_EQ(client->insert_char_count(), 1); |
+ ASSERT_EQ(client->last_insert_char(), L'a'); |
+ |
input_method->DetachTextInputClient(client.get()); |
} |