Index: views/ime/input_method_gtk.cc |
diff --git a/views/ime/input_method_gtk.cc b/views/ime/input_method_gtk.cc |
index 146cf6a34a1bc01ed39ebc42483e164d15c40d42..49085922137ae62ad47b89b871d635ecf830c37b 100644 |
--- a/views/ime/input_method_gtk.cc |
+++ b/views/ime/input_method_gtk.cc |
@@ -208,7 +208,7 @@ void InputMethodGtk::FocusedViewDidChange() { |
} |
void InputMethodGtk::ConfirmCompositionText() { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
if (client && client->HasCompositionText()) |
client->ConfirmCompositionText(); |
@@ -296,14 +296,14 @@ void InputMethodGtk::ProcessUnfilteredKeyPressEvent(const KeyEvent& key) { |
// event (ctrl-a, return, tab, etc.). We need to send the character to the |
// focused text input client by calling TextInputClient::InsertChar(). |
char16 ch = key.GetCharacter(); |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
if (ch && client) |
client->InsertChar(ch, key.flags()); |
} |
void InputMethodGtk::ProcessInputMethodResult(const KeyEvent& key, |
bool filtered) { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
DCHECK(client); |
if (result_text_.length()) { |
@@ -426,7 +426,7 @@ void InputMethodGtk::OnPreeditEnd(GtkIMContext* context) { |
composition_.Clear(); |
if (!handling_key_event_) { |
- TextInputClient* client = GetTextInputClient(); |
+ ui::TextInputClient* client = GetTextInputClient(); |
if (client && client->HasCompositionText()) |
client->ClearCompositionText(); |
} |