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

Side by Side Diff: chrome/test/data/extensions/api_test/input_method/basic/background.js

Issue 1552743003: Add chrome.inputMethodPrivate.onImeMenuActivationChanged API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var kNewInputMethodTemplate = '_comp_ime_{EXT_ID}xkb:fr::fra'; 5 var kNewInputMethodTemplate = '_comp_ime_{EXT_ID}xkb:fr::fra';
6 var kInitialInputMethodRegex = /_comp_ime_([a-z]{32})xkb:us::eng/; 6 var kInitialInputMethodRegex = /_comp_ime_([a-z]{32})xkb:us::eng/;
7 var kInvalidInputMethod = 'xx::xxx'; 7 var kInvalidInputMethod = 'xx::xxx';
8 8
9 var testParams = { 9 var testParams = {
10 initialInputMethod: '', 10 initialInputMethod: '',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 .then(function() { 190 .then(function() {
191 return getAddPromise(wordToAdd); 191 return getAddPromise(wordToAdd);
192 }); 192 });
193 } 193 }
194 194
195 chrome.test.sendMessage('ready'); 195 chrome.test.sendMessage('ready');
196 chrome.test.runTests( 196 chrome.test.runTests(
197 [initTests, setTest, getTest, observeTest, setInvalidTest, getListTest, 197 [initTests, setTest, getTest, observeTest, setInvalidTest, getListTest,
198 loadDictionaryAsyncTest, fetchDictionaryTest, addWordToDictionaryTest, 198 loadDictionaryAsyncTest, fetchDictionaryTest, addWordToDictionaryTest,
199 dictionaryChangedTest]); 199 dictionaryChangedTest]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698