Download location: limit download location dialog width.
Currently ModalDialogView uses dialog_max_width(600dp) as maximum width. The download location dialog's custom view only wraps a much smaller area, so it looks bad in landscape view. This CL makes width limitation to use type value, which can be dp or fraction of the screen. Bug: 847575 Change-Id: I946423bdda2eb052cb02f72d5ed36447e58bcc6d Reviewed-on: https://chromium-review.googlesource.com/1082930Reviewed-by:Becky Zhou <huayinz@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#564936}
Showing
Please register or sign in to comment