• Peter Boström's avatar
    Return unclamped width for BrowserActionsContainer · e8b35e25
    Peter Boström authored
    This method is used from ToolbarActionsBar to see if
    BrowserActionsContainer is larger than all visible actions (and needs
    to be downsized).
    
    Per a recent change this was clamping to the ToolbarActionsBar max size
    which would make ToolbarActionsBar think it's already the appropriate
    full size and not not animate it to the smaller new full size.
    
    Bug: chromium:831977
    Change-Id: I1a8b3a83504a4f0afcf6e72146bef0e85ecc4fd9
    Reviewed-on: https://chromium-review.googlesource.com/1011343Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
    Commit-Queue: Peter Boström <pbos@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#550504}
    e8b35e25
browser_actions_container.cc 26.4 KB