Skip to content
Commit 15942764 authored by Daniel Andersson's avatar Daniel Andersson Committed by Chromium LUCI CQ
Browse files

focus_mode: Implement a functional skeleton of the web audio player

This CL adds the audio playing part of the focus mode web ui. It adds a
new page (chrome-untrusted://focus-mode-player) that is loaded as an
iframe in chrome://focus-mode-media. The trusted outer frame
communicates with the browser via a mojom interface.

The inner page is needed because pages that communicate with the browser
(like the outer one does via mojom) are not allowed to make external
network requests.

The controller is currently not hooked up to the rest of the focus mode
and will simply respond to requests with a hardcoded track.

BUG=b:337064323

Change-Id: I16ff29f95484e5815bf4d563d153709df09b7411
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5560397


Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarSean Kau <skau@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1311765}
parent c917e580
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment