Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / keyboard / keyboard.h
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_KEYBOARD_KEYBOARD_H_
6 #define UI_KEYBOARD_KEYBOARD_H_
7
8 #include "ui/keyboard/keyboard_export.h"
9
10 namespace keyboard {
11
12 // Initializes the keyboard module. This includes adding the necessary pak files
13 // for loading resources used in for the virtual keyboard, and registers
14 // a WebUIControllerFactory for creating a WebUIController necessary for the
15 // virtual keyboard. This becomes a no-op after the first call.
16 KEYBOARD_EXPORT void InitializeKeyboard();
17
18 // Resets the keyboard to an uninitialized state. Required for
19 // BrowserWithTestWindowTest tests as they tear down the controller factory
20 // after each test yet resume testing in the same process.
21 KEYBOARD_EXPORT void ResetKeyboardForTesting();
22
23 }  // namespace keyboard
24
25 #endif  //  UI_KEYBOARD_KEYBOARD_H_