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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 10918015: Make HWNDMessageHandler build with use_aura==1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
===================================================================
--- ui/views/win/hwnd_message_handler_delegate.h (revision 154445)
+++ ui/views/win/hwnd_message_handler_delegate.h (working copy)
@@ -156,10 +156,26 @@
// handled by the delegate.
virtual bool HandleMouseEvent(const ui::MouseEvent& event) = 0;
- // Called when a key event is received. Returns true if the event was handled
- // by the delegate.
+ // 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;
+
+ // Called when an IME message needs to be processed by the delegate. Returns
+ // true if the event was handled and no default processing should be
+ // performed.
+ virtual bool HandleIMEMessage(UINT message,
+ WPARAM w_param,
+ LPARAM l_param,
+ LRESULT* result) = 0;
+
+ // Called when the system input language changes.
+ virtual void HandleInputLanguageChange(DWORD character_set,
+ HKL input_language_id) = 0;
+
// Called to compel the delegate to paint |invalid_rect| accelerated. Returns
// true if accelerated painting was performed.
virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) = 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