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

Unified Diff: ui/base/ime/ibus_client.cc

Issue 12017010: Introduce bypass logic for SetCursorLocation message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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 | « chromeos/dbus/ibus/mock_ibus_input_context_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/ibus_client.cc
diff --git a/ui/base/ime/ibus_client.cc b/ui/base/ime/ibus_client.cc
index f5d2e56b008bae3c79dea7f69279cff5089165ee..e5631c14f1f77ba6c6231da1ac16f0cefca2237b 100644
--- a/ui/base/ime/ibus_client.cc
+++ b/ui/base/ime/ibus_client.cc
@@ -24,13 +24,8 @@ IBusClient::InputMethodType IBusClient::GetInputMethodType() {
void IBusClient::SetCursorLocation(const gfx::Rect& cursor_location,
const gfx::Rect& composition_head) {
- chromeos::IBusInputContextClient* input_context =
- chromeos::DBusThreadManager::Get()->GetIBusInputContextClient();
- DCHECK(input_context->IsObjectProxyReady());
- input_context->SetCursorLocation(cursor_location.x(),
- cursor_location.y(),
- cursor_location.width(),
- cursor_location.height());
+ // Do nothing, because this function will be overridden with
+ // IBusChromeOSClientImpl.
}
} // namespace internal
« no previous file with comments | « chromeos/dbus/ibus/mock_ibus_input_context_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698