Add Safety Tip PageInfo bubble.
This CL adds support for the discrete Safety Tip UI (a variant of the Page Info
bubble) on Desktop. It is not currently triggered. This CL does not change the
existing PageInfo bubble at all.
Bug: 982930
Change-Id: I56af55b9773e0fe0f913e0486f67c771f36d5da0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1696521
Reviewed-by: Mustafa Emre Acer <[email protected]>
Commit-Queue: Joe DeBlasio <[email protected]>
Cr-Commit-Position: refs/heads/master@{#678080}
diff --git a/components/page_info_strings.grdp b/components/page_info_strings.grdp
index 03db48688..a2cb9e6 100644
--- a/components/page_info_strings.grdp
+++ b/components/page_info_strings.grdp
@@ -29,6 +29,20 @@
You're viewing the source of a web page
</message>
+ <!-- Safety Tip summary strings -->
+ <message name="IDS_PAGE_INFO_SAFETY_TIP_NAME" desc="Name of safety tips, displayed in bold as part of the title of the safety tip bubble.">
+ Safety tip:
+ </message>
+ <message name="IDS_PAGE_INFO_SAFETY_TIP_BAD_REPUTATION_TITLE" desc="Title of Safety Tip bubble when triggered.">
+ <ph name="SAFETY_TIP">$1<ex>Safety tip:</ex></ph> suspicious behavior
+ </message>
+ <message name="IDS_PAGE_INFO_SAFETY_TIP_BAD_REPUTATION_DESCRIPTION" desc="Body of message to display in the page info bubble when you are viewing a page that triggered a safety tip.">
+ This page might try to trick you, steal personal information, or harm your device. Be cautious when entering personal information or opening downloaded files.
+ </message>
+ <message name="IDS_PAGE_INFO_SAFETY_TIP_LEAVE_BUTTON" desc="Text of button to leave a suspicious page shown on the safety tip page info bubble.">
+ Leave this site
+ </message>
+
<!-- Viewing file strings -->
<message name="IDS_PAGE_INFO_FILE_PAGE" desc="Message to display in the page info bubble when the page the user has navigated to is a file:// page">
You're viewing a local or shared file