Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / chromeos / language_preferences.h
blob00bb32d8b954be9b5f530b975ca01b9681a8fa39
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.
16 namespace chromeos {
17 namespace language_prefs {
19 // ---------------------------------------------------------------------------
20 // For input method engine management
21 // ---------------------------------------------------------------------------
22 extern const char kGeneralSectionName[];
23 extern const char kPreloadEnginesConfigName[];
25 // ---------------------------------------------------------------------------
26 // For keyboard stuff
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
34 // the login screen.
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_