Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / base / ime / input_method_initializer.h
blob065e53ed8dd095642b2fbc3fddc603969ec091b9
1 // Copyright 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.
5 #ifndef UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_
6 #define UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_
8 #include "base/basictypes.h"
9 #include "ui/base/ui_base_export.h"
11 namespace ui {
13 // Initializes thread-local resources for input method. This function should be
14 // called in the UI thread before input method is used.
15 UI_BASE_EXPORT void InitializeInputMethod();
17 // Shutdown thread-local resources for input method. This function should be
18 // called in the UI thread after input method is used.
19 UI_BASE_EXPORT void ShutdownInputMethod();
21 // Initializes thread-local resources for input method. This function is
22 // intended to be called from Setup function of unit tests.
23 UI_BASE_EXPORT void InitializeInputMethodForTesting();
25 // Initializes thread-local resources for input method. This function is
26 // intended to be called from TearDown function of unit tests.
27 UI_BASE_EXPORT void ShutdownInputMethodForTesting();
29 } // namespace ui
31 #endif // UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_