summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/keyboard.h
blob: c47cf8cbd2e9b7c120d333b26ee9d2634418357f (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, and registers
// a WebUIControllerFactory for creating a WebUIController necessary for the
// virtual keyboard. This becomes a no-op after the first call.
KEYBOARD_EXPORT void InitializeKeyboard();

// 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_