| Index: chrome/browser/ui/views/payments/payment_request_item_list.h
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_item_list.h b/chrome/browser/ui/views/payments/payment_request_item_list.h
|
| index b2d360ed2b91eec7c9bed453d070be6b67b81f53..dee0a8a6855489b2f651e075e9ef95d4769a55e2 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_item_list.h
|
| +++ b/chrome/browser/ui/views/payments/payment_request_item_list.h
|
| @@ -76,10 +76,14 @@ class PaymentRequestItemList {
|
| // item's view, such as the credit card icon.
|
| virtual std::unique_ptr<views::View> CreateExtraView();
|
|
|
| + // Whether the item should be enabled (if disabled, the user will not be
|
| + // able to click on the item).
|
| + virtual bool IsEnabled() = 0;
|
| +
|
| // Returns whether this item is complete/valid and can be selected by the
|
| // user. If this returns false when the user attempts to select this item,
|
| // PerformSelectionFallback will be called instead.
|
| - virtual bool CanBeSelected() const = 0;
|
| + virtual bool CanBeSelected() = 0;
|
|
|
| // Performs the action that replaces selection when CanBeSelected returns
|
| // false. This will usually be to display an editor.
|
|
|