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

Unified Diff: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc

Issue 657633004: [Password Generation] Add accessibility alert when popup is shown in Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac Created 6 years, 2 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/autofill/password_generation_popup_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
index a2a2c7f924588f0fe188d36aa85dfb3200d71e0f..76f1bd19797601e1293439c62d0a1b44e0f703e9 100644
--- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
@@ -273,6 +273,10 @@ const base::string16& PasswordGenerationPopupControllerImpl::HelpText() {
return help_text_;
}
+base::string16 PasswordGenerationPopupControllerImpl::AccessibleName() {
+ return l10n_util::GetStringUTF16(IDS_PASSWORD_GENERATION_ACCESSIBLE_TITLE);
+}
+
const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() {
return link_range_;
}

Powered by Google App Engine
This is Rietveld 408576698