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

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

Issue 2597413002: Makes the InputMethodEngine can be switched per profile when the top-level browser window is switch… (Closed)
Patch Set: . Created 4 years 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/base/ime/chromeos/mock_ime_engine_handler.cc ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/ime_engine_handler_interface.h
diff --git a/ui/base/ime/ime_engine_handler_interface.h b/ui/base/ime/ime_engine_handler_interface.h
index 3987085386a0a7a85f7675559126305ceafd6cc0..242f1c781d70ec4c9b6027d083f87e8ff63cdf04 100644
--- a/ui/base/ime/ime_engine_handler_interface.h
+++ b/ui/base/ime/ime_engine_handler_interface.h
@@ -71,6 +71,10 @@ class UI_BASE_IME_EXPORT IMEEngineHandlerInterface {
// Called when the IME is reset.
virtual void Reset() = 0;
+ // Called when the top-level-window is changed, which could switch the engine
+ // handler.
+ virtual void MaybeSwitchEngine() = 0;
+
// Called when the key event is received.
// Actual implementation must call |callback| after key event handling.
virtual void ProcessKeyEvent(const KeyEvent& key_event,
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_engine_handler.cc ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698