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

Side by Side Diff: chrome/browser/payments/ui/payment_request_dialog.h

Issue 2446093004: [Web Payments] Initial plumb of Payment Request dialog (Closed)
Patch Set: Remove mystery strings Created 4 years, 1 month 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 2016 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_PAYMENTS_UI_PAYMENT_REQUEST_DIALOG_H_
6 #define CHROME_BROWSER_PAYMENTS_UI_PAYMENT_REQUEST_DIALOG_H_
7
8 #include "ui/gfx/canvas.h"
Lei Zhang 2016/11/09 18:08:56 Not used?
Kevin Bailey 2016/11/15 14:36:33 Gone.
9 #include "ui/views/controls/label.h"
10 #include "ui/views/layout/box_layout.h"
11 #include "ui/views/layout/fill_layout.h"
12 #include "ui/views/window/dialog_delegate.h"
13
14 // TODO: This should be more specific to the stage of payment collection.
Lei Zhang 2016/11/09 18:08:56 TODO(who) ?
Kevin Bailey 2016/11/15 14:36:33 Removed comment.
15 class PaymentRequestDialog : public views::DialogDelegateView {
16 public:
17 PaymentRequestDialog();
18 ~PaymentRequestDialog() override;
19
20 ui::ModalType GetModalType() const override;
21
22 // We might be able to get rid of this later.
Lei Zhang 2016/11/09 18:08:56 TODO(someone): ... ?
Kevin Bailey 2016/11/15 14:36:33 Removed comment.
23 gfx::Size GetPreferredSize() const override;
24
25 private:
26 std::unique_ptr<views::Label> label_;
27
28 DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialog);
29 };
30
31 #endif // CHROME_BROWSER_PAYMENTS_UI_PAYMENT_REQUEST_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698