Revert "CCA: Use calculated default window size"
This reverts commit 6e03dcb5. Reason for revert: crbug.com/1166565 Original change's description: > CCA: Use calculated default window size > > The calculation of default window size is based on fixing width to 764px > in all preview aspect ratio cases(3:4, 4:3, 9:16, 16:9) and deriving > height from that fixed width so that after preserve space for left, > right, bottom icons(--xxx-line*2), the |#preview-box| can fit in preview > aspect ratio as close as possible. After these, the new default window > size under different preview aspect ratio will be: 3:4 -> 764x888; 4:3 > -> 764x552; 9:16 -> 764x1144; 16:9 -> 764x444. Also change the minimal > window width x height to 486 x 444 accordingly. > > Bug: b/175324385 > Test: Manually verify default window size under 3:4, 4:3, 9:16, 16:9 > preview. > > Change-Id: Ic4c569819f29b813029f478e6920f66453ab4792 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615730 > Reviewed-by: Shik Chen <shik@chromium.org> > Commit-Queue: Inker Kuo <inker@chromium.org> > Auto-Submit: Inker Kuo <inker@chromium.org> > Cr-Commit-Position: refs/heads/master@{#843399} TBR=shik@chromium.org,inker@chromium.org,wtlee@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: Ia46d3467a098d2682113795d5ddde2df1b016722 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: b/175324385,1166565 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626666 Commit-Queue: Andy Paicu <andypaicu@chromium.org> Reviewed-by:Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/master@{#843461}
Showing
Please register or sign in to comment