Chromium Code Reviews| Index: chromeos/ime/ime_keyboard.h |
| diff --git a/chromeos/ime/ime_keyboard.h b/chromeos/ime/ime_keyboard.h |
| index cca70eca6e4174cd2392b48189b5a3fb1bf8a3f6..e1d03e03e5e0a82275794ecc93e3d19b1dd4c4ab 100644 |
| --- a/chromeos/ime/ime_keyboard.h |
| +++ b/chromeos/ime/ime_keyboard.h |
| @@ -32,6 +32,53 @@ enum ModifierKey { |
| kNumModifierKeys, |
| }; |
| +const char *kISOLevel5ShiftLayoutIds[] = { |
| + "ca(multix)", |
| + "de(neo)", |
| +}; |
| + |
| +const char *kAltGrLayoutIds[] = { |
| + "be", |
| + "be", |
| + "be", |
| + "bg", |
| + "bg(phonetic)", |
| + "br", |
| + "ca", |
| + "ca(eng)", |
| + "ca(multix)", |
| + "ch", |
| + "ch(fr)", |
| + "cz", |
| + "de", |
| + "de(neo)", |
| + "dk", |
| + "ee", |
| + "es", |
| + "es(cat)", |
| + "fi", |
| + "fr", |
| + "gb(dvorak)", |
| + "gb(extd)", |
| + "gr", |
| + "hr", |
| + "il", |
| + "it", |
| + "latam", |
| + "lt", |
| + "no", |
| + "pl", |
| + "pt", |
| + "ro", |
| + "se", |
| + "si", |
| + "sk", |
| + "tr", |
| + "ua", |
| + "us(altgr-intl)", |
| + "us(intl)", |
| +}; |
|
Shu Chen
2014/10/28 07:10:44
Please move the white lists into ime_keyboard.cc f
FengYuan
2014/10/28 08:02:47
Done.
|
| + |
| class InputMethodUtil; |
| class CHROMEOS_EXPORT ImeKeyboard { |
| @@ -111,8 +158,15 @@ class CHROMEOS_EXPORT ImeKeyboard { |
| // Note: At this moment, classes other than InputMethodManager should not |
| // instantiate the ImeKeyboard class. |
| static ImeKeyboard* Create(); |
| + |
| + bool caps_lock_is_enabled_; |
| + std::string last_layout_; |
| + |
| + protected: |
| + ObserverList<Observer> observers_; |
| }; |
| + |
| } // namespace input_method |
| } // namespace chromeos |