Desktop PWAs: Web app uninstall dialog reads layout provider insets
The BubbleDialogDelegateView constructor set margins based on provider GetDialogInsetsForContentType(TEXT, TEXT). ExtensionUninstallDialogDelegateView then adjusted these margins. The WebAppUninstallDialogDelegateView logic is based on ExtensionUninstallDialogDelegateView, but it doesn't have the same base class, so it was previously adjusting from 0 margins instead of adjusting layout provider insets. We now have consistent margin behavior between ExtensionUninstallDialogDelegateView and WebAppUninstallDialogDelegateView. Bug: 1059166 Change-Id: I97ad4cacdf346b4686c6d76ab38ef84d34a6e871 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094917 Auto-Submit: Eric Willigers <ericwilligers@chromium.org> Commit-Queue: Alexey Baskakov <loyso@chromium.org> Reviewed-by:Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#748446}
Showing
Please register or sign in to comment