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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
6 #define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
8 class PrefRegistrySimple
;
10 // TODO(yusukes): Rename this file to input_method_preference.cc. Since
11 // "language" usually means UI language, the current file name is confusing.
12 // The namespace should also be changed to "namespace input_method {".
14 // This file defines types and declare variables used in "Languages and
15 // Input" settings in Chromium OS.
17 namespace language_prefs
{
19 // ---------------------------------------------------------------------------
20 // For input method engine management
21 // ---------------------------------------------------------------------------
22 extern const char kGeneralSectionName
[];
23 extern const char kPreloadEnginesConfigName
[];
25 // ---------------------------------------------------------------------------
27 // ---------------------------------------------------------------------------
28 // A delay between the first and the start of the rest.
29 extern const int kXkbAutoRepeatDelayInMs
;
30 // An interval between the repeated keys.
31 extern const int kXkbAutoRepeatIntervalInMs
;
33 // A string Chrome preference (Local State) of the preferred keyboard layout in
35 extern const char kPreferredKeyboardLayout
[];
37 // Registers non-user prefs for the default keyboard layout on the login screen.
38 void RegisterPrefs(PrefRegistrySimple
* registry
);
40 } // namespace language_prefs
41 } // namespace chromeos
43 #endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_