browser: allow non-Renderer processes to bind to ui::mojo::Gpu interface
Currently, when ui::mojo::Gpu interface is exposed by the Browser process (kMash feature is not enabled), only the binding requests from the Renderer processes are being handled. For certain devices and applications, it is desirable to access the ui::mojo::Gpu interface from a non-Renderer process, in order for that process to access video encode/decode accelerators hosted in the GPU process. This CL will allow other processes to bind to ui::mojom::Gpu interface hosted by the Browser process (assuming allowed by the manifest), by also handling ui::mojom::Gpu interface binding requests in CommonBrowserInterface. The handling for ui::mojom::Gpu interface binding requests from Renderer processes will stay the same. Bug: 836874 Test: run content_browsertests Change-Id: Ib1e3751d8c593a3c8d29096e7dc9cc609f6a1fa4 Reviewed-on: https://chromium-review.googlesource.com/1028556Reviewed-by:Ken Rockot <rockot@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Commit-Queue: Peter Qiu <zqiu@chromium.org> Cr-Commit-Position: refs/heads/master@{#564814}
Showing
Please register or sign in to comment