function testHideKeyboard(testDoneCallback) {
  onKeyboardReady(function() {
    var key = findKeyById('HideKeyboard');
    mockTap(key);
    chrome.virtualKeyboardPrivate.hideKeyboard.addExpectation();
    chrome.virtualKeyboardPrivate.lockKeyboard.addExpectation(false);
    testDoneCallback();
  });
}
/**
 * Tests that tapping the hide keyboard button hides the keyboard.
 * @param {Function} testDoneCallback The callback function on completion.
 */
Tests that tapping the hide keyboard button hides the keyboard.
@param {Function} testDoneCallback The callback function on completion.
Tests that tapping the hide keyboard button hides the keyboard . @param { Function } testDoneCallback The callback function on completion .
function testHideKeyboard(testDoneCallback) {
  onKeyboardReady(function() {
    var key = findKeyById('HideKeyboard');
    mockTap(key);
    chrome.virtualKeyboardPrivate.hideKeyboard.addExpectation();
    chrome.virtualKeyboardPrivate.lockKeyboard.addExpectation(false);
    testDoneCallback();
  });
}
function testHideKeyboard ( testDoneCallback ) { onKeyboardReady ( function ( ) { var key = findKeyById ( 'HideKeyboard' ) ; mockTap ( key ) ; chrome . virtualKeyboardPrivate . hideKeyboard . addExpectation ( ) ; chrome . virtualKeyboardPrivate . lockKeyboard . addExpectation ( false ) ; testDoneCallback ( ) ; } ) ; }
Tests that tapping the hide keyboard button hides the keyboard.
Tests that tapping the hide keyboard button hides the keyboard .