| Index: chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc b/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc
|
| index 39b9a08b5ff55526cdb2ec8cd86762b442e7afe9..f2b0527abb8b414e99113f3a06621d43f189f0c3 100644
|
| --- a/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/desktop_ios_promotion/desktop_ios_promotion_bubble_view.cc
|
| @@ -42,6 +42,15 @@ DesktopIOSPromotionBubbleView::DesktopIOSPromotionBubbleView(
|
| ::GetDesiredBubbleMaxWidth(promotion_controller_->entry_point());
|
| views::GridLayout* layout = new views::GridLayout(this);
|
| layout->set_minimum_size(gfx::Size(bubble_width, 0));
|
| + layout->SetInsets(
|
| + 0,
|
| + LayoutDelegate::Get()->GetMetric(
|
| + LayoutDelegate::Metric::PANEL_CONTENT_MARGIN) +
|
| + desktop_ios_promotion::GetPromoImage(
|
| + GetNativeTheme()->GetSystemColor(
|
| + ui::NativeTheme::kColorId_TextfieldDefaultColor))
|
| + .width(),
|
| + 0, 0);
|
| SetLayoutManager(layout);
|
| send_sms_button_ = views::MdTextButton::CreateSecondaryUiBlueButton(
|
| this, l10n_util::GetStringUTF16(IDS_DESKTOP_TO_IOS_PROMO_SEND_TO_PHONE));
|
| @@ -49,19 +58,8 @@ DesktopIOSPromotionBubbleView::DesktopIOSPromotionBubbleView(
|
| this, l10n_util::GetStringUTF16(IDS_DESKTOP_TO_IOS_PROMO_NO_THANKS));
|
| constexpr int kLabelColumnSet = 1;
|
| views::ColumnSet* column_set = layout->AddColumnSet(kLabelColumnSet);
|
| - column_set->AddPaddingColumn(
|
| - 0, LayoutDelegate::Get()->GetMetric(
|
| - LayoutDelegate::Metric::DIALOG_BUTTON_MARGIN) +
|
| - desktop_ios_promotion::GetPromoImage(
|
| - GetNativeTheme()->GetSystemColor(
|
| - ui::NativeTheme::kColorId_TextfieldDefaultColor))
|
| - .width() +
|
| - LayoutDelegate::Get()->GetMetric(
|
| - LayoutDelegate::Metric::RELATED_CONTROL_HORIZONTAL_SPACING));
|
| -
|
| column_set->AddColumn(views::GridLayout::FILL, views::GridLayout::FILL, 0,
|
| views::GridLayout::FIXED, bubble_width, 0);
|
| -
|
| constexpr int kDoubleButtonColumnSet = 2;
|
| column_set = layout->AddColumnSet(kDoubleButtonColumnSet);
|
| column_set->AddColumn(views::GridLayout::TRAILING, views::GridLayout::CENTER,
|
|
|