Commit 49232fb4 authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Wrap some PPAPI GRD entries in an enable_plugins conditional.

Effectively removing them from Android, where there is no PPAPI. Also
fix an "is_chromeos" typo.

Change-Id: I1395ccf368c1d0f593352d1ae2755fcb5920468a
Reviewed-on: https://chromium-review.googlesource.com/1140531Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575885}
parent ee20b5a2
......@@ -4508,16 +4508,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
</message>
<!-- Pepper Broker Infobar -->
<if expr="is_android">
<message name="IDS_PEPPER_BROKER_MESSAGE" desc="Mobile: Message shown when a pepper plugin wants to launch its broker. This message is followed by a 'Learn more' link.">
<ph name="PEPPER_PLUGIN_NAME">$1<ex>Flash</ex></ph> on <ph name="PEPPER_PLUGIN_DOMAIN">$2<ex>example.com</ex></ph> wants to access your device
</message>
</if>
<if expr="not is_android">
<if expr="enable_plugins">
<message name="IDS_PEPPER_BROKER_MESSAGE" desc="Message shown when a pepper plugin wants to launch its broker. This message is followed by a 'Learn more' link.">
<ph name="PEPPER_PLUGIN_NAME">$1<ex>Flash</ex></ph> on <ph name="PEPPER_PLUGIN_DOMAIN">$2<ex>example.com</ex></ph> wants to access your computer
</message>
</if>
<message name="IDS_PEPPER_BROKER_ALLOW_BUTTON" desc="Text for the allow button on the pepper broker launch prompt">
Allow
</message>
......@@ -4548,6 +4542,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_ALLOWED_PPAPI_BROKER_BLOCK" desc="Radio button to block the Pepper broker">
Always block unsandboxed plugins on <ph name="HOST">$1<ex>example.com</ex></ph>
</message>
</if>
<!-- Blocked Displaying/Running Insecure Content bubble -->
<message name="IDS_BLOCKED_DISPLAYING_INSECURE_CONTENT_TITLE" desc="Title of the bubble shown when a message has asked Chrome to display mixed content.">
......@@ -5200,7 +5195,7 @@ the Bookmarks menu.">
</message>
</if>
<if expr="is_win or (is_linux and not is_chromeos)">
<if expr="is_win or (is_linux and not chromeos)">
<!-- Confirm to quit panel -->
<message name="IDS_CONFIRM_TO_QUIT_DESCRIPTION" desc="Instructions for how the user should confirm quitting.">
Hold |<ph name="ACCELERATOR1">$1<ex>Ctrl</ex></ph>|+|<ph name="ACCELERATOR2">$2<ex>Shift</ex></ph>|+|<ph name="ACCELERATOR3">$3<ex>Q</ex></ph>| to exit
......
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