• Tommy Steimel's avatar
    GMC: Go back to tab when header is clicked · 4684ee5a
    Tommy Steimel authored
    This CL makes MediaNotificationView notify its container when the
    header is clicked. This allows GMC's MediaNotificationContainerImplView
    to handle header clicks as if the container itself was clicked (which
    is fine since clicking the header on GMC has no effect since we hide
    the expand button).
    
    This fixes an issue where if the user clicked on the header (which is
    visually indistinguishable from the rest of the notification) then we
    would not go back to tab.
    
    Bug: 1020300
    Change-Id: I7640b4d268871f2fe49c87c3b174f4a49e716500
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894190Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Reviewed-by: default avatarJazz Xu <jazzhsu@chromium.org>
    Commit-Queue: Tommy Steimel <steimel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#711425}
    4684ee5a
media_notification_view.h 5.74 KB