CDP: add contrast algorithm param to HighlightConfig
This CL adds a new parameter to HighlightConfig to indicate what kind of contrast ratio the overlay needs to compute. Previously, it was computing the contrast ratio according to the AA threshold. With this change, it is possible to show the contrast according to AAA and APCA thresholds. Frontend CL: https://crrev.com/c/2546705 Bug: 1121900 Change-Id: I319eb472e513d3ccc2ba0c2d90a6bdd60ba6d94e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545509 Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by:Sigurd Schneider <sigurds@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
Mathias Bynens <mathias@chromium.org> Cr-Commit-Position: refs/heads/master@{#829611}
Showing
Please register or sign in to comment