Index: chrome/browser/ui/views/payments/payment_request_sheet_controller.h |
diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h |
index 3a3eacba56a3030b75d09005e3a36f5cbd427e66..c546ce7d0e71dbc8066504a0450bfb94458b974c 100644 |
--- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h |
+++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h |
@@ -118,6 +118,11 @@ class PaymentRequestSheetController : public views::ButtonListener { |
// +---------------------------+ |
std::unique_ptr<views::View> CreatePaymentView(); |
+ // Called when the Enter accelerator is pressed. Perform the action associated |
+ // with the primary button and returns true if it's enabled, returns false |
+ // otherwise. |
+ bool PerformPrimaryButtonAction(); |
+ |
// All these are not owned. Will outlive this. |
PaymentRequestSpec* spec_; |
PaymentRequestState* state_; |