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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 int max_pref_value; | 59 int max_pref_value; |
60 const char* ibus_config_name; | 60 const char* ibus_config_name; |
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[]; | |
70 extern const char kPreloadEnginesConfigName[]; | 69 extern const char kPreloadEnginesConfigName[]; |
71 | 70 |
72 // --------------------------------------------------------------------------- | 71 // --------------------------------------------------------------------------- |
73 // For Traditional Chinese input method (ibus-mozc-chewing) | 72 // For Traditional Chinese input method (ibus-mozc-chewing) |
74 // --------------------------------------------------------------------------- | 73 // --------------------------------------------------------------------------- |
75 extern const char kChewingSectionName[]; | 74 extern const char kChewingSectionName[]; |
76 | 75 |
77 extern const LanguageBooleanPrefs kChewingBooleanPrefs[]; | 76 extern const LanguageBooleanPrefs kChewingBooleanPrefs[]; |
78 // This is not ideal, but we should hard-code the number here as the value | 77 // This is not ideal, but we should hard-code the number here as the value |
79 // is referenced in other header files as array sizes. We have a | 78 // is referenced in other header files as array sizes. We have a |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // the login screen. | 161 // the login screen. |
163 extern const char kPreferredKeyboardLayout[]; | 162 extern const char kPreferredKeyboardLayout[]; |
164 | 163 |
165 // Registers non-user prefs for the default keyboard layout on the login screen. | 164 // Registers non-user prefs for the default keyboard layout on the login screen. |
166 void RegisterPrefs(PrefService* local_state); | 165 void RegisterPrefs(PrefService* local_state); |
167 | 166 |
168 } // language_prefs | 167 } // language_prefs |
169 } // chromeos | 168 } // chromeos |
170 | 169 |
171 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 170 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
OLD | NEW |