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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "ui/views/view.h" 9 #include "ui/views/view.h"
10 10
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 rendering which is mostly used
181 // by ibus-mozc. The suggestion window should be aligned with the composition
182 // text as opposed to the cursor. In case of ibus-mozc, suggestion window
183 // location is calculated by engine and it carried by update_lookup_table
184 // signal as additional information. This value is available when
185 // is_suggestion_window_available is true.
186 gfx::Rect suggestion_window_location_;
187
188 bool is_suggestion_window_location_available_;
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698