| Index: views/ime/input_method_ibus.cc
|
| diff --git a/views/ime/input_method_ibus.cc b/views/ime/input_method_ibus.cc
|
| index 1eff7161b7ad845ab88e87f4c6e9795125fc2ede..2f641a97b81fedbeb2cf18b443380732cc6064b9 100644
|
| --- a/views/ime/input_method_ibus.cc
|
| +++ b/views/ime/input_method_ibus.cc
|
| @@ -595,7 +595,7 @@ void InputMethodIBus::DestroyContext() {
|
| }
|
|
|
| void InputMethodIBus::ConfirmCompositionText() {
|
| - TextInputClient* client = GetTextInputClient();
|
| + ui::TextInputClient* client = GetTextInputClient();
|
| if (client && client->HasCompositionText())
|
| client->ConfirmCompositionText();
|
|
|
| @@ -743,7 +743,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);
|
| }
|
| @@ -753,7 +753,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());
|
| @@ -761,7 +761,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()) {
|
| @@ -938,7 +938,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;
|
|
|