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

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

Issue 10534134: Fix candidate window position issue. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix braces Created 8 years, 6 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 | « chrome/browser/chromeos/input_method/ibus_ui_controller.cc ('k') | ui/base/ime/ibus_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/ibus_client.h
diff --git a/ui/base/ime/ibus_client.h b/ui/base/ime/ibus_client.h
index 5b87a3f3896658435357e9ce7ff3ddf6e65b2dbc..ca13ec030c9fda600212b3e7f8ce648d0201dc35 100644
--- a/ui/base/ime/ibus_client.h
+++ b/ui/base/ime/ibus_client.h
@@ -18,6 +18,9 @@ typedef struct _IBusBus IBusBus;
typedef struct _IBusInputContext IBusInputContext;
typedef struct _IBusText IBusText;
+namespace gfx {
+class Rect;
+} // namespace gfx
namespace ui {
struct CompositionText;
@@ -97,10 +100,8 @@ class UI_EXPORT IBusClient {
// Resets the cursor location asynchronously.
virtual void SetCursorLocation(IBusInputContext* context,
- int32 x,
- int32 y,
- int32 w,
- int32 h) = 0;
+ const gfx::Rect& cursor_location,
+ const gfx::Rect& composition_head) = 0;
// Sends the key to ibus-daemon asynchronously.
virtual void SendKeyEvent(IBusInputContext* context,
« no previous file with comments | « chrome/browser/chromeos/input_method/ibus_ui_controller.cc ('k') | ui/base/ime/ibus_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698