Index: ui/aura/root_window.h |
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h |
index 52640dc4988dfb4afad2f95f625a89361982aec4..387e87286ed4931d7cfed1051fdbd48ab2ab362e 100644 |
--- a/ui/aura/root_window.h |
+++ b/ui/aura/root_window.h |
@@ -39,6 +39,7 @@ class MouseEvent; |
class ScreenAura; |
class StackingClient; |
class TouchEvent; |
+class TranslatedKeyEvent; |
// RootWindow is responsible for hosting a set of windows. |
class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
@@ -85,6 +86,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
// Handles a key event. Returns true if handled. |
bool DispatchKeyEvent(KeyEvent* event); |
+ // Handles a translated key event. Returns true if handled. |
+ bool DispatchTranslatedKeyEvent(TranslatedKeyEvent* event); |
+ |
// Handles a touch event. Returns true if handled. |
bool DispatchTouchEvent(TouchEvent* event); |
@@ -149,6 +153,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
bool ProcessMouseEvent(Window* target, MouseEvent* event); |
bool ProcessKeyEvent(Window* target, KeyEvent* event); |
+ bool ProcessTranslatedKeyEvent(Window* target, TranslatedKeyEvent* event); |
ui::TouchStatus ProcessTouchEvent(Window* target, TouchEvent* event); |
// Overridden from Window: |