• Nancy Wang's avatar
    Create standard icons on shelf for non-app icons. · 201f15f1
    Nancy Wang authored
    AppService creates standard circle icons for all apps. However, there
    are a few cases that icons on shelf are not app icons, e.g.:
    1. Task manager
    2. A few extensions show icons when open a new window, e.g. google
    hangouts.
    
    This CL create standard circle icons for them when they are shown on
    shelf.
    
    Modify TaskManagerView to create standard icon when running in Chrome
    OS.
    
    Modify ChromeLauncherController::OnAppImageUpdated. If the icon is not
    loaded by AppServiceAppIconLoader (which loads the standard circle
    icons), create standard icons.
    
    BUG=1162514
    BUG=1142373
    
    Change-Id: Ibfe40c33944a1120ca9c991c4953d0da906ee2e2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2624273
    Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#842874}
    201f15f1
task_manager_view.cc 13.2 KB