| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_BASE_IME_INPUT_METHOD_INITIALIZER_H_ | 5 #ifndef UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_ |
| 6 #define UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_ | 6 #define UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ui/base/ui_export.h" | 9 #include "ui/base/ui_base_export.h" |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 | 12 |
| 13 // Initializes thread-local resources for input method. This function should be | 13 // Initializes thread-local resources for input method. This function should be |
| 14 // called in the UI thread before input method is used. | 14 // called in the UI thread before input method is used. |
| 15 UI_EXPORT void InitializeInputMethod(); | 15 UI_BASE_EXPORT void InitializeInputMethod(); |
| 16 | 16 |
| 17 // Shutdown thread-local resources for input method. This function should be | 17 // Shutdown thread-local resources for input method. This function should be |
| 18 // called in the UI thread after input method is used. | 18 // called in the UI thread after input method is used. |
| 19 UI_EXPORT void ShutdownInputMethod(); | 19 UI_BASE_EXPORT void ShutdownInputMethod(); |
| 20 | 20 |
| 21 // Initializes thread-local resources for input method. This function is | 21 // Initializes thread-local resources for input method. This function is |
| 22 // intended to be called from Setup function of unit tests. | 22 // intended to be called from Setup function of unit tests. |
| 23 UI_EXPORT void InitializeInputMethodForTesting(); | 23 UI_BASE_EXPORT void InitializeInputMethodForTesting(); |
| 24 | 24 |
| 25 // Initializes thread-local resources for input method. This function is | 25 // Initializes thread-local resources for input method. This function is |
| 26 // intended to be called from TearDown function of unit tests. | 26 // intended to be called from TearDown function of unit tests. |
| 27 UI_EXPORT void ShutdownInputMethodForTesting(); | 27 UI_BASE_EXPORT void ShutdownInputMethodForTesting(); |
| 28 | 28 |
| 29 } // namespace ui | 29 } // namespace ui |
| 30 | 30 |
| 31 #endif // UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_ | 31 #endif // UI_BASE_IME_INPUT_METHOD_INITIALIZER_H_ |
| OLD | NEW |