[Views] Allow dialog delegates to use a custom padding for the extra view
commit90ad13a3b73ceda1500ab42de3d628ef851c2daa
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Tue, 19 May 2015 21:53:28 +0000 (19 14:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 21:54:17 +0000 (19 21:54 +0000)
tree91a595f6dbcd07608150e1f6ad5102c24852d61a
parent2b192b9ffe79f7cbe022f377a2cda7f6df94446f
[Views] Allow dialog delegates to use a custom padding for the extra view

Add a new method to allow a DialogDelegate to provide a custom
amount to use as the minimum padding between the extra view and the
button strip in the dialog.
Use this to adjust the padding in the extension uninstall dialog.

BUG=441377

Review URL: https://codereview.chromium.org/1141253002

Cr-Commit-Position: refs/heads/master@{#330622}
chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
ui/views/window/dialog_client_view.cc
ui/views/window/dialog_client_view_unittest.cc
ui/views/window/dialog_delegate.cc
ui/views/window/dialog_delegate.h