OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_H_ | 5 #ifndef UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ |
6 #define UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ | 6 #define UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include <memory> |
10 #include <set> | 11 #include <set> |
11 #include <string> | 12 #include <string> |
12 | 13 |
13 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "ui/base/ime/chromeos/character_composer.h" | 17 #include "ui/base/ime/chromeos/character_composer.h" |
18 #include "ui/base/ime/composition_text.h" | 18 #include "ui/base/ime/composition_text.h" |
19 #include "ui/base/ime/ime_input_context_handler_interface.h" | 19 #include "ui/base/ime/ime_input_context_handler_interface.h" |
20 #include "ui/base/ime/input_method_base.h" | 20 #include "ui/base/ime/input_method_base.h" |
21 | 21 |
22 namespace ui { | 22 namespace ui { |
23 | 23 |
24 // A ui::InputMethod implementation based on IBus. | 24 // A ui::InputMethod implementation based on IBus. |
25 class UI_BASE_IME_EXPORT InputMethodChromeOS : public InputMethodBase { | 25 class UI_BASE_IME_EXPORT InputMethodChromeOS : public InputMethodBase { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 // Used for making callbacks. | 140 // Used for making callbacks. |
141 base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_; | 141 base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_; |
142 | 142 |
143 DISALLOW_COPY_AND_ASSIGN(InputMethodChromeOS); | 143 DISALLOW_COPY_AND_ASSIGN(InputMethodChromeOS); |
144 }; | 144 }; |
145 | 145 |
146 } // namespace ui | 146 } // namespace ui |
147 | 147 |
148 #endif // UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ | 148 #endif // UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ |
OLD | NEW |