Introduce DisplayController mojom API
This CL is part of a migration of all interactions with the Libassistant 3rd party library to a mojom service. Currently Libassistant is invoked directly from the browser thread. This specific CL focuses on the display controller, which in the current Libassistant V1 API has 2 jobs: - Configure Libassistant parameters that only apply to devices which have a display (as opposed to for example Google home devices). - Receive updates about the user speech input volume. In the new Libassistant V2 API, the first job is handled by the display service (http://shortn/_XZThaXrQKb), while the second job is handled by a newly introduce recognition event API (http://shortn/_GyiHLrIRtn). As such, this CL also introduces 2 distinct mojom files to handle these different jobs. Bug: b/177471991 Bug: 1168230 Test: compiled & deployed on real hardware Change-Id: Ic404db5b29d9c12332b584501a43012b9ee8312d Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625963 Commit-Queue: Jeroen Dhollander <jeroendh@chromium.org> Reviewed-by:Sam McNally <sammc@chromium.org> Reviewed-by:
Meilin Wang <meilinw@chromium.org> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#845291}
Showing
Please register or sign in to comment