Index: views/ime/input_method_ibus.cc |
diff --git a/views/ime/input_method_ibus.cc b/views/ime/input_method_ibus.cc |
index a9fa1c36621633c9a8283ed7e0d817ae4e000991..c9090ffdb6d9f24bd93e95d832673cd5a4366be9 100644 |
--- a/views/ime/input_method_ibus.cc |
+++ b/views/ime/input_method_ibus.cc |
@@ -596,7 +596,7 @@ void InputMethodIBus::DestroyContext() { |
} |
void InputMethodIBus::ConfirmCompositionText() { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
if (client && client->HasCompositionText()) |
client->ConfirmCompositionText(); |
@@ -744,7 +744,7 @@ void InputMethodIBus::ProcessUnfilteredKeyPressEvent(const KeyEvent& key, |
if (character_composer_.FilterKeyPress(ibus_keyval)) { |
string16 composed = character_composer_.composed_character(); |
if (!composed.empty()) { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
if (client) |
client->InsertText(composed); |
} |
@@ -754,7 +754,7 @@ void InputMethodIBus::ProcessUnfilteredKeyPressEvent(const KeyEvent& key, |
// then it means the key event didn't generate any result text. So we need |
// to send corresponding character to the focused text input client. |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
char16 ch = key.GetCharacter(); |
if (ch && client) |
client->InsertChar(ch, key.flags()); |
@@ -762,7 +762,7 @@ void InputMethodIBus::ProcessUnfilteredKeyPressEvent(const KeyEvent& key, |
void InputMethodIBus::ProcessInputMethodResult(const KeyEvent& key, |
bool filtered) { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
DCHECK(client); |
if (result_text_.length()) { |
@@ -939,7 +939,7 @@ void InputMethodIBus::OnHidePreeditText(IBusInputContext* context) { |
composition_.Clear(); |
if (pending_key_events_.empty()) { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
if (client && client->HasCompositionText()) |
client->ClearCompositionText(); |
composition_changed_ = false; |