Reland "[Web Payments][Desktop]PH window size matches pop up size."
This is a reland of c7dc1979 after adjusting expected PH window height. original cl: https://chromium-review.googlesource.com/c/chromium/src/+/2165673 revert cl: https://chromium-review.googlesource.com/c/chromium/src/+/2169450 Original change's description: > [Web Payments][Desktop]PH window size matches pop up size. > > This cl changes the payment handler window size on desktop to better > align with a common pop up size for payment apps (600x600). > This change gives payment apps enough space to show additional contents > (e.g. shipping address) inside the viewport. > > The pop up window size is chosen since 1- users are already used to > this window size and 2- payment apps already using pop up windows won't > have difficulty adjusting their UI. To avoid clipped PH windows on > devices with small screens the height is capped at the browser > window's content height. > > Change-Id: I26b0debcd9b1eef1fc6f5b807ed8f209890b8423 > Bug: 1064452 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2165673 > Commit-Queue: Sahel Sharify <sahel@chromium.org> > Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org> > Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org> > Reviewed-by: Danyao Wang <danyao@chromium.org> > Cr-Commit-Position: refs/heads/master@{#763088} Bug: 1064452 Change-Id: I18c43df22bded0f22167854f959cc5a60df4330e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2170135 Commit-Queue: Sahel Sharify <sahel@chromium.org> Reviewed-by:Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#763429}
Showing
Please register or sign in to comment