| Index: ui/base/ime/ibus_client_impl.cc
|
| diff --git a/ui/base/ime/ibus_client_impl.cc b/ui/base/ime/ibus_client_impl.cc
|
| index 99b8c0fb4539374e81bb0a71bb9d96110ed69794..3707b4399a01930ab7fd9d7ac46b4a2062b5b507 100644
|
| --- a/ui/base/ime/ibus_client_impl.cc
|
| +++ b/ui/base/ime/ibus_client_impl.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/logging.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "ui/base/ime/composition_text.h"
|
| +#include "ui/gfx/rect.h"
|
|
|
| // input_method_ibus.cc assumes X and IBus use the same mask for Lock, Control,
|
| // Shift, Alt, and buttons. Check if the assumption is really correct.
|
| @@ -125,11 +126,13 @@ IBusClient::InputMethodType IBusClientImpl::GetInputMethodType() {
|
| }
|
|
|
| void IBusClientImpl::SetCursorLocation(IBusInputContext* context,
|
| - int32 x,
|
| - int32 y,
|
| - int32 w,
|
| - int32 h) {
|
| - ibus_input_context_set_cursor_location(context, x, y, w, h);
|
| + const gfx::Rect& cursor_location,
|
| + const gfx::Rect& composition_head) {
|
| + ibus_input_context_set_cursor_location(context,
|
| + cursor_location.x(),
|
| + cursor_location.y(),
|
| + cursor_location.width(),
|
| + cursor_location.height());
|
| }
|
|
|
| void IBusClientImpl::SendKeyEvent(IBusInputContext* context,
|
|
|