Add string for price drop discoverability
Added in a new string for the price tracking IPH, which attaches to the tab switcher icon to notify the user about a price drop.
Bug: 1330631
Change-Id: Icb6a0dceaf46912ccbb4b4fd088266ee5c36df98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3681800
Reviewed-by: Ayman Almadhoun <ayman@chromium.org>
Reviewed-by: Yue Zhang <yuezhanggg@chromium.org>
Commit-Queue: Victoria Williamson <victorianw@google.com>
Reviewed-by: Zhiyuan Cai <zhiyuancai@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1013729}
diff --git a/chrome/android/expectations/lint-suppressions.xml b/chrome/android/expectations/lint-suppressions.xml
index 5572d76f..5eb084f 100644
--- a/chrome/android/expectations/lint-suppressions.xml
+++ b/chrome/android/expectations/lint-suppressions.xml
@@ -287,6 +287,9 @@
<!--TODO(crbug.com/1278431): Remove unused resources when UX is finalized. -->
<ignore regexp="The resource `R.string.price_tracking_title` appears to be unused"/>
+ <!-- Temporarily suppressed until impelmentation is ready, see: https://crbug.com/1330631 -->
+ <ignore regexp="The resource `R.string.price_drop_spotted_iph` appears to be unused"/>
+
<!-- Endnote: Please specify number of suppressions when adding more -->
</issue>
<issue id="VectorPath" severity="ignore"/>
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
index 3c721e0..61087103 100644
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
@@ -5646,6 +5646,11 @@
<message name="IDS_PASSWORD_EDIT_DIALOG_UNSYNCED_FOOTER" desc="Footer for a dialog which allows users to see and edit passwords while saving/updating a new credential. Displayed for users who are not syncing passwords.">
Passwords are saved to Password Manager on this device
</message>
+
+ <!-- Price tracking strings -->
+ <message name="IDS_PRICE_DROP_SPOTTED_IPH" desc="This text appears in the IPH when a user opens a new tab page and an item in any of their open tabs has a price drop.">
+ Price drop spotted
+ </message>
</messages>
</release>
</grit>
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_PRICE_DROP_SPOTTED_IPH.png.sha1 b/chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_PRICE_DROP_SPOTTED_IPH.png.sha1
new file mode 100644
index 0000000..3b7003c0
--- /dev/null
+++ b/chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_PRICE_DROP_SPOTTED_IPH.png.sha1
@@ -0,0 +1 @@
+47eedb698c856fe9ea0f17a4642f2cf17f522138
\ No newline at end of file