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

Unified Diff: chrome/browser/ui/views/payments/payment_request_dialog_view.cc

Issue 2846053002: [Web Payments] Respect Harmony dialog width in Payment Request (Closed)
Patch Set: Change the dialog to Large 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_dialog_view.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
index 2f21989401c971886fa943df677634cb625d72ad..de74d3d2fb21ca3c8bc975ddd53e992875dc9cc4 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.cc
@@ -332,7 +332,7 @@ void PaymentRequestDialogView::SetupSpinnerOverlay() {
}
gfx::Size PaymentRequestDialogView::GetPreferredSize() const {
- return gfx::Size(kDialogWidth, kDialogHeight);
+ return gfx::Size(GetActualDialogWidth(), kDialogHeight);
}
void PaymentRequestDialogView::ViewHierarchyChanged(
« 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