| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
| 6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 virtual void SetState(scoped_refptr<State> state) = 0; | 292 virtual void SetState(scoped_refptr<State> state) = 0; |
| 293 | 293 |
| 294 // Activates or deactivates the IME Menu. | 294 // Activates or deactivates the IME Menu. |
| 295 virtual void ImeMenuActivationChanged(bool is_active) = 0; | 295 virtual void ImeMenuActivationChanged(bool is_active) = 0; |
| 296 | 296 |
| 297 // Notifies the input.ime.setMenuItems or input.ime.updateMenuItems API is | 297 // Notifies the input.ime.setMenuItems or input.ime.updateMenuItems API is |
| 298 // called to update the IME menu items. | 298 // called to update the IME menu items. |
| 299 virtual void NotifyImeMenuItemsChanged( | 299 virtual void NotifyImeMenuItemsChanged( |
| 300 const std::string& engine_id, | 300 const std::string& engine_id, |
| 301 const std::vector<MenuItem>& items) = 0; | 301 const std::vector<MenuItem>& items) = 0; |
| 302 |
| 303 // Notify the IME menu activation changed if the current profile's activation |
| 304 // is different from previous. |
| 305 virtual void MaybeNotifyImeMenuActivationChanged() = 0; |
| 302 }; | 306 }; |
| 303 | 307 |
| 304 } // namespace input_method | 308 } // namespace input_method |
| 305 } // namespace chromeos | 309 } // namespace chromeos |
| 306 | 310 |
| 307 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 311 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
| OLD | NEW |