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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h " 5 #include "chrome/browser/ui/autofill/password_generation_popup_controller_impl.h "
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 266 }
267 267
268 base::string16 PasswordGenerationPopupControllerImpl::SuggestedText() { 268 base::string16 PasswordGenerationPopupControllerImpl::SuggestedText() {
269 return l10n_util::GetStringUTF16(IDS_PASSWORD_GENERATION_SUGGESTION); 269 return l10n_util::GetStringUTF16(IDS_PASSWORD_GENERATION_SUGGESTION);
270 } 270 }
271 271
272 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() { 272 const base::string16& PasswordGenerationPopupControllerImpl::HelpText() {
273 return help_text_; 273 return help_text_;
274 } 274 }
275 275
276 base::string16 PasswordGenerationPopupControllerImpl::AccessibleName() {
277 return l10n_util::GetStringUTF16(IDS_PASSWORD_GENERATION_ACCESSIBLE_TITLE);
278 }
279
276 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { 280 const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() {
277 return link_range_; 281 return link_range_;
278 } 282 }
279 283
280 } // namespace autofill 284 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698