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

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

Issue 2905283002: [Payments] Allow international phone from different country in shipping editor. (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/payment_request_dialog_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
index cce5addb102101244756c8b259afe37a68ca41a5..1804953296db0d47263f562367471d1705154e1f 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -77,6 +77,8 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
virtual void OnSpecDoneUpdating() = 0;
virtual void OnCvcPromptShown() = 0;
+
+ virtual void OnEditorValidationError() = 0;
};
// Build a Dialog around the PaymentRequest object. |observer| is used to
@@ -163,6 +165,9 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
void ShowProcessingSpinner();
void HideProcessingSpinner();
+ // Called when there is a validation error in an editor.
+ void OnEditorValidationError();
+
Profile* GetProfile();
ViewStack* view_stack_for_testing() { return view_stack_.get(); }

Powered by Google App Engine
This is Rietveld 408576698