| Index: chrome/browser/ui/views/payments/payment_request_row_view.h
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_row_view.h b/chrome/browser/ui/views/payments/payment_request_row_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f8664343b8762a7c46f90a587adee8820d9eda9a
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/payments/payment_request_row_view.h
|
| @@ -0,0 +1,29 @@
|
| +// 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_PAYMENT_REQUEST_ROW_VIEW_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_ROW_VIEW_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "ui/views/controls/button/custom_button.h"
|
| +
|
| +namespace payments {
|
| +
|
| +// This class implements a clickable row of the Payment Request dialog that
|
| +// darkens on hover and displays a horizontal ruler on its lower bound.
|
| +class PaymentRequestRowView : public views::CustomButton {
|
| + public:
|
| + explicit PaymentRequestRowView(views::ButtonListener* listener);
|
| + ~PaymentRequestRowView() override;
|
| +
|
| + // views::CustomButton:
|
| + void StateChanged() override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(PaymentRequestRowView);
|
| +};
|
| +
|
| +} // namespace payments
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_ROW_VIEW_H_
|
|
|