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 mozc window rendereing, The mozc-engine has two | |
181 // types of lookup-table, suggestion window and candidate window(this is | |
182 // ordinal look-up table). The location of these two windows are different | |
183 // and which is managed by mozc-engine now. | |
184 gfx::Rect window_location_for_mozc_engine_; | |
Yusuke Sato
2011/11/30 13:38:20
should we explicitly use the term mozc here? can't
Seigo Nonaka
2011/12/01 07:10:01
Done.
| |
185 | |
186 // If rendering operation comes from mozc-engine, this value becomes true. | |
187 // Otherwise this value becomes false. | |
188 bool is_mozc_window_; | |
Yusuke Sato
2011/11/30 13:38:20
'mozc window' is too ambiguous to me. I prefer som
Seigo Nonaka
2011/12/01 07:10:01
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 |