OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "ui/base/ime/chromeos/input_method_descriptor.h" | 16 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
17 #include "ui/base/ime/ui_base_ime_export.h" | 17 #include "ui/base/ime/ui_base_ime_export.h" |
18 | 18 |
19 class Profile; | 19 class Profile; |
20 | 20 |
21 namespace ui { | 21 namespace ui { |
22 class Accelerator; | 22 class Accelerator; |
23 class IMEEngineHandlerInterface; | 23 class IMEEngineHandlerInterface; |
24 } // namespace ui | 24 } // namespace ui |
25 | 25 |
26 namespace user_manager { | |
27 class User; | |
28 } // namespace user_manager | |
29 | |
30 namespace chromeos { | 26 namespace chromeos { |
31 class ComponentExtensionIMEManager; | 27 class ComponentExtensionIMEManager; |
32 namespace input_method { | 28 namespace input_method { |
33 class InputMethodUtil; | 29 class InputMethodUtil; |
34 class ImeKeyboard; | 30 class ImeKeyboard; |
35 | 31 |
36 // This class manages input methodshandles. Classes can add themselves as | 32 // This class manages input methodshandles. Classes can add themselves as |
37 // observers. Clients can get an instance of this library class by: | 33 // observers. Clients can get an instance of this library class by: |
38 // InputMethodManager::Get(). | 34 // InputMethodManager::Get(). |
39 class UI_BASE_IME_EXPORT InputMethodManager { | 35 class UI_BASE_IME_EXPORT InputMethodManager { |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 307 |
312 // Returns whether the extra inputs: emoji, handwriting and voice inputs on | 308 // Returns whether the extra inputs: emoji, handwriting and voice inputs on |
313 // opt-in IME menu has been enabled. | 309 // opt-in IME menu has been enabled. |
314 virtual bool IsEmojiHandwritingVoiceOnImeMenuEnabled() = 0; | 310 virtual bool IsEmojiHandwritingVoiceOnImeMenuEnabled() = 0; |
315 }; | 311 }; |
316 | 312 |
317 } // namespace input_method | 313 } // namespace input_method |
318 } // namespace chromeos | 314 } // namespace chromeos |
319 | 315 |
320 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 316 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
OLD | NEW |