Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Unified Diff: chrome/browser/ui/views/payments/payment_request_row_view.h

Issue 2814173002: [Web Payments] Prettify the payment sheet rows in some states. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b5c53df1891b523456855a224e1dc4db3cf48919 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,16 @@ 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);
+ explicit PaymentRequestRowView(views::ButtonListener* listener,
Mathieu 2017/04/13 00:12:44 let's add a comment on the constructor which expla
Mathieu 2017/04/13 00:12:44 no explicit
anthonyvd 2017/04/13 18:33:33 Done
+ bool clickable);
~PaymentRequestRowView() override;
// views::CustomButton:
void StateChanged(ButtonState old_state) override;
private:
+ bool clickable_;
+
DISALLOW_COPY_AND_ASSIGN(PaymentRequestRowView);
};

Powered by Google App Engine
This is Rietveld 408576698