• rob's avatar
    Remove MediaSettingChanged infobar and show the latest state of the media stream · 1fb9a9bd
    rob authored
    settings in the content settings bubble.
    
    The reload infobar is no longer displayed when the media stream content settings
    change. Instead, a small hint is displayed in the bubble when it is re-opened
    after changing a media stream setting.
    
    This hint is always displayed when the camera/microphone permission changes.
    When the media device preference changes, the hint is only displayed if there
    was at least one active media capture.
    
    Also added a bunch of tests for the media menu because they had no test coverage.
    
    BUG=405522
    TEST=ContentSettingBubbleModelTest.*Media*
    
    Review URL: https://codereview.chromium.org/588153003
    
    Cr-Commit-Position: refs/heads/master@{#296913}
    1fb9a9bd
chrome_browser_ui.gypi 160 KB