Adapt OOBE UI Dialog sizing to UI specs.
Previously OOBE UI Dialog size was controlled from JS code. This CL changes implementation so that dialog size is set according to UI specifications in C++ code, and web-based ui should just fully fit into given dialog. Note that code in ash/wm/lock_layout_manager / lock_window_state propagates bounds changes only to full-screen children, so OobeUIDialogDelegate will create full-screen Widget that will host WebUI dialog, receive all bound-changed events and update hosted dialog size according to specs. Bug: 1007294, 1007861 Change-Id: Ib81ec7f886cd406df98838de5af8401083de0b87 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841953Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: Denis Kuznetsov <antrim@chromium.org> Cr-Commit-Position: refs/heads/master@{#706966}
Showing
This diff is collapsed.
Please register or sign in to comment