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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window_view.h

Issue 8505051: Support mozc suggest window on ChromeOS. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 9 years 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/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);
};

Powered by Google App Engine
This is Rietveld 408576698