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

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

Issue 2855203002: [Payments] Display the shipping option error alongside the address (Closed)
Patch Set: added tests Created 3 years, 8 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_browsertest_base.h
diff --git a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
index 1b328f6a8181bc1e6ebe02a39e13cde6bdc48182..dd8aadba12d6fc659fb587adbb09761891156a76 100644
--- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
+++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
@@ -177,8 +177,9 @@ class PaymentRequestBrowserTestBase
// Sets proper animation delegates and waits for animation to finish.
void WaitForAnimation();
- // Returns the text of the StyledLabel with the specific |view_id| that is a
- // child of the Payment Request dialog view.
+ // Returns the text of the Label or StyledLabel with the specific |view_id|
+ // that is a child of the Payment Request dialog view.
+ const base::string16& GetLabelText(DialogViewID view_id);
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);

Powered by Google App Engine
This is Rietveld 408576698