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

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

Issue 2711873003: [Web Payments] Re-add extra view in the footer. (Closed)
Patch Set: Change CreateExtraView to CreateExtraFooterView 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_sheet_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
index fbe3339ddb1ee6ac31ee8e5189301bd12d6fc9b3..ba313dc00d4d7027641ccd2b3d2b0cdc8fd4da4d 100644
--- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
+++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
@@ -33,9 +33,6 @@ class PaymentRequestSheetController : public views::VectorIconButtonDelegate {
~PaymentRequestSheetController() override {}
virtual std::unique_ptr<views::View> CreateView() = 0;
- // A leading view to complement the button(s). See CreateFooterView for how
- // this is used and what insets are already applied.
- virtual std::unique_ptr<views::View> CreateLeadingFooterView();
// The PaymentRequest object associated with this instance of the dialog.
// Caller should not take ownership of the result.
@@ -64,7 +61,7 @@ class PaymentRequestSheetController : public views::VectorIconButtonDelegate {
// +---------------------------+
// | EXTRA VIEW | PAY | CANCEL |
// +---------------------------+
- virtual std::unique_ptr<views::View> CreateExtraView();
+ virtual std::unique_ptr<views::View> CreateExtraFooterView();
// views::VectorIconButtonDelegate:
void ButtonPressed(views::Button* sender, const ui::Event& event) override;

Powered by Google App Engine
This is Rietveld 408576698