Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

language_preferences.h

// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_
#define CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_

namespace chromeos {

// For Korean IME (ibus-hangul)
const struct HangulKeyboardNameIDPair {
  const wchar_t* keyboard_name;
  const wchar_t* keyboard_id;
} kHangulKeyboardNameIDPairs[] = {
  // We have to sync the IDs with those in ibus-hangul/files/setup/main.py.
  { L"Dubeolsik", L"2" },
  { L"Sebeolsik Final", L"3f" },
  { L"Sebeolsik 390", L"39" },
  { L"Sebeolsik No-shift", L"3s" },
  { L"Sebeolsik 2 set", L"32" },
  // TODO(yusukes): Use generated_resources.grd IDs for |keyboard_name|. Ask
  // jshin first.
};

// For ibus-daemon
// TODO(yusukes): We'll add more "next engine" hot-keys.
const wchar_t kHotkeyNextEngine[] = L"Control+space";
const wchar_t kHotkeyTrigger[] = L"";  // We don't allow users to disable IBus.

// For Simplified Chinese IME (ibus-pinyin)
// For Traditional Chinese IME (ibus-chewing)
// For Japanese IME (ibus-google-japanese-input)

// TODO(yusukes): Add constants for these components.
}  // chromeos

#endif  // CHROME_BROWSER_CHROMEOS_LANGUAGE_PREFERENCES_H_


Generated by  Doxygen 1.6.0   Back to index