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

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

Issue 2668063003: [Web Payments] Add Cancel button to all sheets (Closed)
Patch Set: Rebase 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_views_util.h
diff --git a/chrome/browser/ui/views/payments/payment_request_views_util.h b/chrome/browser/ui/views/payments/payment_request_views_util.h
index 13e250614e9a4e19fa1678f90432b847426be79c..56220237fdd5687482e67027a05a6f2899f53bf8 100644
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h
@@ -46,23 +46,6 @@ std::unique_ptr<views::View> CreateSheetHeaderView(
const base::string16& title,
views::VectorIconButtonDelegate* delegate);
-// Creates a view to be displayed in the PaymentRequestDialog.
-// |header_view| is the view displayed on top of the dialog, containing title,
-// (optional) back button, and close buttons.
-// |content_view| is displayed between |header_view| and the pay/cancel buttons.
-// The returned view takes ownership of |header_view| and |content_view|.
-// +---------------------------+
-// | HEADER VIEW |
-// +---------------------------+
-// | CONTENT |
-// | VIEW |
-// +---------------------------+
-// | | CANCEL | PAY |
-// +---------------------------+
-std::unique_ptr<views::View> CreatePaymentView(
- std::unique_ptr<views::View> header_view,
- std::unique_ptr<views::View> content_view);
-
// Represents formatting options for each of the different contexts in which an
// Address label may be displayed.
enum class AddressStyleType { SUMMARY, DETAILED };

Powered by Google App Engine
This is Rietveld 408576698