Commit d26db642 authored by mgiuca's avatar mgiuca Committed by Commit bot

TileItemView: Fixed ChromeVox selection upon deselection.

BUG=459872

Review URL: https://codereview.chromium.org/935143005

Cr-Commit-Position: refs/heads/master@{#317018}
parent b316c745
...@@ -56,7 +56,9 @@ void TileItemView::SetSelected(bool selected) { ...@@ -56,7 +56,9 @@ void TileItemView::SetSelected(bool selected) {
selected_ = selected; selected_ = selected;
UpdateBackgroundColor(); UpdateBackgroundColor();
NotifyAccessibilityEvent(ui::AX_EVENT_FOCUS, true);
if (selected)
NotifyAccessibilityEvent(ui::AX_EVENT_FOCUS, true);
} }
void TileItemView::SetParentBackgroundColor(SkColor color) { void TileItemView::SetParentBackgroundColor(SkColor color) {
......
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