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

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: Applied comments Created 9 years, 1 month 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 2ceaa863396c7866a2b7eed006cb059b79e07310..2166eef9aaf4bba341c50045f2b28cdfb8c55f68 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 rendereing which is mostly used
+ // by ibus-mozc. Suggestion window location should be shown align with
+ // compostion text. In case of ibus-mozc, suggestion window location is
falken 2011/12/01 07:48:55 I would say something like "The suggestion window
Seigo Nonaka 2011/12/01 08:11:49 Done.
+ // calculated by engine and it carried by update_lookup_table signal as
+ // additional information. This value is avaiable in the case of
+ // is_suggestion_window_avaiable is true.
falken 2011/12/01 07:48:55 Nits: fix misspellings rendereing, compostion, ava
Seigo Nonaka 2011/12/01 08:11:49 Done.
+ gfx::Rect suggestion_window_location_;
+
+ bool is_suggestion_window_location_avaiable_;
falken 2011/12/01 07:48:55 avaiable -> available
Seigo Nonaka 2011/12/01 08:11:49 Done.
+
DISALLOW_COPY_AND_ASSIGN(CandidateWindowView);
};

Powered by Google App Engine
This is Rietveld 408576698