OLD | NEW |
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_LANGUAGE_PREFERENCES_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <stddef.h> // For size_t | 9 #include <stddef.h> // For size_t |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. | 87 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. |
88 const size_t kNumChewingMultipleChoicePrefs = 2; | 88 const size_t kNumChewingMultipleChoicePrefs = 2; |
89 | 89 |
90 extern const LanguageMultipleChoicePreference<int> kChewingHsuSelKeyType; | 90 extern const LanguageMultipleChoicePreference<int> kChewingHsuSelKeyType; |
91 | 91 |
92 // --------------------------------------------------------------------------- | 92 // --------------------------------------------------------------------------- |
93 // For Korean input method (ibus-mozc-hangul) | 93 // For Korean input method (ibus-mozc-hangul) |
94 // --------------------------------------------------------------------------- | 94 // --------------------------------------------------------------------------- |
95 extern const char kHangulSectionName[]; | 95 extern const char kHangulSectionName[]; |
96 extern const char kHangulKeyboardConfigName[]; | 96 extern const char kHangulKeyboardConfigName[]; |
97 extern const char kHangulHanjaKeysConfigName[]; | |
98 extern const char kHangulHanjaKeys[]; | |
99 | |
100 // Following configuration is for mozc-hangul and same meaning of | |
101 // kHangulHanjaKeys. | |
102 extern const char kHangulHanjaBindingKeysConfigName[]; | 97 extern const char kHangulHanjaBindingKeysConfigName[]; |
103 extern const char kHangulHanjaBindingKeys[]; | 98 extern const char kHangulHanjaBindingKeys[]; |
104 | 99 |
105 struct HangulKeyboardNameIDPair { | 100 struct HangulKeyboardNameIDPair { |
106 int message_id; | 101 int message_id; |
107 const char* keyboard_id; | 102 const char* keyboard_id; |
108 }; | 103 }; |
109 | 104 |
110 extern const HangulKeyboardNameIDPair kHangulKeyboardNameIDPairs[]; | 105 extern const HangulKeyboardNameIDPair kHangulKeyboardNameIDPairs[]; |
111 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. | 106 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 extern const int kXkbAutoRepeatIntervalInMs; | 155 extern const int kXkbAutoRepeatIntervalInMs; |
161 | 156 |
162 // A string Chrome preference (Local State) of the preferred keyboard layout in | 157 // A string Chrome preference (Local State) of the preferred keyboard layout in |
163 // the login screen. | 158 // the login screen. |
164 extern const char kPreferredKeyboardLayout[]; | 159 extern const char kPreferredKeyboardLayout[]; |
165 | 160 |
166 } // language_prefs | 161 } // language_prefs |
167 } // chromeos | 162 } // chromeos |
168 | 163 |
169 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 164 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
OLD | NEW |