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

Unified Diff: chrome/test/data/extensions/api_test/input_method/background.js

Issue 1552743003: Add chrome.inputMethodPrivate.onImeMenuActivationChanged API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with master Created 4 years, 11 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: chrome/test/data/extensions/api_test/input_method/background.js
diff --git a/chrome/test/data/extensions/api_test/input_method/background.js b/chrome/test/data/extensions/api_test/input_method/background.js
index ccfc67e14f687515b88846cbc9acbf1c35a67abe..2a04b82758796ad53c1f81d423806cecd1da46fd 100644
--- a/chrome/test/data/extensions/api_test/input_method/background.js
+++ b/chrome/test/data/extensions/api_test/input_method/background.js
@@ -192,8 +192,15 @@ function dictionaryChangedTest() {
});
}
+function imeMenuConfigTest() {
+ chrome.inputMethodPrivate.getInputMethodConfig(function(config) {
+ chrome.test.assertTrue(config["isImeMenuActivated"]);
+ chrome.test.succeed();
+ });
stevenjb 2016/01/20 18:33:43 This tests the initial state, but not the event. S
Azure Wei 2016/01/21 10:25:07 imeMenuActivationChangedTest() is added to test th
+}
+
chrome.test.sendMessage('ready');
chrome.test.runTests(
[initTests, setTest, getTest, observeTest, setInvalidTest, getListTest,
loadDictionaryAsyncTest, fetchDictionaryTest, addWordToDictionaryTest,
- dictionaryChangedTest]);
+ ictionaryChangedTest, imeMenuConfigTest]);
stevenjb 2016/01/20 18:33:43 'd' missing at beginning of line. (Did this succee
Azure Wei 2016/01/21 10:25:07 Sorry about the mistake.

Powered by Google App Engine
This is Rietveld 408576698