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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 bool MigrateInputMethods(std::vector<std::string>* input_method_ids) override; | 99 bool MigrateInputMethods(std::vector<std::string>* input_method_ids) override; |
100 scoped_refptr<InputMethodManager::State> CreateNewState( | 100 scoped_refptr<InputMethodManager::State> CreateNewState( |
101 Profile* profile) override; | 101 Profile* profile) override; |
102 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override; | 102 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override; |
103 void SetState(scoped_refptr<InputMethodManager::State> state) override; | 103 void SetState(scoped_refptr<InputMethodManager::State> state) override; |
104 void ImeMenuActivationChanged(bool is_active) override; | 104 void ImeMenuActivationChanged(bool is_active) override; |
105 void NotifyImeMenuItemsChanged( | 105 void NotifyImeMenuItemsChanged( |
106 const std::string& engine_id, | 106 const std::string& engine_id, |
107 const std::vector<InputMethodManager::MenuItem>& items) override; | 107 const std::vector<InputMethodManager::MenuItem>& items) override; |
108 void MaybeNotifyImeMenuActivationChanged() override; | 108 void MaybeNotifyImeMenuActivationChanged() override; |
| 109 void OverrideKeyboardUrlRef(const std::string& keyset) override; |
| 110 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override; |
109 | 111 |
110 // Sets an input method ID which will be returned by GetCurrentInputMethod(). | 112 // Sets an input method ID which will be returned by GetCurrentInputMethod(). |
111 void SetCurrentInputMethodId(const std::string& input_method_id); | 113 void SetCurrentInputMethodId(const std::string& input_method_id); |
112 | 114 |
113 void SetComponentExtensionIMEManager( | 115 void SetComponentExtensionIMEManager( |
114 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager); | 116 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager); |
115 | 117 |
116 // Set values that will be provided to the InputMethodUtil. | 118 // Set values that will be provided to the InputMethodUtil. |
117 void set_application_locale(const std::string& value); | 119 void set_application_locale(const std::string& value); |
118 | 120 |
(...skipping 14 matching lines...) Expand all Loading... |
133 bool mod3_used_; | 135 bool mod3_used_; |
134 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager_; | 136 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager_; |
135 | 137 |
136 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 138 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
137 }; | 139 }; |
138 | 140 |
139 } // namespace input_method | 141 } // namespace input_method |
140 } // namespace chromeos | 142 } // namespace chromeos |
141 | 143 |
142 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 144 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
OLD | NEW |