OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 int message_id; | 61 int message_id; |
62 PrefService::PrefSyncStatus sync_status; | 62 PrefService::PrefSyncStatus sync_status; |
63 }; | 63 }; |
64 | 64 |
65 // --------------------------------------------------------------------------- | 65 // --------------------------------------------------------------------------- |
66 // For ibus-daemon | 66 // For ibus-daemon |
67 // --------------------------------------------------------------------------- | 67 // --------------------------------------------------------------------------- |
68 extern const char kGeneralSectionName[]; | 68 extern const char kGeneralSectionName[]; |
69 extern const char kHotKeySectionName[]; | 69 extern const char kHotKeySectionName[]; |
70 extern const char kPreloadEnginesConfigName[]; | 70 extern const char kPreloadEnginesConfigName[]; |
71 extern const char kNextEngineInMenuConfigName[]; | |
72 extern const char kPreviousEngineConfigName[]; | |
73 extern const char kHotkeyNextEngineInMenu[]; | |
74 extern const char kHotkeyPreviousEngine[]; | |
75 | 71 |
76 // --------------------------------------------------------------------------- | 72 // --------------------------------------------------------------------------- |
77 // For Traditional Chinese input method (ibus-mozc-chewing) | 73 // For Traditional Chinese input method (ibus-mozc-chewing) |
78 // --------------------------------------------------------------------------- | 74 // --------------------------------------------------------------------------- |
79 extern const char kChewingSectionName[]; | 75 extern const char kChewingSectionName[]; |
80 | 76 |
81 extern const LanguageBooleanPrefs kChewingBooleanPrefs[]; | 77 extern const LanguageBooleanPrefs kChewingBooleanPrefs[]; |
82 // This is not ideal, but we should hard-code the number here as the value | 78 // This is not ideal, but we should hard-code the number here as the value |
83 // is referenced in other header files as array sizes. We have a | 79 // is referenced in other header files as array sizes. We have a |
84 // COMPILE_ASSERT in .cc to ensure that the number is correct. | 80 // COMPILE_ASSERT in .cc to ensure that the number is correct. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // the login screen. | 162 // the login screen. |
167 extern const char kPreferredKeyboardLayout[]; | 163 extern const char kPreferredKeyboardLayout[]; |
168 | 164 |
169 // Registers non-user prefs for the default keyboard layout on the login screen. | 165 // Registers non-user prefs for the default keyboard layout on the login screen. |
170 void RegisterPrefs(PrefService* local_state); | 166 void RegisterPrefs(PrefService* local_state); |
171 | 167 |
172 } // language_prefs | 168 } // language_prefs |
173 } // chromeos | 169 } // chromeos |
174 | 170 |
175 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 171 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
OLD | NEW |