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

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

Issue 1693713004: Don't fire a FOCUS accessibility event on a View that doesn't have focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed one call to SendFocusAlert Created 4 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 | « ui/app_list/views/search_box_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_list_view.cc
diff --git a/ui/app_list/views/search_result_list_view.cc b/ui/app_list/views/search_result_list_view.cc
index 281e84facedad3f50986642971b7edbb8bac7c7e..91cb3196694d747e1b365fe60776e121ff1f0f79 100644
--- a/ui/app_list/views/search_result_list_view.cc
+++ b/ui/app_list/views/search_result_list_view.cc
@@ -192,7 +192,7 @@ void SearchResultListView::UpdateSelectedIndex(int old_selected,
SearchResultView* selected_view = GetResultViewAt(new_selected);
selected_view->ClearSelectedAction();
selected_view->SchedulePaint();
- selected_view->NotifyAccessibilityEvent(ui::AX_EVENT_FOCUS, true);
+ selected_view->NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true);
}
}
« no previous file with comments | « ui/app_list/views/search_box_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698