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

Unified Diff: ash/ime/candidate_view.h

Issue 258463002: Introduces 'highlighted' property to candidate view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/ime/candidate_view.cc » ('j') | ash/ime/candidate_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ime/candidate_view.h
diff --git a/ash/ime/candidate_view.h b/ash/ime/candidate_view.h
index 6f5895781b9b02b6582a2435ef8dcc70501a371d..ad316d093ec847d1f55cdb3f034eaee4f63814fb 100644
--- a/ash/ime/candidate_view.h
+++ b/ash/ime/candidate_view.h
@@ -33,6 +33,8 @@ class ASH_EXPORT CandidateView : public views::CustomButton {
// Sets infolist icon.
void SetInfolistIcon(bool enable);
+ void SetHighlighted(bool highlighted);
+
private:
friend class CandidateWindowViewTest;
FRIEND_TEST_ALL_PREFIXES(CandidateWindowViewTest, ShortcutSettingTest);
@@ -57,12 +59,12 @@ class ASH_EXPORT CandidateView : public views::CustomButton {
views::Label* candidate_label_;
// The annotation label renders annotations.
views::Label* annotation_label_;
+ // The infolist icon.
+ views::View* infolist_icon_;
int shortcut_width_;
int candidate_width_;
-
- // The infolist icon.
- views::View* infolist_icon_;
+ bool highlighted_;
DISALLOW_COPY_AND_ASSIGN(CandidateView);
};
« no previous file with comments | « no previous file | ash/ime/candidate_view.cc » ('j') | ash/ime/candidate_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698