Commit 8f0dbd34 authored by Jun Cai's avatar Jun Cai Committed by Commit Bot

[sms] Update the title icon of the sms infobar

This CL updates the title icon of the sms infobar based on the mock.

I uploaded a screenshot on the issue page

Bug: 995434
Change-Id: I428682330936fffc13df19871fc3bf22bfa7e838
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761256Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Reviewed-by: default avatarAyu Ishii <ayui@chromium.org>
Commit-Queue: Jun Cai <juncai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689607}
parent 0daa93fc
......@@ -61,6 +61,8 @@ DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_TIP,
R.drawable.ic_lightbulb_outline_googblue_24dp)
DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_TRANSLATE, R.drawable.infobar_translate)
DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_WARNING, R.drawable.infobar_warning)
DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PHONE_ICON,
R.drawable.smartphone_black_24dp)
LINK_RESOURCE_ID(IDR_AUTOFILL_GOOGLE_PAY_WITH_DIVIDER,
R.drawable.google_pay_with_divider)
......
......@@ -31,8 +31,7 @@ infobars::InfoBarDelegate::InfoBarIdentifier SmsInfoBarDelegate::GetIdentifier()
}
int SmsInfoBarDelegate::GetIconId() const {
// TODO(crbug.com/995434): Create and use a smartphone icon.
return IDR_ANDROID_INFOBAR_SAVE_PASSWORD;
return IDR_ANDROID_INFOBAR_PHONE_ICON;
}
base::string16 SmsInfoBarDelegate::GetMessageText() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment