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

Side by Side Diff: ash/ime/candidate_window_view.h

Issue 162723003: Migrate CandidateWindow::Entry to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browsertest compilation Created 6 years, 10 months 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
« no previous file with comments | « ash/ime/candidate_view.cc ('k') | ash/ime/candidate_window_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 5 #ifndef ASH_IME_CANDIDATE_WINDOW_VIEW_H_
6 #define ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 6 #define ASH_IME_CANDIDATE_WINDOW_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/base/ime/candidate_window.h" 9 #include "ui/base/ime/candidate_window.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Shows the lookup table. 54 // Shows the lookup table.
55 void ShowLookupTable(); 55 void ShowLookupTable();
56 56
57 // Shows the auxiliary text. 57 // Shows the auxiliary text.
58 void ShowAuxiliaryText(); 58 void ShowAuxiliaryText();
59 59
60 // Shows the preedit text. 60 // Shows the preedit text.
61 void ShowPreeditText(); 61 void ShowPreeditText();
62 62
63 // Updates the preedit text. 63 // Updates the preedit text.
64 void UpdatePreeditText(const std::string& utf8_text); 64 void UpdatePreeditText(const base::string16& text);
65 65
66 // Updates candidates of the candidate window from |candidate_window|. 66 // Updates candidates of the candidate window from |candidate_window|.
67 // Candidates are arranged per |orientation|. 67 // Candidates are arranged per |orientation|.
68 void UpdateCandidates(const ui::CandidateWindow& candidate_window); 68 void UpdateCandidates(const ui::CandidateWindow& candidate_window);
69 69
70 void SetCursorBounds(const gfx::Rect& cursor_bounds, 70 void SetCursorBounds(const gfx::Rect& cursor_bounds,
71 const gfx::Rect& composition_head); 71 const gfx::Rect& composition_head);
72 72
73 private: 73 private:
74 friend class CandidateWindowViewTest; 74 friend class CandidateWindowViewTest;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // send OnCandidateWindowOpened and OnCandidateWindowClosed events. 125 // send OnCandidateWindowOpened and OnCandidateWindowClosed events.
126 bool was_candidate_window_open_; 126 bool was_candidate_window_open_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); 128 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView);
129 }; 129 };
130 130
131 } // namespace ime 131 } // namespace ime
132 } // namespace ash 132 } // namespace ash
133 133
134 #endif // ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 134 #endif // ASH_IME_CANDIDATE_WINDOW_VIEW_H_
OLDNEW
« no previous file with comments | « ash/ime/candidate_view.cc ('k') | ash/ime/candidate_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698