• Nigel Tao's avatar
    Add an IconKey.icon_effects field · bb3f881d
    Nigel Tao authored
    Previously, the plan was to re-use the low bits of the IconKey.u_key to
    represent icon post-processing effects such as desaturation to gray.
    
    On further thought, we would also like to apply such effects to IconKeys
    that already use the u_key to represent a resource ID, and do not use an
    IncrementingIconKeyFactory.
    
    It is therefore clearer to have an explicit field for icon effects.
    
    In this commit, this new field is always zero. A follow-up commit will
    use non-zero values.
    
    BUG=826982
    
    Change-Id: I6453a648ed2608a2af59d0d01e1fe9bf4af5c90f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1505741Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
    Commit-Queue: Nigel Tao <nigeltao@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#638358}
    bb3f881d
crostini_apps.cc 10.2 KB