Chromium Code Reviews| Index: ui/base/ime/mock_input_method.cc |
| diff --git a/ui/base/ime/mock_input_method.cc b/ui/base/ime/mock_input_method.cc |
| index 5ae577a5f911d4771b8c8199a25bf3ff5841e3e0..234520c8d462f10d46848172a995bb92696853e6 100644 |
| --- a/ui/base/ime/mock_input_method.cc |
| +++ b/ui/base/ime/mock_input_method.cc |
| @@ -101,6 +101,12 @@ bool MockInputMethod::IsCandidatePopupOpen() const { |
| return false; |
| } |
| +void MockInputMethod::ShowImeIfNeeded() { |
| + FOR_EACH_OBSERVER(InputMethodObserver, |
| + observer_list_, |
| + OnShowImeIfNeeded()); |
|
Seigo Nonaka
2014/01/09 06:08:43
ditto
kevers
2014/01/09 15:29:09
Done.
|
| +} |
| + |
| void MockInputMethod::AddObserver(InputMethodObserver* observer) { |
| observer_list_.AddObserver(observer); |
| } |