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

Unified Diff: ui/aura_shell/root_window_event_filter.h

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/root_window_event_filter.h
diff --git a/ui/aura_shell/root_window_event_filter.h b/ui/aura_shell/root_window_event_filter.h
index 8392aa461397512b7d1630fcef2e1cf435385feb..1a5bda9bb3b015344737a54d729a43db5003fdf3 100644
--- a/ui/aura_shell/root_window_event_filter.h
+++ b/ui/aura_shell/root_window_event_filter.h
@@ -34,6 +34,9 @@ class AURA_SHELL_EXPORT RootWindowEventFilter : public aura::EventFilter {
// Overridden from EventFilter:
virtual bool PreHandleKeyEvent(aura::Window* target,
aura::KeyEvent* event) OVERRIDE;
+ virtual bool PreHandleTranslatedKeyEvent(
+ aura::Window* target,
+ aura::TranslatedKeyEvent* event) OVERRIDE;
virtual bool PreHandleMouseEvent(aura::Window* target,
aura::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target,
@@ -47,6 +50,8 @@ class AURA_SHELL_EXPORT RootWindowEventFilter : public aura::EventFilter {
// Dispatches event to additional filters. Returns false or
// ui::TOUCH_STATUS_UNKNOWN if event is consumed.
bool FilterKeyEvent(aura::Window* target, aura::KeyEvent* event);
+ bool FilterTranslatedKeyEvent(aura::Window* target,
+ aura::TranslatedKeyEvent* event);
bool FilterMouseEvent(aura::Window* target, aura::MouseEvent* event);
ui::TouchStatus FilterTouchEvent(aura::Window* target,
aura::TouchEvent* event);

Powered by Google App Engine
This is Rietveld 408576698