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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager_impl.h

Issue 2274013003: Keeps the opt-in IME menu in lock screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Send message when switch user. Created 4 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: chrome/browser/chromeos/input_method/input_method_manager_impl.h
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.h b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
index 64d16a9673070cd76232d3768f0ec6e6e995c185..0a4eff396bb7942e60dec551579189c664a6f4f0 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
@@ -171,6 +171,7 @@ class InputMethodManagerImpl : public InputMethodManager,
void NotifyImeMenuItemsChanged(
const std::string& engine_id,
const std::vector<InputMethodManager::MenuItem>& items) override;
+ bool GetImeMenuActivation(Profile* profile) override;
// chromeos::UserAddingScreen:
void OnUserAddingStarted() override;
@@ -292,6 +293,9 @@ class InputMethodManagerImpl : public InputMethodManager,
typedef std::map<Profile*, EngineMap, ProfileCompare> ProfileEngineMap;
ProfileEngineMap engine_map_;
+ // The opt-in IME menu activation state of each profile.
+ std::map<Profile*, bool> menu_map_;
stevenjb 2016/08/26 17:15:02 This should be named something like 'menu_activate
Azure Wei 2016/08/26 21:59:59 Done.
+
DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698