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

Unified Diff: ui/aura_shell/shell_accelerator_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/shell_accelerator_filter.cc
diff --git a/ui/aura_shell/shell_accelerator_filter.cc b/ui/aura_shell/shell_accelerator_filter.cc
index 1a971220b406af726df2c2986ed528abb5e0a5a1..3e7cd305fc4de63d4efa742ed253bac55902ec74 100644
--- a/ui/aura_shell/shell_accelerator_filter.cc
+++ b/ui/aura_shell/shell_accelerator_filter.cc
@@ -35,6 +35,12 @@ ShellAcceleratorFilter::~ShellAcceleratorFilter() {
bool ShellAcceleratorFilter::PreHandleKeyEvent(aura::Window* target,
aura::KeyEvent* event) {
+ return false;
+}
+
+bool ShellAcceleratorFilter::PreHandleTranslatedKeyEvent(
+ aura::Window* target,
+ aura::TranslatedKeyEvent* event) {
if (event->type() == ui::ET_KEY_PRESSED && !event->is_char()) {
return Shell::GetInstance()->accelerator_controller()->Process(
ui::Accelerator(event->key_code(),

Powered by Google App Engine
This is Rietveld 408576698