| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 const ui::Accelerator& accelerator) OVERRIDE; | 81 const ui::Accelerator& accelerator) OVERRIDE; |
| 82 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; | 82 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; |
| 83 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; | 83 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; |
| 84 | 84 |
| 85 virtual XKeyboard* GetXKeyboard() OVERRIDE; | 85 virtual XKeyboard* GetXKeyboard() OVERRIDE; |
| 86 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; | 86 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; |
| 87 virtual ComponentExtensionIMEManager* | 87 virtual ComponentExtensionIMEManager* |
| 88 GetComponentExtensionIMEManager() OVERRIDE; | 88 GetComponentExtensionIMEManager() OVERRIDE; |
| 89 virtual bool IsLoginKeyboard(const std::string& layout) const OVERRIDE; | 89 virtual bool IsLoginKeyboard(const std::string& layout) const OVERRIDE; |
| 90 | 90 |
| 91 virtual bool MigrateXkbInputMethods( |
| 92 std::vector<std::string>* input_method_ids) OVERRIDE; |
| 93 |
| 91 // Sets |candidate_window_controller_|. | 94 // Sets |candidate_window_controller_|. |
| 92 void SetCandidateWindowControllerForTesting( | 95 void SetCandidateWindowControllerForTesting( |
| 93 CandidateWindowController* candidate_window_controller); | 96 CandidateWindowController* candidate_window_controller); |
| 94 // Sets |xkeyboard_|. | 97 // Sets |xkeyboard_|. |
| 95 void SetXKeyboardForTesting(XKeyboard* xkeyboard); | 98 void SetXKeyboardForTesting(XKeyboard* xkeyboard); |
| 96 // Initialize |component_extension_manager_|. | 99 // Initialize |component_extension_manager_|. |
| 97 void InitializeComponentExtensionForTesting( | 100 void InitializeComponentExtensionForTesting( |
| 98 scoped_ptr<ComponentExtensionIMEManagerDelegate> delegate); | 101 scoped_ptr<ComponentExtensionIMEManagerDelegate> delegate); |
| 99 | 102 |
| 100 private: | 103 private: |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 210 |
| 208 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; | 211 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; |
| 209 | 212 |
| 210 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 213 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
| 211 }; | 214 }; |
| 212 | 215 |
| 213 } // namespace input_method | 216 } // namespace input_method |
| 214 } // namespace chromeos | 217 } // namespace chromeos |
| 215 | 218 |
| 216 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 219 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
| OLD | NEW |