| 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_MOCK_INPUT_METHOD_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 9 #include "chromeos/ime/component_extension_ime_manager.h" | 9 #include "chromeos/ime/component_extension_ime_manager.h" |
| 10 #include "chromeos/ime/fake_ime_keyboard.h" | 10 #include "chromeos/ime/fake_ime_keyboard.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 const std::string& language_code, | 42 const std::string& language_code, |
| 43 const std::vector<std::string>& initial_layout) OVERRIDE; | 43 const std::vector<std::string>& initial_layout) OVERRIDE; |
| 44 virtual bool ReplaceEnabledInputMethods( | 44 virtual bool ReplaceEnabledInputMethods( |
| 45 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; | 45 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; |
| 46 virtual bool EnableInputMethod( | 46 virtual bool EnableInputMethod( |
| 47 const std::string& new_active_input_method_id) OVERRIDE; | 47 const std::string& new_active_input_method_id) OVERRIDE; |
| 48 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; | 48 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; |
| 49 virtual void ActivateInputMethodMenuItem(const std::string& key) OVERRIDE; | 49 virtual void ActivateInputMethodMenuItem(const std::string& key) OVERRIDE; |
| 50 virtual void AddInputMethodExtension( | 50 virtual void AddInputMethodExtension( |
| 51 const std::string& id, | 51 const std::string& id, |
| 52 const InputMethodDescriptors& descriptors, |
| 52 InputMethodEngineInterface* instance) OVERRIDE; | 53 InputMethodEngineInterface* instance) OVERRIDE; |
| 53 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; | 54 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; |
| 54 virtual void GetInputMethodExtensions( | 55 virtual void GetInputMethodExtensions( |
| 55 InputMethodDescriptors* result) OVERRIDE; | 56 InputMethodDescriptors* result) OVERRIDE; |
| 56 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; | 57 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; |
| 57 virtual void SetInputMethodLoginDefault() OVERRIDE; | 58 virtual void SetInputMethodLoginDefault() OVERRIDE; |
| 58 virtual void SetInputMethodLoginDefaultFromVPD( | 59 virtual void SetInputMethodLoginDefaultFromVPD( |
| 59 const std::string& locale, const std::string& layout) OVERRIDE; | 60 const std::string& locale, const std::string& layout) OVERRIDE; |
| 60 virtual bool SwitchToNextInputMethod() OVERRIDE; | 61 virtual bool SwitchToNextInputMethod() OVERRIDE; |
| 61 virtual bool SwitchToPreviousInputMethod( | 62 virtual bool SwitchToPreviousInputMethod( |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // The active input method ids cache (actually default only) | 104 // The active input method ids cache (actually default only) |
| 104 std::vector<std::string> active_input_method_ids_; | 105 std::vector<std::string> active_input_method_ids_; |
| 105 | 106 |
| 106 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 107 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 } // namespace input_method | 110 } // namespace input_method |
| 110 } // namespace chromeos | 111 } // namespace chromeos |
| 111 | 112 |
| 112 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 113 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
| OLD | NEW |