summaryrefslogtreecommitdiffstats
path: root/views/ime/mock_input_method.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/ime/mock_input_method.cc')
-rw-r--r--views/ime/mock_input_method.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/ime/mock_input_method.cc b/views/ime/mock_input_method.cc
index 07dca3ac..5a227b7 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;