Chromium Code Reviews| Index: chrome/browser/chromeos/preferences.cc |
| diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc |
| index d25473dc5b53b82c45e00ea12c1eb0595ae07678..3461607b53fad1d9fdcb72897188527582e171cb 100644 |
| --- a/chrome/browser/chromeos/preferences.cc |
| +++ b/chrome/browser/chromeos/preferences.cc |
| @@ -92,8 +92,10 @@ void Preferences::RegisterProfilePrefs( |
| input_method::InputMethodManager* manager = |
| input_method::InputMethodManager::Get(); |
| if (manager) { |
| - hardware_keyboard_id = |
| - manager->GetInputMethodUtil()->GetHardwareInputMethodId(); |
| + std::vector<std::string> hardware_layouts; |
|
Alexander Alekseev
2014/02/11 13:36:02
#include <vector>
Seigo Nonaka
2014/02/12 13:21:02
Done.
|
| + manager->GetInputMethodUtil()->GetHardwareInputMethodIds( |
| + &hardware_layouts); |
| + hardware_keyboard_id = JoinString(hardware_layouts, ','); |
| } |
| } else { |
| hardware_keyboard_id = "xkb:us::eng"; // only for testing. |