Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 703338
Collapse All | Expand All

(-)a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc (-2 / +2 lines)
Lines 47-53 Link Here
47
// Tag value used to uniquely identify the "learn more" (?) button.
47
// Tag value used to uniquely identify the "learn more" (?) button.
48
constexpr int kLearnMoreButton = 100;
48
constexpr int kLearnMoreButton = 100;
49
49
50
std::unique_ptr<views::View> CreateExtraView(views::ButtonListener* listener) {
50
std::unique_ptr<views::View> CreateExtraLearnMoreView(views::ButtonListener* listener) {
51
  auto learn_more = views::CreateVectorImageButton(listener);
51
  auto learn_more = views::CreateVectorImageButton(listener);
52
  views::SetImageFromVectorIcon(learn_more.get(),
52
  views::SetImageFromVectorIcon(learn_more.get(),
53
                                vector_icons::kHelpOutlineIcon);
53
                                vector_icons::kHelpOutlineIcon);
Lines 95-101 Link Here
95
      dark_theme_(nullptr) {
95
      dark_theme_(nullptr) {
96
  DialogDelegate::set_button_label(ui::DIALOG_BUTTON_OK,
96
  DialogDelegate::set_button_label(ui::DIALOG_BUTTON_OK,
97
                                   l10n_util::GetStringUTF16(IDS_DONE));
97
                                   l10n_util::GetStringUTF16(IDS_DONE));
98
  DialogDelegate::SetExtraView(::CreateExtraView(this));
98
  DialogDelegate::SetExtraView(::CreateExtraLearnMoreView(this));
99
  set_margins(gfx::Insets());
99
  set_margins(gfx::Insets());
100
  chrome::RecordDialogCreation(chrome::DialogIdentifier::INVERT);
100
  chrome::RecordDialogCreation(chrome::DialogIdentifier::INVERT);
101
}
101
}

Return to bug 703338