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

Unified Diff: chrome/browser/chromeos/input_method/ibus_ui_controller.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
Index: chrome/browser/chromeos/input_method/ibus_ui_controller.h
diff --git a/chrome/browser/chromeos/input_method/ibus_ui_controller.h b/chrome/browser/chromeos/input_method/ibus_ui_controller.h
index f4d20bed09bbaf013ee5885f5ef2ae154aa17d27..00f8a05062aeca287d4261f978a2fbace1bf50cb 100644
--- a/chrome/browser/chromeos/input_method/ibus_ui_controller.h
+++ b/chrome/browser/chromeos/input_method/ibus_ui_controller.h
@@ -17,6 +17,10 @@
#include "base/observer_list.h"
#include "third_party/mozc/session/candidates_lite.pb.h"
+namespace gfx {
+class Rect;
+} // namespace gfx
+
namespace chromeos {
namespace input_method {
@@ -85,7 +89,8 @@ class IBusUiController {
virtual void OnHidePreeditText() = 0;
// Called when the cursor location is set.
- virtual void OnSetCursorLocation(int x, int y, int width, int height) = 0;
+ virtual void OnSetCursorLocation(const gfx::Rect& cusor_location,
+ const gfx::Rect& composition_head) = 0;
// Called when the auxiliary text is updated.
virtual void OnUpdateAuxiliaryText(const std::string& text,

Powered by Google App Engine
This is Rietveld 408576698