content: Split out VideoCaptureMachine from DesktopCaptureDeviceAura
This refactoring would allow the creation of capturing devices without having a
DesktopMediaID. This change pulls the DesktopVideoCaptureMachine class out from
DesktopCaptureDeviceAura and renames it to AuraWindowCaptureMachine. The class
is also refactored to take the target window (rather than a DesktopMediaID)
after construction through a SetWindow method.
BUG=425060
TEST=Using Chrome Cast beta extension and capture both screen and window
and observe that the capture works correctly and that histogram values
are updated.
Review URL: https://codereview.chromium.org/974513002
Cr-Commit-Position: refs/heads/master@{#320953}
6 files changed