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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 60 virtual const InputMethodDescriptor* GetInputMethodFromId( |
61 const std::string& input_method_id) const OVERRIDE; | 61 const std::string& input_method_id) const OVERRIDE; |
62 virtual void EnableLoginLayouts(const std::string& language_code, | 62 virtual void EnableLoginLayouts( |
63 const std::string& initial_layout) OVERRIDE; | 63 const std::string& language_code, |
| 64 const std::vector<std::string>& initial_layouts) OVERRIDE; |
64 virtual bool EnableInputMethods( | 65 virtual bool EnableInputMethods( |
65 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; | 66 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; |
66 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) | 67 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) |
67 OVERRIDE; | 68 OVERRIDE; |
68 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; | 69 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; |
69 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; | 70 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; |
70 virtual void AddInputMethodExtension( | 71 virtual void AddInputMethodExtension( |
71 const std::string& id, | 72 const std::string& id, |
72 InputMethodEngineInterface* instance) OVERRIDE; | 73 InputMethodEngineInterface* instance) OVERRIDE; |
73 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; | 74 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 217 |
217 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; | 218 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; |
218 | 219 |
219 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 220 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
220 }; | 221 }; |
221 | 222 |
222 } // namespace input_method | 223 } // namespace input_method |
223 } // namespace chromeos | 224 } // namespace chromeos |
224 | 225 |
225 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 226 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
OLD | NEW |