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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 1236923003: Makes DesktopWindowTreeHostXxx to dispatch key event to InputMethod. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODO. Created 5 years, 5 months 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/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 787372d9c26811da951f50cd56db9e47398a5f21..73e9e3e6fa7d4b15eb2c0516afe973292397b108 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -209,6 +209,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
// and dispatched to that host instead.
void DispatchTouchEvent(ui::TouchEvent* event);
+ // Dispatches a key event.
+ void DispatchKeyEvent(ui::KeyEvent* event);
+
// Updates the location of |located_event| to be in |host|'s coordinate system
// so that it can be dispatched to |host|.
void ConvertEventToDifferentHost(ui::LocatedEvent* located_event,

Powered by Google App Engine
This is Rietveld 408576698