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
3 // found in the LICENSE file.
5 #ifndef UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_
6 #define UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_
11 // We'll use a bigger font size, so Chinese characters are more readable
12 // in the candidate window.
13 const int kFontSizeDelta
= 2;
15 // Currently the infolist window only supports Japanese font.
16 #if defined(GOOGLE_CHROME_BUILD)
17 const char kJapaneseFontName
[] = "MotoyaG04Gothic";
19 const char kJapaneseFontName
[] = "IPAPGothic";
22 // The minimum width of candidate labels in the vertical candidate
23 // window. We use this value to prevent the candidate window from being
24 // too narrow when all candidates are short.
25 const int kMinCandidateLabelWidth
= 100;
26 // The maximum width of candidate labels in the vertical candidate
27 // window. We use this value to prevent the candidate window from being
28 // too wide when one of candidates are long.
29 const int kMaxCandidateLabelWidth
= 500;
30 // The minimum width of preedit area. We use this value to prevent the
31 // candidate window from being too narrow when candidate lists are not shown.
32 const int kMinPreeditAreaWidth
= 134;
34 // The width of the infolist indicator icon in the candidate window.
35 const int kInfolistIndicatorIconWidth
= 4;
36 // The padding size of the infolist indicator icon in the candidate window.
37 const int kInfolistIndicatorIconPadding
= 2;
42 #endif // UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_