• Matthew Jones's avatar
    [Modern] Update modern composited toolbar and fix animations · 38e57080
    Matthew Jones authored
    This change adds a new nine-patch asset for the location bar that
    is used exclusively in the compositor. This allows us to have stop
    drawing the location bar as part of the toolbar texture and draw it
    with correct colors in the compositor. Since the new texture draws
    the entire location bar instead of just part of it, the 'anonymize'
    layer is not needed in the modern design (we can now simply draw
    over the url). These changes correct all the toolbar/compositor
    related animations.
    
    BUG=803098
    
    Change-Id: I90d67967c4d1a0e37b0d504d154b0f6df7bdd656
    Reviewed-on: https://chromium-review.googlesource.com/912177
    Commit-Queue: Matthew Jones <mdjones@chromium.org>
    Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
    Reviewed-by: default avatarTheresa <twellington@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#537425}
    38e57080
toolbar_layer.cc 8.59 KB