Vector Icons: Add VectorIconRep for a sized representation of a VectorIcon.
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:Evan Stade <estade@chromium.org> Reviewed-by:
Christopher Grant <cjgrant@chromium.org> Cr-Commit-Position: refs/heads/master@{#542703}
Showing
Please register or sign in to comment