| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; | 109 void OverrideKeyboardUrlRef(const std::string& keyset) override; |
| 110 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override; | 110 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override; |
| 111 void SetFeaturesRestrictedState(FeaturesRestrictedState feature, |
| 112 bool restricted) override; |
| 113 uint32_t GetFeaturesRestrictedState() override; |
| 111 | 114 |
| 112 private: | 115 private: |
| 116 uint32_t features_restricted_state_; |
| 117 |
| 113 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 118 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
| 114 }; | 119 }; |
| 115 | 120 |
| 116 } // namespace input_method | 121 } // namespace input_method |
| 117 } // namespace chromeos | 122 } // namespace chromeos |
| 118 | 123 |
| 119 #endif // UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ | 124 #endif // UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ |
| OLD | NEW |