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

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: android test fix 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_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 ad214641e2dc834a7feb75df1ecda0e210a9d652..464ee13354a66754a40ccad31a8ed18c738782ea 100644
--- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
+++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
@@ -181,8 +181,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