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 | 7 |
8 #include <stddef.h> // For size_t | 8 #include <stddef.h> // For size_t |
9 | 9 |
10 #include "chrome/browser/prefs/pref_registry_syncable.h" | 10 #include "components/user_prefs/pref_registry_syncable.h" |
11 | 11 |
12 class PrefRegistrySimple; | 12 class PrefRegistrySimple; |
13 | 13 |
14 // TODO(yusukes): Rename this file to input_method_preference.cc. Since | 14 // TODO(yusukes): Rename this file to input_method_preference.cc. Since |
15 // "language" usually means UI language, the current file name is confusing. | 15 // "language" usually means UI language, the current file name is confusing. |
16 // The namespace should also be changed to "namespace input_method {". | 16 // The namespace should also be changed to "namespace input_method {". |
17 | 17 |
18 // This file defines types and declare variables used in "Languages and | 18 // This file defines types and declare variables used in "Languages and |
19 // Input" settings in Chromium OS. | 19 // Input" settings in Chromium OS. |
20 namespace chromeos { | 20 namespace chromeos { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // the login screen. | 162 // the login screen. |
163 extern const char kPreferredKeyboardLayout[]; | 163 extern const char kPreferredKeyboardLayout[]; |
164 | 164 |
165 // 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. |
166 void RegisterPrefs(PrefRegistrySimple* registry); | 166 void RegisterPrefs(PrefRegistrySimple* registry); |
167 | 167 |
168 } // language_prefs | 168 } // language_prefs |
169 } // chromeos | 169 } // chromeos |
170 | 170 |
171 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ | 171 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ |
OLD | NEW |