mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
20 lines
1 KiB
Diff
20 lines
1 KiB
Diff
--- chrome/browser/ui/views/accessibility/invert_bubble_view.cc
|
|
+++ chrome/browser/ui/views/accessibility/invert_bubble_view.cc
|
|
@@ -47,7 +47,7 @@
|
|
// Tag value used to uniquely identify the "learn more" (?) button.
|
|
constexpr int kLearnMoreButton = 100;
|
|
|
|
-std::unique_ptr<views::View> CreateExtraView(views::ButtonListener* listener) {
|
|
+std::unique_ptr<views::View> CreateExtraViewInternal(views::ButtonListener* listener) {
|
|
auto learn_more = views::CreateVectorImageButton(listener);
|
|
views::SetImageFromVectorIcon(learn_more.get(),
|
|
vector_icons::kHelpOutlineIcon);
|
|
@@ -95,7 +95,7 @@
|
|
DialogDelegate::set_buttons(ui::DIALOG_BUTTON_OK);
|
|
DialogDelegate::set_button_label(ui::DIALOG_BUTTON_OK,
|
|
l10n_util::GetStringUTF16(IDS_DONE));
|
|
- DialogDelegate::SetExtraView(::CreateExtraView(this));
|
|
+ DialogDelegate::SetExtraView(::CreateExtraViewInternal(this));
|
|
set_margins(gfx::Insets());
|
|
chrome::RecordDialogCreation(chrome::DialogIdentifier::INVERT);
|
|
}
|