• Takumi Fujimoto's avatar
    [Harmony Cast Dialog] Add local files as a source · 7a07736b
    Takumi Fujimoto authored
    Add local files as one of the options in the sources dropdown. When it
    is selected, a file picker dialog is opened via MediaRouterViewsUI. After
    selecting a file, the user can select a sink to start casting.
    
    The dialog has a functionality to close itself on blur, which will be
    disabled while a file picker is open, and when the file is opened in a
    new tab, to prevent the dialog from closing at those moments.
    
    Bug: 842787
    Change-Id: I3e9ebf0b1958c026f418111feb792a9d94fce533
    Reviewed-on: https://chromium-review.googlesource.com/c/1299657
    Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
    Reviewed-by: default avatarmark a. foltz <mfoltz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#607337}
    7a07736b
cast_dialog_controller.h 2.03 KB