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

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

Issue 2735803003: [WebPayments] Extracting common code from Shipping + Contact Info views. (Closed)
Patch Set: monday rebase Created 3 years, 9 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/shipping_list_view_controller.h
diff --git a/chrome/browser/ui/views/payments/shipping_list_view_controller.h b/chrome/browser/ui/views/payments/shipping_list_view_controller.h
deleted file mode 100644
index 3a2fc6ebcdaa128b5f7cc395f8458c207fbb14c8..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/payments/shipping_list_view_controller.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_SHIPPING_LIST_VIEW_CONTROLLER_H_
-#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_SHIPPING_LIST_VIEW_CONTROLLER_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/views/payments/payment_request_item_list.h"
-#include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
-
-namespace payments {
-
-class PaymentRequest;
-class PaymentRequestDialogView;
-
-// The PaymentRequestSheetController subtype for the Shipping address list
-// screen of the Payment Request flow.
-class ShippingListViewController : public PaymentRequestSheetController {
- public:
- // Does not take ownership of the arguments, which should outlive this object.
- ShippingListViewController(PaymentRequest* request,
- PaymentRequestDialogView* dialog);
- ~ShippingListViewController() override;
-
- // PaymentRequestSheetController:
- std::unique_ptr<views::View> CreateView() override;
-
- private:
- PaymentRequestItemList list_;
-
- DISALLOW_COPY_AND_ASSIGN(ShippingListViewController);
-};
-
-} // namespace payments
-
-#endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_SHIPPING_LIST_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698