| 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // that |util_| is required to initialize |keyboard_|. | 196 // that |util_| is required to initialize |keyboard_|. |
| 197 InputMethodUtil util_; | 197 InputMethodUtil util_; |
| 198 | 198 |
| 199 // An object which provides component extension ime management functions. | 199 // An object which provides component extension ime management functions. |
| 200 scoped_ptr<ComponentExtensionIMEManager> component_extension_ime_manager_; | 200 scoped_ptr<ComponentExtensionIMEManager> component_extension_ime_manager_; |
| 201 | 201 |
| 202 // An object for switching XKB layouts and keyboard status like caps lock and | 202 // An object for switching XKB layouts and keyboard status like caps lock and |
| 203 // auto-repeat interval. | 203 // auto-repeat interval. |
| 204 scoped_ptr<ImeKeyboard> keyboard_; | 204 scoped_ptr<ImeKeyboard> keyboard_; |
| 205 | 205 |
| 206 base::ThreadChecker thread_checker_; | |
| 207 | |
| 208 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; | |
| 209 | |
| 210 // The engine map from extension_id to an engine. | 206 // The engine map from extension_id to an engine. |
| 211 std::map<std::string, InputMethodEngineInterface*> engine_map_; | 207 std::map<std::string, InputMethodEngineInterface*> engine_map_; |
| 212 | 208 |
| 213 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 209 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
| 214 }; | 210 }; |
| 215 | 211 |
| 216 } // namespace input_method | 212 } // namespace input_method |
| 217 } // namespace chromeos | 213 } // namespace chromeos |
| 218 | 214 |
| 219 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 215 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
| OLD | NEW |