Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(933)

Side by Side Diff: ui/keyboard/keyboard.h

Issue 1130753004: virtual keyboard: It is not longer necessary to 'reset' for tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | ui/keyboard/keyboard.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_KEYBOARD_KEYBOARD_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_H_
6 #define UI_KEYBOARD_KEYBOARD_H_ 6 #define UI_KEYBOARD_KEYBOARD_H_
7 7
8 #include "ui/keyboard/keyboard_export.h" 8 #include "ui/keyboard/keyboard_export.h"
9 9
10 namespace keyboard { 10 namespace keyboard {
11 11
12 // Initializes the keyboard module. This includes adding the necessary pak files 12 // Initializes the keyboard module. This includes adding the necessary pak files
13 // for loading resources used in for the virtual keyboard. This becomes a no-op 13 // for loading resources used in for the virtual keyboard. This becomes a no-op
14 // after the first call. 14 // after the first call.
15 KEYBOARD_EXPORT void InitializeKeyboard(); 15 KEYBOARD_EXPORT void InitializeKeyboard();
16 16
17 // Resets the keyboard to an uninitialized state. Required for
18 // BrowserWithTestWindowTest tests as they tear down the controller factory
19 // after each test yet resume testing in the same process.
20 KEYBOARD_EXPORT void ResetKeyboardForTesting();
21
22 } // namespace keyboard 17 } // namespace keyboard
23 18
24 #endif // UI_KEYBOARD_KEYBOARD_H_ 19 #endif // UI_KEYBOARD_KEYBOARD_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | ui/keyboard/keyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698