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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view.cc

Issue 2880843002: Use ui::AX_EVENT_SELECTION to read aloud omnibox suggestion answers. (Closed)
Patch Set: Created 3 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: chrome/browser/ui/views/omnibox/omnibox_result_view.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
index f397d177d48784339151ab3e3da2a6277672c59b..8c60bfec0e127007a2b2d76f59f625da1fb75bea 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
@@ -294,7 +294,7 @@ void OmniboxResultView::OnSelected() {
// updating the text in the omnibox but this alert and GetAccessibleNodeData
// below make the answer contents accessible.
if (match_.answer)
- NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);
+ NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true);
}
gfx::Size OmniboxResultView::GetPreferredSize() 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