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

Unified Diff: ui/aura/root_window.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/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:
« ui/aura/event.h ('K') | « ui/aura/event_filter.h ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698