OLD | NEW |
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_CONSTANTS_H_ | 5 #ifndef UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_ |
6 #define ASH_IME_CANDIDATE_WINDOW_CONSTANTS_H_ | 6 #define UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ui { |
9 namespace ime { | 9 namespace ime { |
10 | 10 |
11 // We'll use a bigger font size, so Chinese characters are more readable | 11 // We'll use a bigger font size, so Chinese characters are more readable |
12 // in the candidate window. | 12 // in the candidate window. |
13 const int kFontSizeDelta = 2; | 13 const int kFontSizeDelta = 2; |
14 | 14 |
15 // Currently the infolist window only supports Japanese font. | 15 // Currently the infolist window only supports Japanese font. |
16 #if defined(GOOGLE_CHROME_BUILD) | 16 #if defined(GOOGLE_CHROME_BUILD) |
17 const char kJapaneseFontName[] = "MotoyaG04Gothic"; | 17 const char kJapaneseFontName[] = "MotoyaG04Gothic"; |
18 #else | 18 #else |
(...skipping 11 matching lines...) Expand all Loading... |
30 // The minimum width of preedit area. We use this value to prevent the | 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. | 31 // candidate window from being too narrow when candidate lists are not shown. |
32 const int kMinPreeditAreaWidth = 134; | 32 const int kMinPreeditAreaWidth = 134; |
33 | 33 |
34 // The width of the infolist indicator icon in the candidate window. | 34 // The width of the infolist indicator icon in the candidate window. |
35 const int kInfolistIndicatorIconWidth = 4; | 35 const int kInfolistIndicatorIconWidth = 4; |
36 // The padding size of the infolist indicator icon in the candidate window. | 36 // The padding size of the infolist indicator icon in the candidate window. |
37 const int kInfolistIndicatorIconPadding = 2; | 37 const int kInfolistIndicatorIconPadding = 2; |
38 | 38 |
39 } // namespace ime | 39 } // namespace ime |
40 } // namespace ash | 40 } // namespace ui |
41 | 41 |
42 #endif // ASH_IME_CANDIDATE_WINDOW_CONSTANTS_H_ | 42 #endif // UI_CHROMEOS_IME_CANDIDATE_WINDOW_CONSTANTS_H_ |
OLD | NEW |