| Index: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
|
| index 28739288ac975e71f80f5e596a55d0c3ecb1363c..77f77219ae5fceb589001bc00ebdaaf2f812e44b 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
|
| @@ -16,7 +16,7 @@
|
| #include "chrome/browser/ui/singleton_tabs.h"
|
| #include "chrome/browser/ui/sync/bubble_sync_promo_delegate.h"
|
| #include "chrome/browser/ui/views/frame/browser_view.h"
|
| -#include "chrome/browser/ui/views/harmony/layout_delegate.h"
|
| +#include "chrome/browser/ui/views/harmony/chrome_layout_delegate.h"
|
| #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
|
| #include "chrome/browser/ui/views/location_bar/location_icon_view.h"
|
| #include "chrome/browser/ui/views/sync/bubble_sync_promo_view.h"
|
| @@ -207,19 +207,19 @@ void ExtensionInstalledBubbleView::Init() {
|
| // or a link to configure the keybinding shortcut (if one exists).
|
| // Extra info can include a promo for signing into sync.
|
|
|
| - LayoutDelegate* layout_delegate = LayoutDelegate::Get();
|
| + ChromeLayoutDelegate* layout_delegate = ChromeLayoutDelegate::Get();
|
| std::unique_ptr<views::BoxLayout> layout(new views::BoxLayout(
|
| views::BoxLayout::kVertical, 0, 0,
|
| - layout_delegate->GetMetric(
|
| - LayoutDelegate::Metric::RELATED_CONTROL_VERTICAL_SPACING)));
|
| + layout_delegate->GetDistanceMetric(
|
| + ChromeDistanceMetric::RELATED_CONTROL_VERTICAL)));
|
| layout->set_minimum_cross_axis_size(kRightColumnWidth);
|
| // Indent by the size of the icon.
|
| - layout->set_inside_border_insets(gfx::Insets(
|
| - 0,
|
| - GetIconSize().width() +
|
| - layout_delegate->GetMetric(
|
| - LayoutDelegate::Metric::UNRELATED_CONTROL_HORIZONTAL_SPACING),
|
| - 0, 0));
|
| + layout->set_inside_border_insets(
|
| + gfx::Insets(0,
|
| + GetIconSize().width() +
|
| + layout_delegate->GetDistanceMetric(
|
| + ChromeDistanceMetric::UNRELATED_CONTROL_HORIZONTAL),
|
| + 0, 0));
|
| layout->set_cross_axis_alignment(
|
| views::BoxLayout::CROSS_AXIS_ALIGNMENT_START);
|
| SetLayoutManager(layout.release());
|
|
|