| commit | 2473970780e9db35a133969b7de2a40597cc5797 | [log] [tgz] |
|---|---|---|
| author | Peter Boström <pbos@chromium.org> | Tue Dec 03 21:01:43 2019 |
| committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 03 21:01:43 2019 |
| tree | c32a5d346650f74ea7b8a868a39e9470422cc6ac | |
| parent | 6517b4884e5863dae5cd71783a4e12dfd45ef7f4 [diff] |
Prevent double focus effect in IconLabelBubbleView IconLabelBubbleView::AnimationEnded used to call GetInkDrop()->SetShowHighlightOnFocus(true) to restore the original InkDrop highlight state before this change. This is incorrect as the initial highlight focus depends on the presence of a focus ring. This changes the call to restore highlight-on-focus based on the presence of a focus ring instead of unconditionally highlighting. Bug: chromium:1025152 Change-Id: I5e6d563bc012a16a5bf4a63404375c4d4d1418e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949034 Auto-Submit: Peter Boström <pbos@chromium.org> Commit-Queue: Caroline Rising <corising@chromium.org> Reviewed-by: Caroline Rising <corising@chromium.org> Cr-Commit-Position: refs/heads/master@{#721156}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .