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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.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
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler_delegate.h
diff --git a/ui/views/win/hwnd_message_handler_delegate.h b/ui/views/win/hwnd_message_handler_delegate.h
index e773b817701fed13e86e2119b5b40e03560eca4c..6592a890f25866d66b9a1151a18bea197fb1c6a1 100644
--- a/ui/views/win/hwnd_message_handler_delegate.h
+++ b/ui/views/win/hwnd_message_handler_delegate.h
@@ -166,13 +166,9 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate {
// handled by the delegate.
virtual bool HandleMouseEvent(const ui::MouseEvent& event) = 0;
- // Called when a translated key event is received (i.e. post IME translation.)
- // Returns true if the event was handled by the delegate.
- virtual bool HandleKeyEvent(const ui::KeyEvent& event) = 0;
-
// Called when an untranslated key event is received (i.e. pre-IME
- // translation). Returns true if the event was sent to the input method.
- virtual bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) = 0;
+ // translation).
+ virtual void HandleKeyEvent(ui::KeyEvent* event) = 0;
// Called when a touch event is received.
virtual void HandleTouchEvent(const ui::TouchEvent& event) = 0;
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698