• Patti's avatar
    Vector Icons: Add VectorIconRep for a sized representation of a VectorIcon. · 43696b7f
    Patti authored
    VectorIcons currently have two representations - a version used at 100% scale
    (its |path_1x|) and a version used at all other scale factors (|path|). This
    isn't scaleable and can't support having more than two icon representations per
    VectorIcon, so add gfx::VectorIconRep to prepare for this.
    
    Bug: 647286
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Iff59deb2064ce0f0995016fee9dcdeda16999605
    Reviewed-on: https://chromium-review.googlesource.com/942647
    Commit-Queue: Patti <patricialor@chromium.org>
    Reviewed-by: default avatarEvan Stade <estade@chromium.org>
    Reviewed-by: default avatarChristopher Grant <cjgrant@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#542703}
    43696b7f
paint_vector_icon.cc 18.9 KB