Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1013)

Unified Diff: views/ime/input_method_ibus.cc

Issue 8491035: Revert 109583 - Move views/ime/text_input_client.h to ui/base/ime/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/ime/input_method_ibus.h ('k') | views/ime/input_method_wayland.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/ime/input_method_ibus.cc
===================================================================
--- views/ime/input_method_ibus.cc (revision 109585)
+++ views/ime/input_method_ibus.cc (working copy)
@@ -596,7 +596,7 @@
}
void InputMethodIBus::ConfirmCompositionText() {
- ui::TextInputClient* client = GetTextInputClient();
+ TextInputClient* client = GetTextInputClient();
if (client && client->HasCompositionText())
client->ConfirmCompositionText();
@@ -744,7 +744,7 @@
if (character_composer_.FilterKeyPress(ibus_keyval)) {
string16 composed = character_composer_.composed_character();
if (!composed.empty()) {
- ui::TextInputClient* client = GetTextInputClient();
+ TextInputClient* client = GetTextInputClient();
if (client)
client->InsertText(composed);
}
@@ -754,7 +754,7 @@
// 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.
- ui::TextInputClient* client = GetTextInputClient();
+ TextInputClient* client = GetTextInputClient();
char16 ch = key.GetCharacter();
if (ch && client)
client->InsertChar(ch, key.flags());
@@ -762,7 +762,7 @@
void InputMethodIBus::ProcessInputMethodResult(const KeyEvent& key,
bool filtered) {
- ui::TextInputClient* client = GetTextInputClient();
+ TextInputClient* client = GetTextInputClient();
DCHECK(client);
if (result_text_.length()) {
@@ -939,7 +939,7 @@
composition_.Clear();
if (pending_key_events_.empty()) {
- ui::TextInputClient* client = GetTextInputClient();
+ TextInputClient* client = GetTextInputClient();
if (client && client->HasCompositionText())
client->ClearCompositionText();
composition_changed_ = false;
« no previous file with comments | « views/ime/input_method_ibus.h ('k') | views/ime/input_method_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698