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

Unified Diff: ui/aura/event.cc

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved IME code to aura_shell, not ready for review though Created 9 years 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
Index: ui/aura/event.cc
diff --git a/ui/aura/event.cc b/ui/aura/event.cc
index 5cb2fd8f1f756f819cd9f1c9a29e550c2dde013a..3f417fdfdc6bd83e4a3289d335ed78204efcaa10 100644
--- a/ui/aura/event.cc
+++ b/ui/aura/event.cc
@@ -183,6 +183,7 @@ KeyEvent::KeyEvent(const base::NativeEvent& native_event, bool is_char)
ui::EventFlagsFromNative(native_event)),
key_code_(ui::KeyboardCodeFromNative(native_event)),
is_char_(is_char),
+ skip_ime_(false),
character_(0),
unmodified_character_(0) {
}
@@ -193,6 +194,7 @@ KeyEvent::KeyEvent(ui::EventType type,
: Event(type, flags),
key_code_(key_code),
is_char_(false),
+ skip_ime_(false),
character_(ui::GetCharacterFromKeyCode(key_code, flags)),
unmodified_character_(0) {
}

Powered by Google App Engine
This is Rietveld 408576698