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

Side by Side Diff: chrome/test/data/chromeos/virtual_keyboard/virtual_keyboard_test_base.js

Issue 1311233003: Add chrome.virtualKeyboardPrivate.setHotrodKeyboard API Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 /* 1 /*
2 * Copyright 2013 The Chromium Authors. All rights reserved. 2 * Copyright 2013 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * Set to true while debugging virtual keyboard tests, for verbose debug output. 8 * Set to true while debugging virtual keyboard tests, for verbose debug output.
9 */ 9 */
10 var debugging = false; 10 var debugging = false;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 }); 78 });
79 }; 79 };
80 80
81 var virtualKeyboardPrivateMethods = [ 81 var virtualKeyboardPrivateMethods = [
82 'getKeyboardConfig', 82 'getKeyboardConfig',
83 'hideKeyboard', 83 'hideKeyboard',
84 'insertText', 84 'insertText',
85 'lockKeyboard', 85 'lockKeyboard',
86 'moveCursor', 86 'moveCursor',
87 'sendKeyEvent', 87 'sendKeyEvent',
88 'setMode' 88 'setMode',
89 'setHotrodKeyboard'
89 ]; 90 ];
90 91
91 var inputMethodPrivateMethods = [ 92 var inputMethodPrivateMethods = [
92 'getCurrentInputMethod', 93 'getCurrentInputMethod',
93 'getInputMethods', 94 'getInputMethods',
94 'setCurrentInputMethod' 95 'setCurrentInputMethod'
95 ]; 96 ];
96 97
97 addMocks('chrome.virtualKeyboardPrivate', virtualKeyboardPrivateMethods); 98 addMocks('chrome.virtualKeyboardPrivate', virtualKeyboardPrivateMethods);
98 addMocks('chrome.inputMethodPrivate', inputMethodPrivateMethods); 99 addMocks('chrome.inputMethodPrivate', inputMethodPrivateMethods);
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 assertTrue(!!switchKey, 'Unable to find symbol transition key'); 431 assertTrue(!!switchKey, 'Unable to find symbol transition key');
431 // Switch to symbol keyset. 432 // Switch to symbol keyset.
432 mockTap(switchKey); 433 mockTap(switchKey);
433 } else { 434 } else {
434 var switchKey = findKey('~[<', 'row3'); 435 var switchKey = findKey('~[<', 'row3');
435 assertTrue(!!switchKey, 'Unable to find more transition key'); 436 assertTrue(!!switchKey, 'Unable to find more transition key');
436 // Switch to more keyset. 437 // Switch to more keyset.
437 mockTap(switchKey); 438 mockTap(switchKey);
438 } 439 }
439 } 440 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698