• Peter Kasting's avatar
    Visual tweaks for download items. · 6894aca6
    Peter Kasting authored
    * Error and warning icon use was reversed from Material guidelines,
      other Chrome use, etc.  Swap these to fix.
    * "Warning" icon + "normal" color doesn't make sense; use the warning
      color there.
    * Apply the same styling to the filename in |file_name_label_| as in the
      other labels.  This only has a visible effect when new-style warnings
      are enabled.
    * Schedule a paint when |complete_animation_| ends, too, not just when
      it progresses; this ensures the download item doesn't get "stuck until
      mouseover" when canceling, for example.
    
    Bug: none
    Change-Id: Icffc49980c23c3b42133c5c54af195924b33084c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333658
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
    Reviewed-by: default avatardpapad <dpapad@chromium.org>
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#795386}
    6894aca6
download_item_view.cc 46.9 KB