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

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: Rebase 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 1b306aa03a8fb0d99ddd6b59dbb5a5cfa2f6d143..4821c727b7e2e487c2c3d0888a78508c0d8eba90 100644
--- a/chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc
+++ b/chrome/browser/ui/views/payments/cvc_unmask_view_controller.cc
@@ -211,4 +211,8 @@ bool CvcUnmaskViewController::GetSheetId(DialogViewID* sheet_id) {
return true;
}
+views::View* CvcUnmaskViewController::GetFirstFocusedView() {
+ return cvc_field_;
+}
+
} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698