Desktop PWAs: Move minimal-ui buttons to top left corner
The minimal-ui buttons (Back and Reload) now appear to the left of the window title, The origin and three dot menu appear to the far right (as before). Box layout is used to layout the buttons on the left and the buttons on the right. Flex layout is used to distribute space between the left and right button areas and the window title area in the center. Platform-specific adjustment of the spacing around the minimal-ui buttons will occur in a subsequent CL. Desktop web applications can request the minimal-ui buttons by specifying display minimal-ui in their web app manifest: https://www.w3.org/TR/appmanifest/#dom-displaymodetype-minimal-ui Bug: 1016663 Change-Id: I449f85b2a8d5912811245e40e084411629e8b1db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900801 Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Reviewed-by:Bret Sepulveda <bsep@chromium.org> Reviewed-by:
Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#715310}
Showing
This diff is collapsed.
Please register or sign in to comment