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

Unified Diff: ui/base/ime/remote_input_method_win.h

Issue 1267483003: Combine the WM_CHAR with WM_KEY* for key event flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed robliao@'s comments. Created 5 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
Index: ui/base/ime/remote_input_method_win.h
diff --git a/ui/base/ime/remote_input_method_win.h b/ui/base/ime/remote_input_method_win.h
index 3f822cfe4947a7b66c0f7b996dbbfea2872682c3..e5397051cdf6ef477f5db47bfde5f4f75859c707 100644
--- a/ui/base/ime/remote_input_method_win.h
+++ b/ui/base/ime/remote_input_method_win.h
@@ -91,6 +91,12 @@ class UI_BASE_IME_EXPORT RemoteInputMethodPrivateWin {
// type of the focused text input client is TEXT_INPUT_TYPE_NONE.
virtual void OnTextCommitted(const base::string16& text) = 0;
+ // Handles the translated WM_CHAR from WM_KEYDOWN/WM_KEYUP.
+ // This method is called when the WM_CHAR occurs with a WM_KEYDOWN/WM_KEYUP,
+ // thus it needs to be cached and will be processed once a key event is
+ // received.
+ virtual void OnCharForNextKeyEvent(base::char16 ch) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(RemoteInputMethodPrivateWin);
};

Powered by Google App Engine
This is Rietveld 408576698