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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 302 |
303 // Notify the IME menu activation changed if the current profile's activation | 303 // Notify the IME menu activation changed if the current profile's activation |
304 // is different from previous. | 304 // is different from previous. |
305 virtual void MaybeNotifyImeMenuActivationChanged() = 0; | 305 virtual void MaybeNotifyImeMenuActivationChanged() = 0; |
| 306 |
| 307 // Overrides the keyboard url ref (stuff following '#' to the end of the |
| 308 // string) with the given keyset (emoji, handwriting or voice). |
| 309 virtual void OverrideKeyboardUrlRef(const std::string& keyset) = 0; |
| 310 |
| 311 // Returns whether the extra inputs: emoji, handwriting and voice inputs on |
| 312 // opt-in IME menu has been enabled. |
| 313 virtual bool IsEmojiHandwritingVoiceOnImeMenuEnabled() = 0; |
306 }; | 314 }; |
307 | 315 |
308 } // namespace input_method | 316 } // namespace input_method |
309 } // namespace chromeos | 317 } // namespace chromeos |
310 | 318 |
311 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ | 319 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ |
OLD | NEW |