OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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. |
| 4 |
| 5 #ifndef UI_BASE_IME_INPUT_METHOD_FACTORY_H_ |
| 6 #define UI_BASE_IME_INPUT_METHOD_FACTORY_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "ui/base/ui_export.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 class InputMethod; |
| 14 |
| 15 namespace internal { |
| 16 class InputMethodDelegate; |
| 17 } // namespace internal |
| 18 |
| 19 // Creates and returns an input method implementation for the platform. Caller |
| 20 // must delete the object. The object does not own |delegate|. |
| 21 UI_EXPORT InputMethod* CreateInputMethod( |
| 22 internal::InputMethodDelegate* delegate); |
| 23 |
| 24 } // namespace ui; |
| 25 |
| 26 #endif // UI_BASE_IME_INPUT_METHOD_FACTORY_H_ |
OLD | NEW |