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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_browsertest_base.h

Issue 2847503002: [WebPayments] Show labels on incomplete profiles (Closed)
Patch Set: ios namespace 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // Click on a view from within the dialog and waits for an observed event 142 // Click on a view from within the dialog and waits for an observed event
143 // to be observed. 143 // to be observed.
144 void ClickOnDialogViewAndWait(DialogViewID view_id, 144 void ClickOnDialogViewAndWait(DialogViewID view_id,
145 bool wait_for_animation = true); 145 bool wait_for_animation = true);
146 void ClickOnDialogViewAndWait(views::View* view, 146 void ClickOnDialogViewAndWait(views::View* view,
147 bool wait_for_animation = true); 147 bool wait_for_animation = true);
148 void ClickOnChildInListViewAndWait(int child_index, 148 void ClickOnChildInListViewAndWait(int child_index,
149 int total_num_children, 149 int total_num_children,
150 DialogViewID list_view_id); 150 DialogViewID list_view_id);
151 // Returns "three-line label" values under |parent_view|. 151 // Returns profile label values under |parent_view|.
152 std::vector<base::string16> GetThreeLineLabelValues( 152 std::vector<base::string16> GetProfileLabelValues(
153 DialogViewID parent_view_id); 153 DialogViewID parent_view_id);
154 // Returns the shipping option labels under |parent_view_id|. 154 // Returns the shipping option labels under |parent_view_id|.
155 std::vector<base::string16> GetShippingOptionLabelValues( 155 std::vector<base::string16> GetShippingOptionLabelValues(
156 DialogViewID parent_view_id); 156 DialogViewID parent_view_id);
157 157
158 void OpenCVCPromptWithCVC(const base::string16& cvc); 158 void OpenCVCPromptWithCVC(const base::string16& cvc);
159 void PayWithCreditCardAndWait(const base::string16& cvc); 159 void PayWithCreditCardAndWait(const base::string16& cvc);
160 160
161 // Getting/setting the |value| in the textfield of a given |type|. 161 // Getting/setting the |value| in the textfield of a given |type|.
162 base::string16 GetEditorTextfieldValue(autofill::ServerFieldType type); 162 base::string16 GetEditorTextfieldValue(autofill::ServerFieldType type);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 TestChromePaymentRequestDelegate* delegate_; 259 TestChromePaymentRequestDelegate* delegate_;
260 bool is_incognito_; 260 bool is_incognito_;
261 bool is_valid_ssl_; 261 bool is_valid_ssl_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase); 263 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase);
264 }; 264 };
265 265
266 } // namespace payments 266 } // namespace payments
267 267
268 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ 268 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698