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

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

Issue 1958673002: Fix accessibility event type fired from AppsGridView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/apps_grid_view.cc
diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc
index 3cccff16a0b788d9c65c86dd2e4fcec14deb2000..2d6f2f423b11b17838722a0b233ac653cf98907d 100644
--- a/ui/app_list/views/apps_grid_view.cc
+++ b/ui/app_list/views/apps_grid_view.cc
@@ -1118,8 +1118,7 @@ void AppsGridView::SetSelectedItemByIndex(const Index& index) {
selected_view_ = new_selection;
selected_view_->SetTitleSubpixelAA();
selected_view_->SchedulePaint();
- selected_view_->NotifyAccessibilityEvent(
- ui::AX_EVENT_FOCUS, true);
+ selected_view_->NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true);
}
bool AppsGridView::IsValidIndex(const Index& index) const {
« 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