Contact emailselada...@chromium.org

Explainer
https://github.com/eladalon1983/conditional-focus/blob/main/README.md

Specificationhttps://eladalon1983.github.io/conditional-focus/

Summary

Extend the getDisplayMedia APIs to ensure that tab-capture and
window-capture return a new subclass of MediaStreamTrack called
FocusableMediaStreamTrack. This new subclass exposes the focus() method.
This new method allows Web-applications, when capture starts, to decide
whether the captured tab/window should be immediately focused, or whether
the capturing tab+window should remain the focused one.

Blink componentBlink
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink>

Motivation

Consider a video-conferencing Web-application capturing another tab/window.
When the capture is initiated, the active tab and window are those in which
the VC application is running. Should the browser activate the captured
tab/window instead? It depends. Let’s examine the hypothetical example of a
video-conferencing application called VC3000. * If the captured source is
an interactive page like a text editor, VC3000 believes it best to switch
focus immediately, allowing the user to control it directly. * If the
captured application is a remote-controllable application (using Capture
Handle to establish the connection), then VC3000 believes it best to retain
focus, because it can expose user-controls in itself and allow the user to
interact with the captured tab without ever leaving VC3000. For example, if
capturing a presentation, VC3000 might expose previous/next-slide controls.
The application wants to control whether focus moves to the captured
application when the capture starts. The user also benefits from this
decision’s delegation, so long as it can be done safely.

Initial public proposal
https://github.com/w3c/mediacapture-screen-share/issues/190

TAG reviewTBD

TAG review statusPending

Risks


Interoperability and Compatibility



Gecko: No signal

WebKit: No signal

Web developers: No signals


Debuggability

N/A

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?No

Flag nameConditionalFocus

Requires code in //chrome?True

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1215480

Launch bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1214483

Estimated milestones

m96


Link to entry on the Chrome Platform Status
https://www.chromestatus.com/feature/5646614535340032

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMO6jDN41MeSPpjvNYgfgaHUO3zvQFJGHr_Tqr0jX%3D%3D66uQdFw%40mail.gmail.com.

Reply via email to