| 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 UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ |
| 6 #define UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ | 6 #define UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/base/ime/chromeos/input_method_manager.h" | 9 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 10 | 10 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 Profile* profile) override; | 98 Profile* profile) override; |
| 99 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override; | 99 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override; |
| 100 void SetState(scoped_refptr<InputMethodManager::State> state) override; | 100 void SetState(scoped_refptr<InputMethodManager::State> state) override; |
| 101 void ImeMenuActivationChanged(bool is_active) override; | 101 void ImeMenuActivationChanged(bool is_active) override; |
| 102 void NotifyImeMenuItemsChanged( | 102 void NotifyImeMenuItemsChanged( |
| 103 const std::string& engine_id, | 103 const std::string& engine_id, |
| 104 const std::vector<InputMethodManager::MenuItem>& items) override; | 104 const std::vector<InputMethodManager::MenuItem>& items) override; |
| 105 void MaybeNotifyImeMenuActivationChanged() override; | 105 void MaybeNotifyImeMenuActivationChanged() override; |
| 106 void OverrideKeyboardUrlRef(const std::string& keyset) override; | 106 void OverrideKeyboardUrlRef(const std::string& keyset) override; |
| 107 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override; | 107 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override; |
| 108 void SetImeMenuFeatureEnabled(ImeMenuFeature feature, bool enabled) override; |
| 109 bool GetImeMenuFeatureEnabled(ImeMenuFeature feature) const override; |
| 108 | 110 |
| 109 private: | 111 private: |
| 112 uint32_t features_enabled_state_; |
| 113 |
| 110 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 114 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
| 111 }; | 115 }; |
| 112 | 116 |
| 113 } // namespace input_method | 117 } // namespace input_method |
| 114 } // namespace chromeos | 118 } // namespace chromeos |
| 115 | 119 |
| 116 #endif // UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ | 120 #endif // UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ |
| OLD | NEW |