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

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

Issue 2871973002: 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 87902bb5f48a65fae90d1cdadc908cd4206cfee3..fe4c694b634a7b603bf45585d513203d7036c142 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
@@ -296,7 +296,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