2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
8 * Tests that tapping the hide keyboard button hides the keyboard.
9 * @param {Function} testDoneCallback The callback function on completion.
11 function testHideKeyboard(testDoneCallback
) {
12 onKeyboardReady(function() {
13 var key
= findKeyById('HideKeyboard');
15 chrome
.virtualKeyboardPrivate
.hideKeyboard
.addExpectation();
16 chrome
.virtualKeyboardPrivate
.lockKeyboard
.addExpectation(false);