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

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

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.h
diff --git a/chrome/browser/ui/views/payments/cvc_unmask_view_controller.h b/chrome/browser/ui/views/payments/cvc_unmask_view_controller.h
index b331aaed04c8bf9813561591743208444e71f74d..c5d6b51b525b68f9525a7ff2228b022f107dea7b 100644
--- a/chrome/browser/ui/views/payments/cvc_unmask_view_controller.h
+++ b/chrome/browser/ui/views/payments/cvc_unmask_view_controller.h
@@ -85,6 +85,8 @@ class CvcUnmaskViewController
// active FullCardRequest.
void CvcConfirmed();
+ bool GetSheetId(DialogViewID* sheet_id) override;
+
views::Textfield* cvc_field_; // owned by the view hierarchy, outlives this.
autofill::CreditCard credit_card_;
content::WebContents* web_contents_;

Powered by Google App Engine
This is Rietveld 408576698