Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: chromeos/ime/ime_keyboard.h

Issue 683773002: Adds ozone support for ime keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/ime/fake_ime_keyboard.cc ('k') | chromeos/ime/ime_keyboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chromeos/ime/fake_ime_keyboard.cc ('k') | chromeos/ime/ime_keyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698