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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual void RemoveObserver(InputMethodManager::Observer* observer) OVERRIDE; | 50 virtual void RemoveObserver(InputMethodManager::Observer* observer) OVERRIDE; |
51 virtual void RemoveCandidateWindowObserver( | 51 virtual void RemoveCandidateWindowObserver( |
52 InputMethodManager::CandidateWindowObserver* observer) OVERRIDE; | 52 InputMethodManager::CandidateWindowObserver* observer) OVERRIDE; |
53 virtual scoped_ptr<InputMethodDescriptors> | 53 virtual scoped_ptr<InputMethodDescriptors> |
54 GetSupportedInputMethods() const OVERRIDE; | 54 GetSupportedInputMethods() const OVERRIDE; |
55 virtual scoped_ptr<InputMethodDescriptors> | 55 virtual scoped_ptr<InputMethodDescriptors> |
56 GetActiveInputMethods() const OVERRIDE; | 56 GetActiveInputMethods() const OVERRIDE; |
57 virtual const std::vector<std::string>& GetActiveInputMethodIds() const | 57 virtual const std::vector<std::string>& GetActiveInputMethodIds() const |
58 OVERRIDE; | 58 OVERRIDE; |
59 virtual size_t GetNumActiveInputMethods() const OVERRIDE; | 59 virtual size_t GetNumActiveInputMethods() const OVERRIDE; |
| 60 virtual const InputMethodDescriptor* GetInputMethodFromId( |
| 61 const std::string& input_method_id) const OVERRIDE; |
60 virtual void EnableLayouts(const std::string& language_code, | 62 virtual void EnableLayouts(const std::string& language_code, |
61 const std::string& initial_layout) OVERRIDE; | 63 const std::string& initial_layout) OVERRIDE; |
62 virtual bool EnableInputMethods( | 64 virtual bool EnableInputMethods( |
63 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; | 65 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; |
64 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) | 66 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) |
65 OVERRIDE; | 67 OVERRIDE; |
66 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; | 68 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; |
67 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; | 69 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; |
68 virtual void AddInputMethodExtension( | 70 virtual void AddInputMethodExtension( |
69 const std::string& id, | 71 const std::string& id, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 216 |
215 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; | 217 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; |
216 | 218 |
217 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 219 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
218 }; | 220 }; |
219 | 221 |
220 } // namespace input_method | 222 } // namespace input_method |
221 } // namespace chromeos | 223 } // namespace chromeos |
222 | 224 |
223 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 225 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
OLD | NEW |