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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // done. | 200 // done. |
201 void MaybeInitializeCandidateWindowController(); | 201 void MaybeInitializeCandidateWindowController(); |
202 | 202 |
203 // Returns Input Method that best matches given id. | 203 // Returns Input Method that best matches given id. |
204 const InputMethodDescriptor* LookupInputMethod( | 204 const InputMethodDescriptor* LookupInputMethod( |
205 const std::string& input_method_id, | 205 const std::string& input_method_id, |
206 StateImpl* state); | 206 StateImpl* state); |
207 | 207 |
208 // Change system input method. | 208 // Change system input method. |
209 void ChangeInputMethodInternal(const InputMethodDescriptor& descriptor, | 209 void ChangeInputMethodInternal(const InputMethodDescriptor& descriptor, |
| 210 Profile* profile, |
210 bool show_message, | 211 bool show_message, |
211 bool notify_menu); | 212 bool notify_menu); |
212 | 213 |
213 // Loads necessary component extensions. | 214 // Loads necessary component extensions. |
214 // TODO(nona): Support dynamical unloading. | 215 // TODO(nona): Support dynamical unloading. |
215 void LoadNecessaryComponentExtensions(StateImpl* state); | 216 void LoadNecessaryComponentExtensions(StateImpl* state); |
216 | 217 |
217 // Starts or stops the system input method framework as needed. | 218 // Starts or stops the system input method framework as needed. |
218 // (after list of enabled input methods has been updated). | 219 // (after list of enabled input methods has been updated). |
219 // If state is active, active input method is updated. | 220 // If state is active, active input method is updated. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // Chinese Pinyin IME. Note "zh-hant-t-i0-pinyin" < "zh-t-i0-pinyin". | 267 // Chinese Pinyin IME. Note "zh-hant-t-i0-pinyin" < "zh-t-i0-pinyin". |
267 std::map<std::string, int> stat_id_map_; | 268 std::map<std::string, int> stat_id_map_; |
268 | 269 |
269 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 270 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
270 }; | 271 }; |
271 | 272 |
272 } // namespace input_method | 273 } // namespace input_method |
273 } // namespace chromeos | 274 } // namespace chromeos |
274 | 275 |
275 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 276 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
OLD | NEW |