| 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_manager.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
| 9 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 9 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 10 #include "chrome/browser/chromeos/input_method/input_method_whitelist.h" | 10 #include "chrome/browser/chromeos/input_method/input_method_whitelist.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 virtual bool SetInputMethodConfig( | 37 virtual bool SetInputMethodConfig( |
| 38 const std::string& section, | 38 const std::string& section, |
| 39 const std::string& config_name, | 39 const std::string& config_name, |
| 40 const InputMethodConfigValue& value) OVERRIDE; | 40 const InputMethodConfigValue& value) OVERRIDE; |
| 41 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; | 41 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; |
| 42 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; | 42 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; |
| 43 virtual void AddInputMethodExtension( | 43 virtual void AddInputMethodExtension( |
| 44 const std::string& id, | 44 const std::string& id, |
| 45 const std::string& name, | 45 const std::string& name, |
| 46 const std::vector<std::string>& layouts, | 46 const std::vector<std::string>& layouts, |
| 47 const std::string& language) OVERRIDE; | 47 const std::string& language, |
| 48 InputMethodEngine* instance) OVERRIDE; |
| 48 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; | 49 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; |
| 49 virtual bool SwitchToNextInputMethod() OVERRIDE; | 50 virtual bool SwitchToNextInputMethod() OVERRIDE; |
| 50 virtual bool SwitchToPreviousInputMethod() OVERRIDE; | 51 virtual bool SwitchToPreviousInputMethod() OVERRIDE; |
| 51 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; | 52 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; |
| 52 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; | 53 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; |
| 53 virtual InputMethodPropertyList | 54 virtual InputMethodPropertyList |
| 54 GetCurrentInputMethodProperties() const OVERRIDE; | 55 GetCurrentInputMethodProperties() const OVERRIDE; |
| 55 virtual XKeyboard* GetXKeyboard() OVERRIDE; | 56 virtual XKeyboard* GetXKeyboard() OVERRIDE; |
| 56 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; | 57 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; |
| 57 | 58 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 74 InputMethodUtil util_; | 75 InputMethodUtil util_; |
| 75 MockXKeyboard xkeyboard_; | 76 MockXKeyboard xkeyboard_; |
| 76 | 77 |
| 77 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 78 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace input_method | 81 } // namespace input_method |
| 81 } // namespace chromeos | 82 } // namespace chromeos |
| 82 | 83 |
| 83 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 84 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
| OLD | NEW |