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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.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
Index: chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h b/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h
index 011015e56ae1402a8defb0580c5c4d51cb4061b9..da76c4637c6b1acbcaf11441cf6e4b6a7a3a5b11 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.h
@@ -41,6 +41,10 @@ class InputImeEventRouter : public InputImeEventRouterBase {
// previous engine if another extension was active.
void SetActiveEngine(const std::string& extension_id);
+ input_method::InputMethodEngine* active_engine() {
+ return active_engine_;
+ }
+
// Deletes the current input method engine of the specific extension.
void DeleteInputMethodEngine(const std::string& extension_id);

Powered by Google App Engine
This is Rietveld 408576698