Chromium Code Reviews| Index: chrome/browser/chromeos/input_method/input_method_util.h |
| diff --git a/chrome/browser/chromeos/input_method/input_method_util.h b/chrome/browser/chromeos/input_method/input_method_util.h |
| index 0dd7897a789aad8b1828f886196bb67937234de6..63e08b980308ded4bcff3239b2e7772dc8c18278 100644 |
| --- a/chrome/browser/chromeos/input_method/input_method_util.h |
| +++ b/chrome/browser/chromeos/input_method/input_method_util.h |
| @@ -94,6 +94,13 @@ std::string GetInputMethodDisplayNameFromId(const std::string& input_method_id); |
| const InputMethodDescriptor* GetInputMethodDescriptorFromId( |
| const std::string& input_method_id); |
| +// Converts a XKB layout ID to an input method descriptor. Returns NULL when |
|
mazda
2011/08/17 02:13:27
nit: an XKB
Yusuke Sato
2011/08/17 02:30:21
Done.
|
| +// |xkb_id| is unknown. |
| +// Example: "us(dvorak)" => { id: "xkb:us:dvorak:eng", display_name: "US Dv..", |
| +// keyboard_layout: "us(dvorak)", language_code: "eng" } |
| +const InputMethodDescriptor* GetInputMethodDescriptorFromXkbId( |
| + const std::string& xkb_id); |
| + |
| // Converts a language code to a language display name, using the |
| // current application locale. MaybeRewriteLanguageName() is called |
| // internally. |