ash: Set in-session auth dialog bounds according to parent window
This change sets the bounds of the in-session auth dialog according to the parent window bounds and the contents view's preferred size. This also fixes a bug introduced in http://crrev/c/2441963 where the dialog was not shown because no bound was specified and the contents view uses FillLayout. Bug: b/156258540 Change-Id: I30f863ded3eb1a7b6ec20c88a0bb46c1d23cd4cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2504638 Commit-Queue: Yicheng Li <yichengli@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#823444}
Showing
Please register or sign in to comment