forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tab Capture] Honor capture size aspect ratio
This patch changes the WCVCD preferred size calculation to honor the aspect ratio of the capture size. If the requested capture size is larger than the view/screen size, it is scaled to fit within the bounds of the screen but with the same resolution. Bug: 1194803 Change-Id: If74320f382643748983bcff9371b351922238e74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2844952 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org> Cr-Commit-Position: refs/heads/master@{#875773}
- Loading branch information
Showing
2 changed files
with
130 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters