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

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

Issue 2862913002: [Web Payments] Let subsheets define the initial focus (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/cvc_unmask_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc b/chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc
index bbb5c08dab8b66b28baf637250a3909e4e2c8716..7eb4a3caeceb7ca17b916ea4229a4daafe38bd24 100644
--- a/chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc
+++ b/chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc
@@ -206,4 +206,8 @@ void CvcUnmaskViewController::CvcConfirmed() {
dialog()->ShowProcessingSpinner();
}
+views::View* CvcUnmaskViewController::GetFirstFocusedView() {
+ return cvc_field_;
+}
+
} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698