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

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

Issue 2866443002: [Web Payments] Handle "Enter" accelerator when there's a primary action (Closed)
Patch Set: Add tests to sheets that handle the enter accelerator 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..1b306aa03a8fb0d99ddd6b59dbb5a5cfa2f6d143 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,9 @@ void CvcUnmaskViewController::CvcConfirmed() {
dialog()->ShowProcessingSpinner();
}
+bool CvcUnmaskViewController::GetSheetId(DialogViewID* sheet_id) {
+ *sheet_id = DialogViewID::CVC_UNMASK_SHEET;
+ return true;
+}
+
} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698