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

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

Issue 2715533002: [Payments] Add error messages to credit card editor. (Closed)
Patch Set: clean Created 3 years, 10 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_interactive_uitest_base.h
diff --git a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h b/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h
index b111131d61ad88b941b5956d2fe4c3ad8eb1d928..3b718a8ce465c64e58361aac156395e8040050bd 100644
--- a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h
+++ b/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h
@@ -101,6 +101,8 @@ class PaymentRequestInteractiveTestBase
// Returns the text of the StyledLabel with the specific |view_id| that is a
// child of the Payment Request dialog view.
const base::string16& GetStyledLabelText(DialogViewID view_id);
+ // Returns the error label text associated with a given field |type|.
+ const base::string16& GetErrorLabelForType(autofill::ServerFieldType type);
net::EmbeddedTestServer* https_server() { return https_server_.get(); }

Powered by Google App Engine
This is Rietveld 408576698