OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" | 8 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" |
9 #include "views/view.h" | 9 #include "views/view.h" |
10 | 10 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
170 InformationTextArea* footer_area_; | 170 InformationTextArea* footer_area_; |
171 | 171 |
172 // Current columns width in |candidate_area_|. | 172 // Current columns width in |candidate_area_|. |
173 int previous_shortcut_column_width_; | 173 int previous_shortcut_column_width_; |
174 int previous_candidate_column_width_; | 174 int previous_candidate_column_width_; |
175 int previous_annotation_column_width_; | 175 int previous_annotation_column_width_; |
176 | 176 |
177 // The last cursor location. | 177 // The last cursor location. |
178 gfx::Rect cursor_location_; | 178 gfx::Rect cursor_location_; |
179 | 179 |
180 // This location is used by suggestion window rendereing which is mostly used | |
181 // by ibus-mozc. Suggestion window location should be shown align with | |
182 // 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.
| |
183 // calculated by engine and it carried by update_lookup_table signal as | |
184 // additional information. This value is avaiable in the case of | |
185 // 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.
| |
186 gfx::Rect suggestion_window_location_; | |
187 | |
188 bool is_suggestion_window_location_avaiable_; | |
falken
2011/12/01 07:48:55
avaiable -> available
Seigo Nonaka
2011/12/01 08:11:49
Done.
| |
189 | |
180 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); | 190 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); |
181 }; | 191 }; |
182 | 192 |
183 } // namespace input_method | 193 } // namespace input_method |
184 } // namespace chromeos | 194 } // namespace chromeos |
185 | 195 |
186 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_ | 196 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_ |
OLD | NEW |