• Peter Boström's avatar
    Revert "Shrink drop-down button in DownloadItemView" · 4f0592d4
    Peter Boström authored
    This reverts commit e533973d.
    
    Reason for revert: Caused regression in LTR.
    
    This issue should be fixed by rewriting DownloadItemView to not do
    manual layout.
    
    Bug: chromium:1045314
    
    Original change's description:
    > Shrink drop-down button in DownloadItemView
    > 
    > This more closely matches the button size for the close-x at the end of
    > the downloads shelf. The focus ring and ink-drop highlight was
    > significantly larger than intended, likely after r619533.
    > 
    > This change also adds padding left of the drop-down button so that the
    > "Discard" button doesn't get laid out edge-to-edge next to it with
    > overlapping focus rings.
    > 
    > Bug: chromium:1042633
    > Change-Id: I3aac0b77846020e0fe3eb612d35f67bf307dbd6d
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2006136
    > Auto-Submit: Peter Boström <pbos@chromium.org>
    > Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
    > Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#732821}
    
    TBR=ellyjones@chromium.org,pbos@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: chromium:1042633
    Change-Id: Ie9de1a823eab8dbf1d67ab0573e4801fc60c119c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019467Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
    Commit-Queue: Peter Boström <pbos@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#735008}
    4f0592d4
download_item_view.cc 55.6 KB