DescriptionTabs being screen-captured will fullscreen within their tab contents area.
Note: This change in behavior only applies when the --embed-flash-fullscreen experimental flag is enabled.
This change adds additional logic to FullscreenController to prevent the browser window from entering fullscreen if a tab is being screen-captured. This allows the user to retain control of their desktop to work in other browser tabs or applications while the fullscreen view is displayed on a remote screen (e.g., a Chromecast receiver).
Furthermore, if a user switches to a different tab, FullscreenController will set the size of the hidden view to the video resolution of the capture. This is both a quality and performance improvement as harmful scaling and letterboxing can be skipped.
BUG=256870
TEST=New FullscreenController state tests. Ran all disabled FullscreenControllerInteractiveTests (in interactive_ui_tests). Also confirmed all new functionality manually.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250872
Patch Set 1 #
Total comments: 36
Patch Set 2 : Addressed scheib's review comments. Rebased. #
Total comments: 4
Patch Set 3 : Add DCHECK to make sure tab capture isn't started after tab fullscreen. #
Messages
Total messages: 12 (0 generated)
|