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

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

Issue 2747943004: [Web Payments] Add the shipping options sheet. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_SHIPPING_OPTIONS_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_SHIPPING_OPTIONS_VIEW_CONTROLLER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/views/payments/payment_request_item_list.h"
10 #include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
11
12 namespace payments {
13
14 class ShippingOptionsViewController : public PaymentRequestSheetController {
15 public:
16 ShippingOptionsViewController(PaymentRequest* request,
17 PaymentRequestDialogView* dialog);
18 ~ShippingOptionsViewController() override;
19
20 // PaymentRequestSheetController:
21 std::unique_ptr<views::View> CreateView() override;
22
23 private:
24 // PaymentRequestSheetController:
25 std::unique_ptr<views::View> CreateExtraFooterView() override;
26 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
27
28 PaymentRequestItemList shipping_option_list_;
29
30 DISALLOW_COPY_AND_ASSIGN(ShippingOptionsViewController);
31 };
32
33 } // namespace payments
34
35 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_SHIPPING_OPTIONS_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698