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

Unified Diff: ui/aura_shell/modality_event_filter.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_shell/modality_event_filter.cc
diff --git a/ui/aura_shell/modality_event_filter.cc b/ui/aura_shell/modality_event_filter.cc
index 0df6a53a21c51299c54b325d4c7fb5f83490efc1..0e399461021195cc1af9d94580e5e35a7e75134b 100644
--- a/ui/aura_shell/modality_event_filter.cc
+++ b/ui/aura_shell/modality_event_filter.cc
@@ -21,6 +21,12 @@ ModalityEventFilter::~ModalityEventFilter() {
bool ModalityEventFilter::PreHandleKeyEvent(aura::Window* target,
aura::KeyEvent* event) {
+ return false;
+}
+
+bool ModalityEventFilter::PreHandleTranslatedKeyEvent(
+ aura::Window* target,
+ aura::TranslatedKeyEvent* event) {
return !delegate_->CanWindowReceiveEvents(target);
}

Powered by Google App Engine
This is Rietveld 408576698