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

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

Issue 2844483002: [Web Payments] Fix some ScrollView issues in the dialog. (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
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_request_sheet_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/payment_request_sheet_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
index 666a0597d5a313874052c09f927526314be90382..5aa37b512029582340d3b2569b894555bb72f3cf 100644
--- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
+++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
@@ -119,6 +119,10 @@ class PaymentRequestSheetController : public views::ButtonListener {
views::View* pane_;
views::View* content_view_;
+ // Hold on to the ScrollView because it must be explicitly laid out in some
+ // cases.
+ std::unique_ptr<views::ScrollView> scroll_;
+
DISALLOW_COPY_AND_ASSIGN(PaymentRequestSheetController);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_request_sheet_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698