Add MediaAccessHandler for getDisplayMedia()

This CL adds a new permission handler for getDisplayMedia(). It uses
DesktopMediaPickerFactoryImpl as common implementation to trigger the
same picker UI as extensions. It also adds unit test that exercises
the new code path.

Bug: 326740
Change-Id: I3007124226d2b017ba06877a1bbcc87f3bc2f9a3
Reviewed-by: Avi Drissman <>
Reviewed-by: Sergey Ulanov <>
Reviewed-by: Xiangjun Zhang <>
Reviewed-by: Weiyong Yao <>
Commit-Queue: Emircan Uysaler <>
Cr-Commit-Position: refs/heads/master@{#582835}
16 files changed