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

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: rebase, review 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..922a36ba51109e90f37ac56e018f588a044218dc 100644
--- a/ui/aura/event.cc
+++ b/ui/aura/event.cc
@@ -251,4 +251,15 @@ uint16 KeyEvent::GetUnmodifiedCharacter() const {
#endif
}
+TranslatedKeyEvent::TranslatedKeyEvent(const base::NativeEvent& native_event,
+ bool is_char)
+ : KeyEvent(native_event, is_char) {
+}
+
+TranslatedKeyEvent::TranslatedKeyEvent(ui::EventType type,
+ ui::KeyboardCode key_code,
+ int flags)
+ : KeyEvent(type, key_code, flags) {
+}
+
} // namespace aura
« ui/aura/event.h ('K') | « ui/aura/event.h ('k') | ui/aura/event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698