Commit 138827d6 authored by Marina Ciocea's avatar Marina Ciocea Committed by Commit Bot

Improve accessibility for tab sharing content border.

Increase opacity to 50% to obtain contrast ratio 3:1; reduce the
thickness of the border to make it overlap less with the content of the
share tab.


Bug: 1000970
Change-Id: Idfaa0ddb3e1bd2e8a783862037b15474fdbe438e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1807117Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Marina Ciocea <marinaciocea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697152}
parent 884e4a32
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
namespace { namespace {
const int kContentsBorderThickness = 10; const int kContentsBorderThickness = 5;
const float kContentsBorderOpacity = 0.24; const float kContentsBorderOpacity = 0.50;
const SkColor kContentsBorderColor = gfx::kGoogleBlue500; const SkColor kContentsBorderColor = gfx::kGoogleBlue500;
void InitContentsBorderWidget(content::WebContents* contents) { void InitContentsBorderWidget(content::WebContents* contents) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment