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

Unified Diff: chrome/browser/ui/views/payments/payment_method_view_controller.cc

Issue 2922483002: [WebPayments] Making all fields and buttons focusable (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
Index: chrome/browser/ui/views/payments/payment_method_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller.cc b/chrome/browser/ui/views/payments/payment_method_view_controller.cc
index d94156cde99fd02fdd1419cf20816db96fadccaf..99211628d57cbc05902b66a50ce13e255e9f2e30 100644
--- a/chrome/browser/ui/views/payments/payment_method_view_controller.cc
+++ b/chrome/browser/ui/views/payments/payment_method_view_controller.cc
@@ -204,6 +204,7 @@ PaymentMethodViewController::CreateExtraFooterView() {
PaymentMethodViewControllerTags::ADD_CREDIT_CARD_BUTTON));
button->set_id(
static_cast<int>(DialogViewID::PAYMENT_METHOD_ADD_CARD_BUTTON));
+ button->SetFocusBehavior(views::View::FocusBehavior::ALWAYS);
extra_view->AddChildView(button);
return extra_view;

Powered by Google App Engine
This is Rietveld 408576698