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

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

Issue 2700933002: Updates the IME state when necessary when switching top-level windows. (Closed)
Patch Set: . Created 3 years, 10 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 | « no previous file | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_win.h
diff --git a/ui/base/ime/input_method_win.h b/ui/base/ime/input_method_win.h
index 9478ac205123bb6ac79e07053f47cd406fc140ea..1eab715f5ba77675ddcf6fb8ab5c26cab72f8686 100644
--- a/ui/base/ime/input_method_win.h
+++ b/ui/base/ime/input_method_win.h
@@ -23,6 +23,9 @@ class UI_BASE_IME_EXPORT InputMethodWin : public InputMethodBase {
HWND toplevel_window_handle);
~InputMethodWin() override;
+ // Overridden from InputMethodBase:
+ void OnFocus() override;
+
// Overridden from InputMethod:
bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
NativeEventResult* result) override;
@@ -88,6 +91,8 @@ class UI_BASE_IME_EXPORT InputMethodWin : public InputMethodBase {
LRESULT OnReconvertString(RECONVERTSTRING* reconv);
LRESULT OnQueryCharPosition(IMECHARPOSITION* char_positon);
+ void RefreshInputLanguage();
+
// Returns true if the Win32 native window bound to |client| is considered
// to be ready for receiving keyboard input.
bool IsWindowFocused(const TextInputClient* client) const;
« no previous file with comments | « no previous file | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698