| 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..24bf58a8a629dc172204232e1bbeb43095cc72c9 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;
|
| @@ -284,14 +285,14 @@ class InputMethodManagerImpl : public InputMethodManager,
|
| // Whether load IME extensions.
|
| bool enable_extension_loading_;
|
|
|
| - // Whether the expanded IME menu is activated.
|
| - bool is_ime_menu_activated_;
|
| -
|
| // The engine map from extension_id to an engine.
|
| typedef std::map<std::string, ui::IMEEngineHandlerInterface*> EngineMap;
|
| 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_activated_for_profile_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl);
|
| };
|
|
|
|
|