| Index: chrome/browser/payments/ui/payment_request_dialog.h
|
| diff --git a/chrome/browser/payments/ui/payment_request_dialog.h b/chrome/browser/payments/ui/payment_request_dialog.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ffd1aed3d47668c73715ad1aee33af07c8c0729
|
| --- /dev/null
|
| +++ b/chrome/browser/payments/ui/payment_request_dialog.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 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_PAYMENTS_UI_PAYMENT_REQUEST_DIALOG_H_
|
| +#define CHROME_BROWSER_PAYMENTS_UI_PAYMENT_REQUEST_DIALOG_H_
|
| +
|
| +#include "ui/gfx/canvas.h"
|
| +#include "ui/views/controls/label.h"
|
| +#include "ui/views/layout/box_layout.h"
|
| +#include "ui/views/layout/fill_layout.h"
|
| +#include "ui/views/window/dialog_delegate.h"
|
| +
|
| +// TODO: This should be more specific to the stage of payment collection.
|
| +class PaymentRequestDialog : public views::DialogDelegateView {
|
| + public:
|
| + PaymentRequestDialog();
|
| + ~PaymentRequestDialog() override;
|
| +
|
| + ui::ModalType GetModalType() const override;
|
| +
|
| + // We might be able to get rid of this later.
|
| + gfx::Size GetPreferredSize() const override;
|
| +
|
| + private:
|
| + std::unique_ptr<views::Label> label_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialog);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_PAYMENTS_UI_PAYMENT_REQUEST_DIALOG_H_
|
|
|