• Gauthier Ambard's avatar
    Don't update toolbar alpha when omnibox is focused · 40019eb3
    Gauthier Ambard authored
    The toolbar's buttons are updated on screen rotation. In particular
    their alpha value is set to 1 even if the omnibox is focused. It
    displays the back/forward button as they are hidden during the animation
    of the omnibox focus.
    This CL fixes it by not updating the alpha value if the omnibox is
    focused.
    
    Bug: 788816
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Change-Id: I604126cb2f80095f35229c0a3c2ae1a14deb3225
    Reviewed-on: https://chromium-review.googlesource.com/796071
    Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
    Reviewed-by: default avatarKurt Horimoto <kkhorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#520607}
    40019eb3
web_toolbar_controller.mm 83.5 KB