| Index: views/ime/mock_input_method.cc
|
| diff --git a/views/ime/mock_input_method.cc b/views/ime/mock_input_method.cc
|
| index 07dca3ac36c2fe968cfb689acd8140d530a7395a..5a227b7deb32574e151439e88cb61439c130aafc 100644
|
| --- a/views/ime/mock_input_method.cc
|
| +++ b/views/ime/mock_input_method.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/logging.h"
|
| +#include "ui/base/ime/text_input_client.h"
|
| #include "ui/base/keycodes/keyboard_codes.h"
|
| #include "views/events/event.h"
|
| #include "views/widget/widget.h"
|
| @@ -57,7 +58,7 @@ void MockInputMethod::DispatchKeyEvent(const KeyEvent& key) {
|
| if (focus_changed_)
|
| return;
|
|
|
| - TextInputClient* client = GetTextInputClient();
|
| + ui::TextInputClient* client = GetTextInputClient();
|
| if (client) {
|
| if (handled) {
|
| if (result_text_.length())
|
| @@ -112,7 +113,7 @@ bool MockInputMethod::IsMock() const {
|
| }
|
|
|
| void MockInputMethod::OnWillChangeFocus(View* focused_before, View* focused) {
|
| - TextInputClient* client = GetTextInputClient();
|
| + ui::TextInputClient* client = GetTextInputClient();
|
| if (client && client->HasCompositionText())
|
| client->ConfirmCompositionText();
|
| focus_changed_ = true;
|
|
|