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 #include "ui/base/ime/mock_input_method.h" | 5 #include "ui/base/ime/mock_input_method.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 MockInputMethod::MockInputMethod(internal::InputMethodDelegate* delegate) | 9 MockInputMethod::MockInputMethod(internal::InputMethodDelegate* delegate) |
10 : text_input_client_(NULL), | 10 : text_input_client_(NULL), |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 121 } |
122 | 122 |
123 bool MockInputMethod::CanComposeInline() const { | 123 bool MockInputMethod::CanComposeInline() const { |
124 return true; | 124 return true; |
125 } | 125 } |
126 | 126 |
127 bool MockInputMethod::IsCandidatePopupOpen() const { | 127 bool MockInputMethod::IsCandidatePopupOpen() const { |
128 return false; | 128 return false; |
129 } | 129 } |
130 | 130 |
| 131 void MockInputMethod::ShowVirtualKeyboard() { |
| 132 } |
| 133 |
131 void MockInputMethod::AddObserver(InputMethodObserver* observer) { | 134 void MockInputMethod::AddObserver(InputMethodObserver* observer) { |
132 observer_list_.AddObserver(observer); | 135 observer_list_.AddObserver(observer); |
133 } | 136 } |
134 | 137 |
135 void MockInputMethod::RemoveObserver(InputMethodObserver* observer) { | 138 void MockInputMethod::RemoveObserver(InputMethodObserver* observer) { |
136 observer_list_.RemoveObserver(observer); | 139 observer_list_.RemoveObserver(observer); |
137 } | 140 } |
138 | 141 |
139 } // namespace ui | 142 } // namespace ui |
OLD | NEW |