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. 4 5#ifndef CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ 6#define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ 7 8class PrefRegistrySimple; 9 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 {". 13 14// This file defines types and declare variables used in "Languages and 15// Input" settings in Chromium OS. 16namespace chromeos { 17namespace language_prefs { 18 19// --------------------------------------------------------------------------- 20// For input method engine management 21// --------------------------------------------------------------------------- 22extern const char kGeneralSectionName[]; 23extern const char kPreloadEnginesConfigName[]; 24 25// --------------------------------------------------------------------------- 26// For keyboard stuff 27// --------------------------------------------------------------------------- 28// A delay between the first and the start of the rest. 29extern const int kXkbAutoRepeatDelayInMs; 30// An interval between the repeated keys. 31extern const int kXkbAutoRepeatIntervalInMs; 32 33// A string Chrome preference (Local State) of the preferred keyboard layout in 34// the login screen. 35extern const char kPreferredKeyboardLayout[]; 36 37// Registers non-user prefs for the default keyboard layout on the login screen. 38void RegisterPrefs(PrefRegistrySimple* registry); 39 40} // namespace language_prefs 41} // namespace chromeos 42 43#endif // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_ 44