• Peter Boström's avatar
    Highlight all BubbleIconView instances. · e577c468
    Peter Boström authored
    Highlights the BubbleIconView whenever the corresponding widget is
    visible. This was previously a one-off done for the bookmark star view.
    
    This addresses highlighting the translate icon, bookmark icon, zoom icon
    and others in a single place. This makes it less error prone and more
    future proof.
    
    BubbleIconView still has to be added as an observer of the bubble widget
    (but this is already required to remove button-press highlights when the
    widget closes).
    
    Bug: chromium:808273
    Change-Id: Ibd4e14b4876be3e79ef8a85a0a9feade65aa5628
    Reviewed-on: https://chromium-review.googlesource.com/905408Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
    Commit-Queue: Peter Boström <pbos@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#537928}
    e577c468
star_view.h 1.56 KB