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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 extern const PinyinIntegerPref kPinyinIntegerPrefs[]; | 128 extern const PinyinIntegerPref kPinyinIntegerPrefs[]; |
129 const size_t kNumPinyinIntegerPrefs = 1; | 129 const size_t kNumPinyinIntegerPrefs = 1; |
130 | 130 |
131 // --------------------------------------------------------------------------- | 131 // --------------------------------------------------------------------------- |
132 // For Japanese input method (ibus-mozc) | 132 // For Japanese input method (ibus-mozc) |
133 // --------------------------------------------------------------------------- | 133 // --------------------------------------------------------------------------- |
134 extern const char kMozcSectionName[]; | 134 extern const char kMozcSectionName[]; |
135 | 135 |
136 extern const LanguageBooleanPrefs kMozcBooleanPrefs[]; | 136 extern const LanguageBooleanPrefs kMozcBooleanPrefs[]; |
137 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. | 137 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. |
138 const size_t kNumMozcBooleanPrefs = 8; | 138 const size_t kNumMozcBooleanPrefs = 4; |
139 | 139 |
140 extern const LanguageMultipleChoicePreference<const char*> | 140 extern const LanguageMultipleChoicePreference<const char*> |
141 kMozcMultipleChoicePrefs[]; | 141 kMozcMultipleChoicePrefs[]; |
142 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. | 142 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. |
143 const size_t kNumMozcMultipleChoicePrefs = 8; | 143 const size_t kNumMozcMultipleChoicePrefs = 8; |
144 | 144 |
145 extern const LanguageIntegerRangePreference kMozcIntegerPrefs[]; | 145 extern const LanguageIntegerRangePreference kMozcIntegerPrefs[]; |
146 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. | 146 // See comments at kNumChewingBooleanPrefs for why we hard-code this here. |
147 const size_t kNumMozcIntegerPrefs = 1; | 147 const size_t kNumMozcIntegerPrefs = 1; |
148 | 148 |
149 // --------------------------------------------------------------------------- | 149 // --------------------------------------------------------------------------- |
150 // For keyboard stuff | 150 // For keyboard stuff |
151 // --------------------------------------------------------------------------- | 151 // --------------------------------------------------------------------------- |
152 // A delay between the first and the start of the rest. | 152 // A delay between the first and the start of the rest. |
153 extern const int kXkbAutoRepeatDelayInMs; | 153 extern const int kXkbAutoRepeatDelayInMs; |
154 // An interval between the repeated keys. | 154 // An interval between the repeated keys. |
155 extern const int kXkbAutoRepeatIntervalInMs; | 155 extern const int kXkbAutoRepeatIntervalInMs; |
156 | 156 |
157 // 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 |
158 // the login screen. | 158 // the login screen. |
159 extern const char kPreferredKeyboardLayout[]; | 159 extern const char kPreferredKeyboardLayout[]; |
160 | 160 |
161 } // language_prefs | 161 } // language_prefs |
162 } // chromeos | 162 } // chromeos |
163 | 163 |
164 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 164 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
OLD | NEW |