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/fake_input_method_delegate.h" | 9 #include "chromeos/ime/fake_input_method_delegate.h" |
10 #include "chromeos/ime/input_method_manager.h" | 10 #include "chromeos/ime/input_method_manager.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 GetSupportedInputMethods() const OVERRIDE; | 31 GetSupportedInputMethods() const OVERRIDE; |
32 virtual scoped_ptr<InputMethodDescriptors> | 32 virtual scoped_ptr<InputMethodDescriptors> |
33 GetActiveInputMethods() const OVERRIDE; | 33 GetActiveInputMethods() const OVERRIDE; |
34 virtual size_t GetNumActiveInputMethods() const OVERRIDE; | 34 virtual size_t GetNumActiveInputMethods() const OVERRIDE; |
35 virtual void EnableLayouts(const std::string& language_code, | 35 virtual void EnableLayouts(const std::string& language_code, |
36 const std::string& initial_layout) OVERRIDE; | 36 const std::string& initial_layout) OVERRIDE; |
37 virtual bool EnableInputMethods( | 37 virtual bool EnableInputMethods( |
38 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; | 38 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; |
39 virtual bool MigrateOldInputMethods( | 39 virtual bool MigrateOldInputMethods( |
40 std::vector<std::string>* input_method_ids) OVERRIDE; | 40 std::vector<std::string>* input_method_ids) OVERRIDE; |
| 41 virtual bool MigrateKoreanKeyboard( |
| 42 const std::string& keyboard_id, |
| 43 std::vector<std::string>* input_method_ids) OVERRIDE; |
41 virtual bool SetInputMethodConfig( | 44 virtual bool SetInputMethodConfig( |
42 const std::string& section, | 45 const std::string& section, |
43 const std::string& config_name, | 46 const std::string& config_name, |
44 const InputMethodConfigValue& value) OVERRIDE; | 47 const InputMethodConfigValue& value) OVERRIDE; |
45 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; | 48 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; |
46 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; | 49 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; |
47 virtual void AddInputMethodExtension( | 50 virtual void AddInputMethodExtension( |
48 const std::string& id, | 51 const std::string& id, |
49 const std::string& name, | 52 const std::string& name, |
50 const std::vector<std::string>& layouts, | 53 const std::vector<std::string>& layouts, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 InputMethodUtil util_; | 91 InputMethodUtil util_; |
89 MockXKeyboard xkeyboard_; | 92 MockXKeyboard xkeyboard_; |
90 | 93 |
91 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 94 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
92 }; | 95 }; |
93 | 96 |
94 } // namespace input_method | 97 } // namespace input_method |
95 } // namespace chromeos | 98 } // namespace chromeos |
96 | 99 |
97 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 100 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
OLD | NEW |