| 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
|
| index e331d1e560f9214f8a2f23f3dd3f4a284720b20f..e9829db41cbf030cb48498805878cfd750bb41f7 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_row_view.h
|
| +++ b/chrome/browser/ui/views/payments/payment_request_row_view.h
|
| @@ -14,13 +14,17 @@ namespace payments {
|
| // darkens on hover and displays a horizontal ruler on its lower bound.
|
| class PaymentRequestRowView : public views::CustomButton {
|
| public:
|
| - explicit PaymentRequestRowView(views::ButtonListener* listener);
|
| + // Creates a row view. If |clickable| is true, the row will be shaded on hover
|
| + // and handle click events.
|
| + PaymentRequestRowView(views::ButtonListener* listener, bool clickable);
|
| ~PaymentRequestRowView() override;
|
|
|
| // views::CustomButton:
|
| void StateChanged(ButtonState old_state) override;
|
|
|
| private:
|
| + bool clickable_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PaymentRequestRowView);
|
| };
|
|
|
|
|