summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/keyboard.h
blob: a13cac4adf2c8ea0f755115489d4b8004b13600a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_KEYBOARD_KEYBOARD_H_
#define UI_KEYBOARD_KEYBOARD_H_

#include "ui/keyboard/keyboard_export.h"

namespace keyboard {

// Initializes the keyboard module. This includes adding the necessary pak files
// for loading resources used in for the virtual keyboard. This becomes a no-op
// after the first call.
KEYBOARD_EXPORT void InitializeKeyboard();
KEYBOARD_EXPORT void InitializeWebUIBindings();

// Resets the keyboard to an uninitialized state. Required for
// BrowserWithTestWindowTest tests as they tear down the controller factory
// after each test yet resume testing in the same process.
KEYBOARD_EXPORT void ResetKeyboardForTesting();

}  // namespace keyboard

#endif  //  UI_KEYBOARD_KEYBOARD_H_