• rdevlin.cronin's avatar
    Fix two bugs in the extension actions toolbar · b1a2fc8c
    rdevlin.cronin authored
    1. Previously, we didn't animate the browser actions
       container when the visible count changed, because we set
       the width prior to calling animate. Fix it by animating to
       the desired width.
    2. There was a bug where we would improperly hide an extension
       upon loading another, because we wouldn't account for the
       chevron width. Fix this, and add a test.
    
    BUG=410348
    BUG=410361
    
    Review URL: https://codereview.chromium.org/539543002
    
    Cr-Commit-Position: refs/heads/master@{#293947}
    b1a2fc8c
browser_actions_container.cc 39.6 KB