Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / base / ime / input_method_initializer.h
blob787d7cce3e990d1cf9d6c53ce47e379ed16d4909
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/ime/ui_base_ime_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_IME_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_IME_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_IME_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_IME_EXPORT void ShutdownInputMethodForTesting();
29 } // namespace ui
31 #endif // UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_