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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual void EnableLayouts(const std::string& language_code, | 60 virtual void EnableLayouts(const std::string& language_code, |
61 const std::string& initial_layout) OVERRIDE; | 61 const std::string& initial_layout) OVERRIDE; |
62 virtual bool EnableInputMethods( | 62 virtual bool EnableInputMethods( |
63 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; | 63 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; |
64 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) | 64 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) |
65 OVERRIDE; | 65 OVERRIDE; |
66 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; | 66 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; |
67 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; | 67 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; |
68 virtual void AddInputMethodExtension( | 68 virtual void AddInputMethodExtension( |
69 const std::string& id, | 69 const std::string& id, |
70 const std::string& name, | |
71 const std::vector<std::string>& layouts, | |
72 const std::vector<std::string>& languages, | |
73 const GURL& options_page, | |
74 const GURL& input_view, | |
75 InputMethodEngineInterface* instance) OVERRIDE; | 70 InputMethodEngineInterface* instance) OVERRIDE; |
76 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; | 71 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; |
77 virtual void GetInputMethodExtensions( | 72 virtual void GetInputMethodExtensions( |
78 InputMethodDescriptors* result) OVERRIDE; | 73 InputMethodDescriptors* result) OVERRIDE; |
79 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; | 74 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; |
80 virtual void SetInputMethodDefault() OVERRIDE; | 75 virtual void SetInputMethodDefault() OVERRIDE; |
81 virtual bool SwitchToNextInputMethod() OVERRIDE; | 76 virtual bool SwitchToNextInputMethod() OVERRIDE; |
82 virtual bool SwitchToPreviousInputMethod( | 77 virtual bool SwitchToPreviousInputMethod( |
83 const ui::Accelerator& accelerator) OVERRIDE; | 78 const ui::Accelerator& accelerator) OVERRIDE; |
84 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; | 79 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 214 |
220 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; | 215 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; |
221 | 216 |
222 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 217 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
223 }; | 218 }; |
224 | 219 |
225 } // namespace input_method | 220 } // namespace input_method |
226 } // namespace chromeos | 221 } // namespace chromeos |
227 | 222 |
228 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 223 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
OLD | NEW |