| Index: chrome/browser/ui/views/chrome_views_delegate.cc
|
| diff --git a/chrome/browser/ui/views/chrome_views_delegate.cc b/chrome/browser/ui/views/chrome_views_delegate.cc
|
| index 74067861c6d312c640353abf9b13f16680915932..30478182968174d0c4b9cc607feb2362711379c1 100644
|
| --- a/chrome/browser/ui/views/chrome_views_delegate.cc
|
| +++ b/chrome/browser/ui/views/chrome_views_delegate.cc
|
| @@ -544,6 +544,16 @@ int ChromeViewsDelegate::GetDialogRelatedButtonHorizontalSpacing() {
|
| return ViewsDelegate::GetDialogRelatedButtonHorizontalSpacing();
|
| }
|
|
|
| +gfx::Insets ChromeViewsDelegate::GetDialogFrameViewInsets() {
|
| + if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
|
| + // Titles are inset at the top and sides, but not at the bottom.
|
| + return gfx::Insets(HarmonyLayoutDelegate::kHarmonyLayoutUnit,
|
| + HarmonyLayoutDelegate::kHarmonyLayoutUnit, 0,
|
| + HarmonyLayoutDelegate::kHarmonyLayoutUnit);
|
| + }
|
| + return ViewsDelegate::GetDialogFrameViewInsets();
|
| +}
|
| +
|
| #if !defined(USE_ASH)
|
| views::Widget::InitParams::WindowOpacity
|
| ChromeViewsDelegate::GetOpacityForInitParams(
|
|
|