Index: chrome/browser/chromeos/input_method/candidate_window_view.h |
diff --git a/chrome/browser/chromeos/input_method/candidate_window_view.h b/chrome/browser/chromeos/input_method/candidate_window_view.h |
index fcbc7585b4cd338d87365d11e0f05282066edbe9..06e3120ce7ffb5f45307dd735668099764c15a8f 100644 |
--- a/chrome/browser/chromeos/input_method/candidate_window_view.h |
+++ b/chrome/browser/chromeos/input_method/candidate_window_view.h |
@@ -177,6 +177,16 @@ class CandidateWindowView : public views::View { |
// The last cursor location. |
gfx::Rect cursor_location_; |
+ // This location is used by suggestion window rendering which is mostly used |
+ // by ibus-mozc. The suggestion window should be aligned with the composition |
+ // text as opposed to the cursor. In case of ibus-mozc, suggestion window |
+ // location is calculated by engine and it carried by update_lookup_table |
+ // signal as additional information. This value is available when |
+ // is_suggestion_window_available is true. |
+ gfx::Rect suggestion_window_location_; |
+ |
+ bool is_suggestion_window_location_available_; |
+ |
DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); |
}; |