chromium/chrome/browser/ui/views/payments/payment_request_row_view.h

// Copyright 2017 The Chromium Authors
// 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/memory/weak_ptr.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/metadata/view_factory.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::Button {};

BEGIN_VIEW_BUILDER(, PaymentRequestRowView, views::Button)
VIEW_BUILDER_PROPERTY(bool, Clickable)
VIEW_BUILDER_PROPERTY(gfx::Insets, RowInsets)
END_VIEW_BUILDER

}  // namespace payments

DEFINE_VIEW_BUILDER()

#endif  // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_ROW_VIEW_H_