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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.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
Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index d4c8f18651130bfbbe9fb5bff8c3ce737cb28330..f8431719ca76c133a24d0bce7b795118dd826911 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -205,7 +205,7 @@ void PasswordGenerationPopupViewViews::PasswordSelectionUpdated() {
return;
if (controller_->password_selected())
- NotifyAccessibilityEvent(ui::AX_EVENT_FOCUS, true);
+ NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true);
password_view_->set_background(
views::Background::CreateSolidBackground(

Powered by Google App Engine
This is Rietveld 408576698