| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; | 74 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; |
| 75 virtual void GetInputMethodExtensions( | 75 virtual void GetInputMethodExtensions( |
| 76 InputMethodDescriptors* result) OVERRIDE; | 76 InputMethodDescriptors* result) OVERRIDE; |
| 77 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; | 77 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; |
| 78 virtual void SetInputMethodLoginDefault() OVERRIDE; | 78 virtual void SetInputMethodLoginDefault() OVERRIDE; |
| 79 virtual bool SwitchToNextInputMethod() OVERRIDE; | 79 virtual bool SwitchToNextInputMethod() OVERRIDE; |
| 80 virtual bool SwitchToPreviousInputMethod( | 80 virtual bool SwitchToPreviousInputMethod( |
| 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 virtual bool IsMod3UsedByCurrentInputMethod() const OVERRIDE; |
| 85 virtual bool IsAltGrUsedByCurrentInputMethod() const OVERRIDE; |
| 84 | 86 |
| 85 virtual XKeyboard* GetXKeyboard() OVERRIDE; | 87 virtual XKeyboard* GetXKeyboard() OVERRIDE; |
| 86 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; | 88 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; |
| 87 virtual ComponentExtensionIMEManager* | 89 virtual ComponentExtensionIMEManager* |
| 88 GetComponentExtensionIMEManager() OVERRIDE; | 90 GetComponentExtensionIMEManager() OVERRIDE; |
| 89 virtual bool IsLoginKeyboard(const std::string& layout) const OVERRIDE; | 91 virtual bool IsLoginKeyboard(const std::string& layout) const OVERRIDE; |
| 90 | 92 |
| 91 // Sets |candidate_window_controller_|. | 93 // Sets |candidate_window_controller_|. |
| 92 void SetCandidateWindowControllerForTesting( | 94 void SetCandidateWindowControllerForTesting( |
| 93 CandidateWindowController* candidate_window_controller); | 95 CandidateWindowController* candidate_window_controller); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 209 |
| 208 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; | 210 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; |
| 209 | 211 |
| 210 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 212 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
| 211 }; | 213 }; |
| 212 | 214 |
| 213 } // namespace input_method | 215 } // namespace input_method |
| 214 } // namespace chromeos | 216 } // namespace chromeos |
| 215 | 217 |
| 216 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ | 218 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ |
| OLD | NEW |