[go: nahoru, domu]

blob: aa7d1701e14dde515242be86e105f165f171db31 [file] [log] [blame]
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/language_preferences.h"
#include "components/prefs/pref_registry_simple.h"
namespace ash {
namespace language_prefs {
// ---------------------------------------------------------------------------
// For ibus-daemon
// ---------------------------------------------------------------------------
const char kGeneralSectionName[] = "general";
const char kPreloadEnginesConfigName[] = "preload_engines";
// ---------------------------------------------------------------------------
// For keyboard stuff
// ---------------------------------------------------------------------------
const char kPreferredKeyboardLayout[] = "PreferredKeyboardLayout";
void RegisterPrefs(PrefRegistrySimple* registry) {
// We use an empty string here rather than a hardware keyboard layout name
// since input_method::GetHardwareInputMethodId() might return a fallback
// layout name if registry->RegisterStringPref(kHardwareKeyboardLayout)
// is not called yet.
registry->RegisterStringPref(kPreferredKeyboardLayout, "");
}
} // namespace language_prefs
} // namespace ash