Skip to content

Commit

Permalink
Add "focus-capturing-application" CaptureStartFocusBehavior
Browse files Browse the repository at this point in the history
This CL adds support for "focus-capturing-application"
CaptureStartFocusBehavior. It behaves the same as "no-focus-change".

Spec PR: w3c/mediacapture-screen-share#270
Intent to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/B2jT8PG8Lww

Bug: 1480383
Change-Id: Ibd0ce6b1f5fb83f5edc11fc6a7d47ccb5259ceae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4847118
Reviewed-by: Elad Alon <eladalon@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1202540}
  • Loading branch information
beaufortfrancois authored and chromium-wpt-export-bot committed Sep 28, 2023
1 parent 51bc43d commit 8e3307f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

'use strict';

const validFocusBehaviors = ['focus-captured-surface', 'no-focus-change'];
const validFocusBehaviors = [
'focus-capturing-application', 'focus-captured-surface', 'no-focus-change'
];
const validDisplaySurfaces = ['window', 'browser'];

test(() => {
Expand Down

0 comments on commit 8e3307f

Please sign in to comment.