• nancylingwang@google.com's avatar
    Modify ARC mojom for ARC adaptive icons. · c586ca3f
    nancylingwang@google.com authored
    Design doc: go/appservice-adaptive-icon
    
    The related ARC icon interfaces are modified/added to use the new
    structure RawIconPngData, and call AppService interfaces to
    decode/encode the icon.
    
    The ARC side CL number is 12024464, which has use the new
    OnTaskDescriptionUpdated interface. And we can't call both the new and
    old task update interfaces, that could cause updating twice for the icon
    on the windows, so we have to select 1(the new one) to use in the code.
    
    Once the ARC side CL is submitted, the change on the Chromium side will
    be change to use the new interface as soon as possible.
    
    TODO: Add some test cases for adaptive icons and implement the new
    interfaces for FakeAppInstance.
    
    Note: Below 2 files will be deleted soon. They are modified to pass the
    build:
    chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h
    chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
    
    BUG=1083331
    
    Change-Id: I8daaa1643dd20c6038d685863c8f6e71c3948c7a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2251600Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
    Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
    Reviewed-by: default avatarLong Cheng <lgcheng@google.com>
    Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#786071}
    c586ca3f
app.mojom 20.7 KB