Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: ui/app_list/views/tile_item_view.cc

Issue 935143005: TileItemView: Fixed ChromeVox selection upon deselection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glevin-ares-tabstops
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/tile_item_view.cc
diff --git a/ui/app_list/views/tile_item_view.cc b/ui/app_list/views/tile_item_view.cc
index fcb10d265912f69f4ae1f7fe59feacd347d5fced..af04fd6b08bb209a1d6c5dca1a76d5b167dd075d 100644
--- a/ui/app_list/views/tile_item_view.cc
+++ b/ui/app_list/views/tile_item_view.cc
@@ -56,7 +56,9 @@ void TileItemView::SetSelected(bool selected) {
selected_ = selected;
UpdateBackgroundColor();
- NotifyAccessibilityEvent(ui::AX_EVENT_FOCUS, true);
+
+ if (selected)
+ NotifyAccessibilityEvent(ui::AX_EVENT_FOCUS, true);
}
void TileItemView::SetParentBackgroundColor(SkColor color) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698