Index: chrome/test/data/extensions/api_test/input_ime_nonchromeos/background.js |
diff --git a/chrome/test/data/extensions/api_test/input_ime_nonchromeos/background.js b/chrome/test/data/extensions/api_test/input_ime_nonchromeos/background.js |
index e3ba1d6ef705d8e9be9ab6a54bcafca377c8e80e..d007bc68105ba5945bff9f498e52549d44355007 100644 |
--- a/chrome/test/data/extensions/api_test/input_ime_nonchromeos/background.js |
+++ b/chrome/test/data/extensions/api_test/input_ime_nonchromeos/background.js |
@@ -52,5 +52,23 @@ chrome.test.runTests([ |
win.addEventListener('unload', function() {}); |
chrome.test.succeed(); |
}); |
+ }, |
+ |
+ function testSendKeyEvents() { |
+ chrome.input.ime.sendKeyEvents({ |
+ 'contextID': 1, |
+ 'keyData': [{ |
+ 'type': 'keydown', |
+ 'requestId': '0', |
+ 'key': 'a', |
+ 'code': 'KeyA' |
+ }, { |
+ 'type': 'keyup', |
+ 'requestId': '1', |
+ 'key': 'a', |
+ 'code': 'KeyA' |
+ }] |
+ }); |
+ chrome.test.succeed(); |
} |
]); |