Android: use grit target platform instead of define.
grit now supports passing "-t android" to set the target platform to
android, which sets is_android and is_posix, and does *not* set
is_linux (matching the OS_* macros). Use this instead of defining an
"android" macro.
This requires one actual condition change in app_locale_settings as
the Android port was previously depending on is_linux being true for
its definitions of IDS_WEB_FONT_*. The other grd changes are all
trivial substitutions.
BUG=239434
[email protected], [email protected], [email protected], [email protected]
Review URL: https://codereview.chromium.org/14834011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201310 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 6521365..73923ad 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1493,7 +1493,7 @@
],
}],
['OS=="android"', {
- 'grit_defines': ['-D', 'android',
+ 'grit_defines': ['-t', 'android',
'-E', 'ANDROID_JAVA_TAGGED_ONLY=true'],
}],
['OS=="mac"', {
diff --git a/chrome/app/bookmarks_strings.grdp b/chrome/app/bookmarks_strings.grdp
index 2de2843..9b12c83 100644
--- a/chrome/app/bookmarks_strings.grdp
+++ b/chrome/app/bookmarks_strings.grdp
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Bookmarks specific strings (included from generated_resources.grd). -->
<grit-part>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios') and pp_ifdef('use_titlecase')">
+ <if expr="not is_android and not pp_ifdef('ios') and pp_ifdef('use_titlecase')">
<message name="IDS_BOOKMARK_BAR_FOLDER_NAME" desc="In Title Case: Name shown in the tree for the Bookmarks Bar folder.">
Bookmarks Bar
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios') and not pp_ifdef('use_titlecase')">
+ <if expr="not is_android and not pp_ifdef('ios') and not pp_ifdef('use_titlecase')">
<message name="IDS_BOOKMARK_BAR_FOLDER_NAME" desc="Name shown in the tree for the Bookmarks Bar folder.">
Bookmarks bar
</message>
@@ -61,7 +61,7 @@
Show Apps Shortcut
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_BOOKMARK_BAR_FOLDER_NAME" desc="Mobile: Name shown in the tree for the desktop bookmarks folder">
Desktop bookmarks
</message>
@@ -379,7 +379,7 @@
</message>
<!-- End of Bookmark Star button strings. -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_BOOKMARK_EDIT_FOLDER" desc="Context menu item for editing a bookmark folder">
Edit folder
</message>
diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index 5d31027..8f728d9 100644
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -472,12 +472,12 @@
<message name="IDS_CRASH_RECOVERY_CONTENT" desc="Text content telling the user the browser has crashed.">
Whoa! Chromium has crashed. Relaunch now?
</message>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_PASSWORD_MANAGER_SAVE_PASSWORD_PROMPT" desc="Info bar message to save a password">
Do you want Chromium to save your password?
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_PASSWORD_MANAGER_SAVE_PASSWORD_PROMPT" desc="Mobile: Info bar message to save a password">
Do you want Chromium to save your password for this site?
</message>
@@ -689,14 +689,14 @@
</message>
<!-- about:memory -->
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_MEMORY_USAGE_SUMMARY_DESC" desc="Describes the browser summary table in the about memory page, which shows memory usage for Chromium and any other active browsers." translateable="false">
Summary of memory used by currently active browsers. For browsers which use multiple processes, memory reflects aggregate memory used across all browser processes.
For Chromium, processes used to display diagnostics information (such as this "about:memory") are excluded.
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_MEMORY_USAGE_SUMMARY_DESC" desc="Describes the browser summary table in the about memory page, which shows memory usage for Chromium." translateable="false">
Summary of memory used by Chromium. Since Chromium uses multiple processes, memory reflects aggregate memory used across all browser processes.
@@ -897,11 +897,11 @@
and deselect any proxies that have been selected.
</message>
</if>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Instructions for disabling use of a proxy server (leave empty for Android and iOS).">
</message>
</if>
- <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx and not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx and not is_android and not pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Linux instructions for disabling use of a proxy server.">
Go to
the Chromium menu >
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 567114d..a643aca 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -113,7 +113,7 @@
<!-- On Android, output some strings into Android's xml string format.
These strings are tagged with formatter_data="android_java" -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<output filename="java/res/values-am/generated_resources.xml" lang="am" type="android" context="android_java" />
<output filename="java/res/values-ar/generated_resources.xml" lang="ar" type="android" context="android_java" />
<output filename="java/res/values-bg/generated_resources.xml" lang="bg" type="android" context="android_java" />
@@ -1418,17 +1418,17 @@
</if>
<!-- App menu -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SHOW_BOOKMARK_BAR" desc="Mobile: The toggle to show the bookmark bar">
&Always show bookmarks bar
</message>
</if>
- <if expr="not pp_ifdef('android') and pp_ifdef('use_titlecase')">
+ <if expr="not is_android and pp_ifdef('use_titlecase')">
<message name="IDS_SHOW_BOOKMARK_BAR" desc="In Title Case: The toggle to show the bookmark bar">
&Show Bookmarks Bar
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('use_titlecase')">
+ <if expr="not is_android and not pp_ifdef('use_titlecase')">
<message name="IDS_SHOW_BOOKMARK_BAR" desc="The toggle to show the bookmark bar">
&Show bookmarks bar
</message>
@@ -2879,7 +2879,7 @@
<message name="IDS_DOWNLOAD_UNCONFIRMED_PREFIX" desc="The prefix used in the unconfirmed download file.">
Unconfirmed
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_PROMPT_DANGEROUS_DOWNLOAD"
desc="Mobile: Message shown to the user to validate the download of a dangerous file.">
This type of file can harm your mobile device. Do you want to keep <ph name="FILE_NAME">$1<ex>malware.exe</ex></ph> anyway?
@@ -2889,7 +2889,7 @@
Extensions, apps, and themes can harm your mobile device. Are you sure you want to continue?
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_PROMPT_DANGEROUS_DOWNLOAD"
desc="Message shown to the user to validate the download of a dangerous file.">
This type of file can harm your computer. Do you want to keep <ph name="FILE_NAME">$1<ex>malware.exe</ex></ph> anyway?
@@ -3310,12 +3310,12 @@
<message name="IDS_CERT_ERROR_EXTRA_INFO_TITLE" desc="The title for the extra information section displayed when a page contains a certificate error">
Help me understand
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_CERT_ERROR_EXTRA_INFO_1" desc="Mobile: 1st paragraph of extra information for any certificate error">
When you connect to a secure website, the server hosting that site presents your browser with something called a "certificate" to verify its identity. This certificate contains identity information, such as the address of the website, which is verified by a third party that your mobile device trusts. By checking that the address in the certificate matches the address of the website, it is possible to verify that you are securely communicating with the website you intended, and not a third party (such as an attacker on your network).
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_CERT_ERROR_EXTRA_INFO_1" desc="1st paragraph of extra information for any certificate error">
When you connect to a secure website, the server hosting that site presents your browser with something called a "certificate" to verify its identity. This certificate contains identity information, such as the address of the website, which is verified by a third party that your computer trusts. By checking that the address in the certificate matches the address of the website, it is possible to verify that you are securely communicating with the website you intended, and not a third party (such as an attacker on your network).
</message>
@@ -3353,17 +3353,17 @@
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_TITLE" desc="Title for an X509 certificate with an invalid authority">
The site's security certificate is not trusted!
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_EXTRA_INFO_2" desc="Mobile: 2nd paragraph of extra information for a X509 certificate with an invalid authority">
In this case, the certificate has not been verified by a third party that your mobile device trusts. Anyone can create a certificate claiming to be whatever website they choose, which is why it must be verified by a trusted third party. Without that verification, the identity information in the certificate is meaningless. It is therefore not possible to verify that you are communicating with <ph name="DOMAIN"><strong>$1<ex>paypal.com</ex></strong></ph> instead of an attacker who generated his own certificate claiming to be <ph name="DOMAIN2"><strong>$2<ex>paypal.com</ex></strong></ph>. You should not proceed past this point.
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_EXTRA_INFO_3" desc="Mobile: 3rd paragraph of extra information for a X509 certificate with an invalid authority">
If, however, you work in an organization that generates its own certificates, and you are trying to connect to an internal website of that organization using such a certificate, you may be able to solve this problem securely. You can import your organization's root certificate as a "root certificate", and then certificates issued or verified by your organization will be trusted and you will not see this error next time you try to connect to an internal website. Contact your organization's help staff for assistance in adding a new root certificate to your mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_EXTRA_INFO_2" desc="2nd paragraph of extra information for a X509 certificate with an invalid authority">
In this case, the certificate has not been verified by a third party that your computer trusts. Anyone can create a certificate claiming to be whatever website they choose, which is why it must be verified by a trusted third party. Without that verification, the identity information in the certificate is meaningless. It is therefore not possible to verify that you are communicating with <ph name="DOMAIN"><strong>$1<ex>paypal.com</ex></strong></ph> instead of an attacker who generated his own certificate claiming to be <ph name="DOMAIN2"><strong>$2<ex>paypal.com</ex></strong></ph>. You should not proceed past this point.
</message>
@@ -5036,12 +5036,12 @@
On your <ph name="ACCOUNT_EMAIL">$1<ex>[email protected]</ex></ph> account, it could:
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_EXTENSION_PROMPT_WARNING_FULL_ACCESS" desc="Mobile: Permission string for full access to the mobile device and all websites.">
Access all data on your mobile device and the websites you visit
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_EXTENSION_PROMPT_WARNING_FULL_ACCESS" desc="Permission string for full access to the computer and all websites.">
Access all data on your computer and the websites you visit
</message>
@@ -6110,7 +6110,7 @@
<message name="IDS_POLICY_SCOPE_USER" desc="Text displayed in the Applies to column when a policy applies to the current user only.">
Current user
</message>
- <if expr="not pp_ifdef('android') and not pp_ifdef('chromeos')">
+ <if expr="not is_android and not pp_ifdef('chromeos')">
<message name="IDS_POLICY_SCOPE_DEVICE" desc="Text displayed in the Applies to column when a policy applies to everyone on the machine.">
Machine
</message>
@@ -6120,7 +6120,7 @@
Device
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_POLICY_SCOPE_DEVICE" desc="Mobile: Text displayed in the Applies To column when a policy applies to everyone on the mobile device.">
Mobile device
</message>
@@ -6194,12 +6194,12 @@
<message name="IDS_FLAGS_ENABLE_NACL_NAME" desc="Name of the 'Enable Native Client' lab.">
Native Client
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FLAGS_ENABLE_NACL_DESCRIPTION" desc="Mobile: Description of the 'Enable Native Client' lab.">
Enable support for Native Client.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_FLAGS_ENABLE_NACL_DESCRIPTION" desc="Description of the 'Enable Native Client' lab.">
Enable Native Client for all web applications, even those that were not installed from the Chrome Web Store.
</message>
@@ -6237,12 +6237,12 @@
<message name="IDS_FLAGS_CLOUD_PRINT_CONNECTOR_NAME" desc="Title of the Cloud Print Connector lab">
Cloud Print Connector
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FLAGS_CLOUD_PRINT_CONNECTOR_DESCRIPTION" desc="Mobile: Description of the Cloud Print Connector lab">
Enables a background service that connects the Google Cloud Print service to any printers installed on this mobile device. Once this lab is enabled, you can turn the Google Cloud Print Connector on by logging in with your Google account in the Under the Hood section of Settings.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_FLAGS_CLOUD_PRINT_CONNECTOR_DESCRIPTION" desc="Description of the Cloud Print Connector lab">
Enables a background service that connects the Google Cloud Print service to any printers installed on this computer. Once this lab is enabled, you can turn the Google Cloud Print Connector on by logging in with your Google account in the Under the Hood section of Settings.
</message>
@@ -6457,12 +6457,12 @@
<message name="IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_NAME" desc="Name of the 'Enable experimental location features' lab.">
Experimental location features
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_DESCRIPTION" desc="Mobile: Description of the 'Enable experimental location features' lab.">
Enables experimental extensions to the geolocation feature. Includes using operating system location APIs (where available), and sending additional local network configuration data to the Google location service to provide higher accuracy positioning.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_FLAGS_EXPERIMENTAL_LOCATION_FEATURES_DESCRIPTION" desc="Description of the 'Enable experimental location features' lab.">
Enables experimental extensions to the geolocation feature to use operating system location APIs (where available).
</message>
@@ -6594,7 +6594,7 @@
<message name="IDS_FLAGS_SYNC_KEYSTORE_ENCRYPTION_DESCRIPTION" desc="Description for the flag to enable sync's keystore encryption options">
Switch to sync's new server supported encryption schema. Warning: this will modify your sync data, possibly making it unreadable to other clients.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FLAGS_SYNC_TYPED_URLS_NAME" desc="Mobile: Title for the flag to enable syncing the TypedUrl datatype">
Enable syncing typed URLs
</message>
@@ -6602,7 +6602,7 @@
Enable typed URLs in the sync settings. This allows syncing your typed URL history to other clients to assist in omnibox auto-completion.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_FLAGS_SYNC_TYPED_URLS_NAME" desc="Title for the flag to enable syncing the TypedUrl datatype">
Enable syncing History
</message>
@@ -7128,7 +7128,7 @@
<message name="IDS_FLAGS_ENABLE_APPS_DEVTOOL_APP_DESCRIPTION" desc="Description of flag to enable apps-devtools app.">
An app to develop apps / extensions.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FLAGS_ENABLE_SPDY_PROXY_AUTH_NAME" desc="Name of the flag to enable data compression proxy.">
Enable Data Compression Proxy
</message>
@@ -7419,12 +7419,12 @@
</message>
<!-- Pepper Broker Info bar -->
- <if expr="pp_ifdef('android')">
+ <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>Shockwave Flash</ex></ph> on <ph name="PEPPER_PLUGIN_DOMAIN">$2<ex>example.com</ex></ph> wants to access your mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<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>Shockwave Flash</ex></ph> on <ph name="PEPPER_PLUGIN_DOMAIN">$2<ex>example.com</ex></ph> wants to access your computer.
</message>
@@ -7471,17 +7471,17 @@
Load unsafe script
</message>
</if>
- <if expr="not pp_ifdef('android') and pp_ifdef('use_titlecase')">
+ <if expr="not is_android and pp_ifdef('use_titlecase')">
<message name="IDS_BLOCK_INSECURE_CONTENT_BUTTON" desc="Button to prevent insecure content from being displayed">
Don't Load (Recommended)
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('use_titlecase')">
+ <if expr="not is_android and not pp_ifdef('use_titlecase')">
<message name="IDS_BLOCK_INSECURE_CONTENT_BUTTON" desc="Button to prevent insecure content from being displayed">
Don't load (recommended)
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_BLOCK_INSECURE_CONTENT_BUTTON" desc="Mobile: Button to prevent insecure content from being displayed">
Don't load
</message>
@@ -7949,7 +7949,7 @@
</message>
<!-- Password Manager -->
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_PASSWORD_MANAGER_SAVE_BUTTON" desc="Save button text for password manager">
Save password
</message>
@@ -7957,7 +7957,7 @@
Never for this site
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_PASSWORD_MANAGER_SAVE_BUTTON" desc="Mobile: Button text for the 'Save Password' infobar's 'Remember password' option">
Yes
</message>
@@ -8692,12 +8692,12 @@
<message name="IDS_CLOUD_PRINT_SETUP_SHARING_EXPLAIN" desc="Explanation about printer management.">
Share and control access to your printers with any Google account.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_CLOUD_PRINT_SETUP_DONE" desc="Mobile: Message on completed set up of cloud print.">
<ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph> has registered the printers on this mobile device with <b><ph name="EMAIL_ADDRESSES">$2<ex>[email protected]</ex></ph></b>. You can now print to your printers from any <ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph> enabled web or mobile app!
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_CLOUD_PRINT_SETUP_DONE" desc="Message on completed set up of cloud print.">
<ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph> has registered the printers on this machine with <b><ph name="EMAIL_ADDRESSES">$2<ex>[email protected]</ex></ph></b>. You can now print to your printers from any <ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph> enabled web or mobile app!
</message>
@@ -9186,7 +9186,7 @@
<message name="IDS_ERRORPAGES_BUTTON_RELOAD" desc="Label for the button on an error page to reload the page">
Reload
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_ERRORPAGES_BUTTON_SETTINGS" desc="Mobile: Label for the button on an error page to launch system settings menu">
Settings
</message>
@@ -9224,14 +9224,14 @@
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_CONFIG_HEADER" desc="When a webpage fails to load, in some cases we suggest checking the proxy server configuration, or disabling the proxy server. This is a header above some details.">
If you use a proxy server...
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_CONFIG_BODY" desc="When a webpage fails to load, in some cases we suggest checking the proxy server configuration, or disabling the proxy server. These are instructions below a header.">
Check your proxy settings or contact your network administrator to
make sure the proxy server is working.
<ph name="PLATFORM_TEXT">$1<ex>Goto the wrench menu and choose Fix It.</ex></ph>
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_CONFIG_BODY" desc="When a webpage fails to load, in some cases we suggest checking the proxy server configuration, or disabling the proxy server. These are instructions below a header.">
Check your proxy settings or contact your network administrator to
make sure the proxy server is working. If you don't believe you should
@@ -9281,12 +9281,12 @@
<message name="IDS_ERRORPAGES_HEADING_PROXY_CONNECTION_FAILED" desc="Heading in the error page when the proxy server connection failed.">
Unable to connect to the proxy server
</message>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_ERRORPAGES_HEADING_INTERNET_DISCONNECTED" desc="Heading of the error page when the network connection failed.">
Unable to connect to the Internet
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_ERRORPAGES_HEADING_INTERNET_DISCONNECTED" desc="Mobile: Heading of the error page when the network connection failed.">
You are offline.
</message>
@@ -9367,7 +9367,7 @@
<message name="IDS_ERRORPAGES_SUMMARY_FILE_ACCESS_DENIED" desc="Summary in the error page when we can't open a file.">
The file at <ph name="URL"><strong jscontent="failedUrl"></strong><ex>http://www.google.com/</ex></ph> is not readable. It may have been removed, moved, or file permissions may be preventing access.
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_ACCESS_DENIED" desc="Mobile: Summary in the error page when we're not being allowed to access the network.">
<ph name="PRODUCT_NAME"><span jscontent="productName"></span><ex>Google Chrome</ex></ph>
is having trouble accessing the network.
@@ -9388,7 +9388,7 @@
The page can be loaded once you connect to a network.
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_ACCESS_DENIED" desc="Summary in the error page when we're not being allowed to access the network.">
<ph name="PRODUCT_NAME"><span jscontent="productName"></span><ex>Google Chrome</ex></ph>
is having trouble accessing the network.
@@ -9477,7 +9477,7 @@
If the problem persists, try clearing the cache. In some cases, this
can also be a symptom of hardware starting to fail.
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_IO_SUSPENDED" desc="Mobile: Summary in the error page when a page load failed due to the mobile device entering sleep/suspend mode.">
Unable to load the webpage because your mobile device entered sleep or
hibernate mode. When this happens, network connections are shut
@@ -9485,7 +9485,7 @@
resolve this.
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_IO_SUSPENDED" desc="Summary in the error page when a page load failed due to the computer entering sleep/suspend mode.">
Unable to load the webpage because your computer entered sleep or
hibernate mode. When this happens, network connections are shut
@@ -9496,7 +9496,7 @@
<message name="IDS_ERRORPAGES_SUMMARY_NOT_FOUND" desc="Summary in the error page when the server returns a 404.">
No webpage was found for the web address: <ph name="URL"><strong jscontent="failedUrl"></strong></ph>
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUMMARY_TOO_MANY_REDIRECTS" desc="Mobile: Summary in the error page when there are too many URL redirects.">
The webpage at <ph name="URL"><strong jscontent="failedUrl"></strong></ph> has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If
@@ -9504,7 +9504,7 @@
mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUMMARY_TOO_MANY_REDIRECTS" desc="Summary in the error page when there are too many URL redirects.">
The webpage at <ph name="URL"><strong jscontent="failedUrl"></strong></ph> has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If
@@ -10093,7 +10093,7 @@
</if>
<!-- Android First-run messages -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FIRSTRUN_TAKE_TOUR" desc="Button or link to begin a product tour of Chrome">
Take a tour
</message>
@@ -10384,12 +10384,12 @@
<message name="IDS_OPTIONS_DEFAULTBROWSER_SXS" desc="The text displayed when Chrome is installed in side-by-side mode, which does not support setting as the default browser.">
This is a secondary installation of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>, and cannot be made your default browser.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_AUTOLAUNCH_TEXT" desc="Mobile: The text displayed in settings to explain whether Chrome is set to auto-launch on startup or not.">
Launch <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> automatically when I start my mobile device
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_AUTOLAUNCH_TEXT" desc="The text displayed in settings to explain whether Chrome is set to auto-launch on startup or not.">
Launch <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> automatically when I start my computer
</message>
@@ -10742,12 +10742,12 @@
Get themes
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_OPTIONS_SYSTEM_PROXIES_LABEL" desc="Mobile: The info label for the 'Proxy settings' button when managed by the system.">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is using your mobile device's system proxy settings to connect to the network.
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_OPTIONS_SYSTEM_PROXIES_LABEL" desc="The info label for the 'Proxy settings' button when managed by the system.">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is using your computer's system proxy settings to connect to the network.
</message>
@@ -10762,12 +10762,12 @@
<message name="IDS_OPTIONS_CURRENT_USER_ONLY" desc="In the multi profiles user list, the tooltip text noticing that only the current user can modify these settings.">
You can only edit settings for the current user. Switch to this user to edit settings for it.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_OPTIONS_CLOUD_PRINT_CONNECTOR_DISABLED_LABEL" desc="Mobile: The label of the cloud print setup button when it hasn't been set up yet.">
<ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph> lets you access this mobile device's printers from anywhere. Click to enable.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_OPTIONS_CLOUD_PRINT_CONNECTOR_DISABLED_LABEL" desc="The label of the cloud print setup button when it hasn't been set up yet.">
<ph name="CLOUD_PRINT_NAME">$1<ex>Google Cloud Print</ex></ph> lets you access this computer's printers from anywhere. Click to enable.
</message>
@@ -10867,7 +10867,7 @@
</message>
<!-- Android welcome page strings -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_WELCOME_PAGE_SEARCH_BUBBLE" desc="The message displayed on the search bubble on the welcome page">
Search the web directly
</message>
@@ -10954,12 +10954,12 @@
Sign in
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not is_android and not pp_ifdef('ios')">
<message name="IDS_AUTOLOGIN_INFOBAR_CANCEL_BUTTON" desc="The string used in the infobar button that the user presses to never see this infobar again.">
Never offer to sign me in
</message>
</if>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_AUTOLOGIN_INFOBAR_CANCEL_BUTTON" desc="Mobile: The string used in the autologin infobar button that the user presses to close the infobar without logging in.">
Cancel
</message>
@@ -11179,13 +11179,13 @@
</message>
<!-- New Tab -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_NEW_TAB_TITLE"
desc="Mobile: For mobile devices. Do not use title case. Title of the new tab page, this is only shown while loading, then the title comes from the page.">
New tab
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_NEW_TAB_TITLE"
desc="Title of the new tab page, this is only shown while loading, then the title comes from the page">
New Tab
@@ -11258,7 +11258,7 @@
desc="In the 'Other Sessions' menu on the New Tab Page, the label for the command to expand (uncollapse) the list of windows and tabs in a session.">
Expand list
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_NEW_TAB_OTR_MESSAGE_MOBILE"
desc="Mobile: Used when a person opens an OTR tab">
<ph name="BEGIN_BOLD"><strong></ph>You've gone incognito.<ph name="END_BOLD"></strong></ph>
@@ -11284,7 +11284,7 @@
<ph name="BEGIN_LINK"><a href="$1"></ph>Learn more<ph name="END_LINK"></a><ex></a></ex></ph> about incognito browsing.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_NEW_TAB_OTR_MESSAGE"
desc="Used when a person opens an OTR window">
<ph name="BEGIN_BOLD"><strong></ph>You've gone incognito<ph name="END_BOLD">"</strong></ph>. Pages you view in this window won't appear in your browser history or search history, and they won't leave other traces, like cookies, on your computer after you close <strong>all</strong> open incognito windows. Any files you download or bookmarks you create will be preserved, however.
@@ -11305,7 +11305,7 @@
Because <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> does not control how extensions handle your personal data, all extensions have been disabled for incognito windows. You can reenable them individually in the
<ph name="BEGIN_LINK"><a href="$2"></ph>extensions manager<ph name="END_LINK"></a><ex></a></ex></ph>.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_NEW_TAB_GUEST_SESSION_MESSAGE"
desc="Mobile: Used when a person enters Guest Session">
<ph name="BEGIN_BOLD"><strong></ph>You're browsing as a Guest<ph name="END_BOLD"></strong></ph>. Pages you view in this tab won't appear in the browser history or search history, and they won't leave other traces, like cookies, on the mobile device after you sign out. Files you download and bookmarks you create won't be preserved.
@@ -11313,7 +11313,7 @@
<ph name="BEGIN_LINK"><a href="$1"></ph>Learn more<ph name="END_LINK"></a><ex></a></ex></ph> about Guest browsing.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_NEW_TAB_GUEST_SESSION_MESSAGE"
desc="Used when a person enters Guest Session">
<ph name="BEGIN_BOLD"><strong></ph>You're browsing as a Guest<ph name="END_BOLD"></strong></ph>. Pages you view in this window won't appear in the browser history or search history, and they won't leave other traces, like cookies, on the computer after you sign out. Files you download and bookmarks you create won't be preserved.
@@ -11447,7 +11447,7 @@
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_EDIT_SIMPLE" desc="Generic word 'edit', as opposed to the menu items which have ampersands">
Edit
</message>
@@ -11668,12 +11668,12 @@
<message name="IDS_SYNC_LOGIN_NAME_PROHIBITED" desc="The error message shown when the user tries to sign in to sync using a name that is not allowed by the admin policy">
Signing in with this username has been disabled by your administrator.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SYNC_USER_NAME_IN_USE_ERROR" desc="Mobile: An error message shown when a user tries to sign in to sync using a user name that's already in use by another profile.">
This account is already being used on this mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_SYNC_USER_NAME_IN_USE_ERROR" desc="An error message shown when a user tries to sign in to sync using a user name that's already in use by another profile.">
This account is already being used on this computer.
</message>
@@ -11700,7 +11700,7 @@
<message name="IDS_SAFE_BROWSING_MALWARE_V2_DESCRIPTION1_SUBRESOURCE" desc="SafeBrowsing Malware HTML v2 description, first line, when the malware is on a subresource of the page">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> has blocked access to this page on <ph name="HOST_NAME">$2<ex>landing.com</ex></ph>.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SAFE_BROWSING_MALWARE_V2_DESCRIPTION2" desc="Mobile: SafeBrowsing Malware HTML v2 description, second line">
Even if you have visited this website safely in the past, visiting it now is very likely to infect your mobile device with malware.
</message>
@@ -11716,7 +11716,7 @@
Content from <ph name="ELEMENTS_HOST_NAME">$1<ex>evil.com</ex></ph>, a known malware distributor, has been inserted into this web page. Visiting this page now is very likely to infect your Mac with malware.
</message>
</if>
- <if expr="not pp_ifdef('android') and not is_macosx">
+ <if expr="not is_android and not is_macosx">
<message name="IDS_SAFE_BROWSING_MALWARE_V2_DESCRIPTION2" desc="SafeBrowsing Malware HTML v2 description, second line">
Even if you have visited this website safely in the past, visiting it now is very likely to infect your computer with malware.
</message>
@@ -11787,12 +11787,12 @@
<message name="IDS_SAFE_BROWSING_MULTI_THREAT_TITLE" desc="SafeBrowsing Multi threat HTML title">
Malware and phishing Detected!
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SAFE_BROWSING_MULTI_THREAT_DESCRIPTION1" desc="Mobile: SafeBrowsing multiple threat HTML description, first line">
The website at <ph name="HOST_NAME"><strong>$1<ex>www.malware.com</ex></strong></ph> contains elements from sites which appear to host malware – software that can hurt your mobile device or otherwise operate without your consent. Just visiting a site that hosts malware can infect your mobile device. The website also hosts contents from sites that have been reported as a “phishing” sites. Phishing sites trick users into disclosing personal or financial information, often by pretending to represent trusted institutions, such as banks.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_SAFE_BROWSING_MULTI_THREAT_DESCRIPTION1" desc="SafeBrowsing multiple threat HTML description, first line">
The website at <ph name="HOST_NAME"><strong>$1<ex>www.malware.com</ex></strong></ph> contains elements from sites which appear to host malware – software that can hurt your computer or otherwise operate without your consent. Just visiting a site that hosts malware can infect your computer. The website also hosts contents from sites that have been reported as a “phishing” sites. Phishing sites trick users into disclosing personal or financial information, often by pretending to represent trusted institutions, such as banks.
</message>
@@ -11800,12 +11800,12 @@
<message name="IDS_SAFE_BROWSING_MULTI_THREAT_DESCRIPTION2" desc="SafeBrowsing multiple threat HTML description, second line">
Below is a list of all the unsafe elements for the page. Click on the Diagnostic link for more information on the malware thread for a specific resource. If you know that a resource has been erroneously reported as phishing, click the 'Report error' link.
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SAFE_BROWSING_MULTI_MALWARE_DESCRIPTION1" desc="Mobile: SafeBrowsing Malware HTML description, first line for case of several malicious subresource">
The website at <ph name="HOST_NAME"><strong>$1<ex>www.goodsite.com</ex></strong></ph> contains elements from sites which appear to host malware – software that can hurt your mobile device or otherwise operate without your consent. Just visiting a site that contains malware can infect your mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_SAFE_BROWSING_MULTI_MALWARE_DESCRIPTION1" desc="SafeBrowsing Malware HTML description, first line for case of several malicious subresource">
The website at <ph name="HOST_NAME"><strong>$1<ex>www.goodsite.com</ex></strong></ph> contains elements from sites which appear to host malware – software that can hurt your computer or otherwise operate without your consent. Just visiting a site that contains malware can infect your computer.
</message>
@@ -11825,12 +11825,12 @@
<message name="IDS_SAFE_BROWSING_MALWARE_LABEL" desc="SafeBrowsing multiple threats, malware label in the table showing the reported threats.">
Malware
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SAFE_BROWSING_MULTI_MALWARE_DESCRIPTION_AGREE" desc="Mobile: SafeBrowsing Malware, agree checkbox text">
I understand that visiting this site may harm my mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_SAFE_BROWSING_MULTI_MALWARE_DESCRIPTION_AGREE" desc="SafeBrowsing Malware, agree checkbox text">
I understand that visiting this site may harm my computer.
</message>
@@ -13173,12 +13173,12 @@
<message name="IDS_SYNC_OPTIONS_GROUP_NAME" desc="The name of the sync group in the options dialog.">
Sign in
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SYNC_OVERVIEW" desc="Mobile: The message that appears in the options dialog when sync has not been set up by the user.">
Sign in to <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph> with your Google Account to save your personalized browser features to the web and access them from <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph> on any mobile device. You'll also be automatically signed in to your favorite Google services.
</message>
</if>
- <if expr="not pp_ifdef('android') and not pp_ifdef('chromeos')">
+ <if expr="not is_android and not pp_ifdef('chromeos')">
<message name="IDS_SYNC_OVERVIEW" desc="The message that appears in the options dialog when sync has not been set up by the user.">
Sign in to <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph> with your Google Account to save your personalized browser features to the web and access them from <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph> on any computer. You'll also be automatically signed in to your favorite Google services.
</message>
@@ -13296,12 +13296,12 @@
<message name="IDS_SYNC_STOP_SYNCING_DIALOG_TITLE" desc="The title of the dialog that explains what 'stop syncing' means.">
Disconnect your Google Account
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL" desc="Mobile: The text to display below the 'Stop syncing this account' button on the options pane, explaining what the button does.">
By disconnecting your Google Account from <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph>, your data will remain on this mobile device but changes will no longer be synced to your Google Account. Data already stored in your Google Account will remain there until you remove it using <ph name="BEGIN_LINK"><a href="$2" target="_blank"><ex><a href="$2" target="_blank"></ex></ph>Google Dashboard<ph name="END_LINK"></a><ex></a></ex></ph>.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL" desc="The text to display below the 'Stop syncing this account' button on the options pane, explaining what the button does.">
By disconnecting your Google Account from <ph name="PRODUCT_NAME">$1<ex>Chrome</ex></ph>, your data will remain on this computer but changes will no longer be synced to your Google Account. Data already stored in your Google Account will remain there until you remove it using <ph name="BEGIN_LINK"><a href="$2" target="_blank"><ex><a href="$2" target="_blank"></ex></ph>Google Dashboard<ph name="END_LINK"></a><ex></a></ex></ph>.
</message>
@@ -13336,7 +13336,7 @@
<message name="IDS_SYNC_NTP_SYNCED_TO" desc="The message to display in the New Tab Page sync section when the user is in sync.">
Synced as <ph name="USER_EMAIL_ADDRESS">$1<ex>[email protected]</ex></ph>
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SYNC_NTP_OPEN_TABS_LAST_SYNCED" desc="The message to display in front of the time of a last synced foreign tab">
Last synced
</message>
@@ -13524,13 +13524,13 @@
</message>
<!-- Login dialog strings -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SYNC_LOGIN_INTRODUCTION" desc="Mobile: The message to display at the top of the login dialog">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> sync makes it easy to share your data (such as bookmarks and settings) between your computers and mobile devices.
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> synchronizes your data by storing it online with Google when you sign in with your Google Account.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_SYNC_LOGIN_INTRODUCTION" desc="The message to display at the top of the login dialog">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> sync makes it easy to share your data (such as bookmarks and settings) between your computers.
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> synchronizes your data by storing it online with Google when you sign in with your Google Account.
@@ -13751,7 +13751,7 @@
<message name="IDS_SYNC_PROMO_NOT_SIGNED_IN_STATUS_LINK" desc="The linkified portion of the sync sign in promo on the NTP. Clicking this text allows the user to sign in to sync.">
sign in
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_SYNC_PROMO_V_BACKUP_BODY" desc="Mobile: Verbose sync promo. Body of the backup message.">
All your <ph name="SHORT_PRODUCT_NAME">$1<ex>Chrome</ex></ph> settings are safe in case anything happens to your mobile device.
</message>
@@ -13779,7 +13779,7 @@
<message name="IDS_TRANSLATE_INFOBAR_BEFORE_MESSAGE" desc="Message that page is in specified language and ask if should translate">
This page is in<ph name="original_language">$1<ex>French</ex></ph>Would you like to translate it?
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_TRANSLATE_INFOBAR_BEFORE_MESSAGE_MOBILE" desc="Mobile: Message that page is in specified language and ask if should translate.">
Translate from <ph name="original_language">$1<ex>French</ex></ph> to <ph name="target_language">$2<ex>English</ex></ph>?
</message>
@@ -13802,7 +13802,7 @@
<message name="IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE" desc="Message that page has been translated from one language to another">
This page has been translated from<ph name="original_language">$1<ex>French</ex></ph>to<ph name="language_language">$2<ex>German</ex></ph>
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE_MOBILE" desc="Mobile: Message that page has been translated from one language to another">
This page has been translated to <ph name="target_language">$1<ex>German</ex></ph>
</message>
@@ -13828,7 +13828,7 @@
<message name="IDS_TRANSLATE_INFOBAR_UNSUPPORTED_PAGE_LANGUAGE" desc="Error message shown when the translate server translated the page and returned the page was in a language the browser does not know.">
This page has been translated from an unknown language to <ph name="language_language">$1<ex>English</ex></ph>
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_TRANSLATE_INFOBAR_ERROR_MOBILE" desc="Mobile: Translate Error message">
The translation to <ph name="target_language">$1<ex>German</ex></ph> failed.
</message>
@@ -14274,14 +14274,14 @@
</message>
<!-- Geolocation messages -->
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_GEOLOCATION_INFOBAR_QUESTION" desc="Question asked on the info bar whenever URL wants to access the user's physical location">
<ph name="URL">
$1<ex>maps.google.com</ex>
</ph> wants to use your computer's location.
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_GEOLOCATION_INFOBAR_QUESTION" desc="Mobile: Question asked on the info bar whenever URL wants to access the user's physical location">
<ph name="URL">
$1<ex>maps.google.com</ex>
@@ -14407,12 +14407,12 @@
</if>
<!-- File Selection Dialog Policy - Infobar -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_FILE_SELECTION_DIALOG_INFOBAR" desc="Mobile: Infobar message on disallowed file selection dialog.">
Access to local files on your mobile device is disabled by your administrator.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_FILE_SELECTION_DIALOG_INFOBAR" desc="Infobar message on disallowed file selection dialog.">
Access to local files on your machine is disabled by your administrator.
</message>
@@ -14778,7 +14778,7 @@
</message>
<!-- Quota messages -->
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_REQUEST_QUOTA_INFOBAR_QUESTION" desc="Mobile: For mobile device. Question asked on the info bar whenever webapp requests new (larger) quota to persistently store data on the mobile device (e.g. for persistent-type filesystem).">
<ph name="URL">
$1<ex>html5rocks.com</ex>
@@ -14790,7 +14790,7 @@
</ph> wants to permanently store large data on your mobile device.
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_REQUEST_QUOTA_INFOBAR_QUESTION" desc="Question asked on the info bar whenever webapp requests new (larger) quota to persistently store data on the user's local computer (e.g. for persistent-type filesystem).">
<ph name="URL">
$1<ex>html5rocks.com</ex>
@@ -14824,12 +14824,12 @@
<message name="IDS_PROFILES_DELETE_OK_BUTTON_LABEL" desc="The text to display on the button to confirm deleting the profile.">
Delete
</message>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_PROFILES_DELETE_MESSAGE" desc="Mobile: Message explaining to the user what will happen if they delete this profile">
Are you sure you want to delete "<ph name="PROFILE_NAME">$1<ex>New User</ex></ph>" and all the data associated with it from this mobile device? This cannot be undone!
</message>
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_PROFILES_DELETE_MESSAGE" desc="Message explaining to the user what will happen if they delete this profile">
Are you sure you want to delete "<ph name="PROFILE_NAME">$1<ex>New User</ex></ph>" and all the data associated with it from this computer? This cannot be undone!
</message>
diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd
index 934310b..3142ad5 100644
--- a/chrome/app/google_chrome_strings.grd
+++ b/chrome/app/google_chrome_strings.grd
@@ -395,12 +395,12 @@
<message name="IDS_CRASH_RECOVERY_CONTENT" desc="Text content telling the user the browser has crashed.">
Whoa! Google Chrome has crashed. Relaunch now?
</message>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_PASSWORD_MANAGER_SAVE_PASSWORD_PROMPT" desc="Info bar message to save a password">
Do you want Google Chrome to save your password?
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_PASSWORD_MANAGER_SAVE_PASSWORD_PROMPT" desc="Mobile: Info bar message to save a password">
Do you want Google Chrome to save your password for this site?
</message>
@@ -613,14 +613,14 @@
</message>
<!-- about:memory -->
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<message name="IDS_MEMORY_USAGE_SUMMARY_DESC" desc="Describes the browser summary table in the about memory page, which shows memory usage for Google Chrome and any other active browsers." translateable="false">
Summary of memory used by currently active browsers. For browsers which use multiple processes, memory reflects aggregate memory used across all browser processes.
For Google Chrome, processes used to display diagnostics information (such as this "about:memory") are excluded.
</message>
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<message name="IDS_MEMORY_USAGE_SUMMARY_DESC" desc="Describes the browser summary table in the about memory page, which shows memory usage for Google Chrome." translateable="false">
Summary of memory used by Google Chrome. Since Google Chrome uses multiple processes, memory reflects aggregate memory used across all browser processes.
@@ -821,11 +821,11 @@
and deselect any proxies that have been selected.
</message>
</if>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Instructions for disabling use of a proxy server (leave empty for Android and iOS).">
</message>
</if>
- <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx and not pp_ifdef('android') and not pp_ifdef('ios')">
+ <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx and not is_android and not pp_ifdef('ios')">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Linux instructions for disabling use of a proxy server.">
Go to
the Chrome menu >
diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd
index 3c932ed..e58c636d 100644
--- a/chrome/app/resources/locale_settings.grd
+++ b/chrome/app/resources/locale_settings.grd
@@ -350,7 +350,7 @@
<message name="IDS_CHROME_WELCOME_URL" translateable="false">
http://www.google.com/chrome/intl/[GRITLANGCODE]/welcome.html
</message>
- <if expr="pp_ifdef('android') or pp_ifdef('ios')">
+ <if expr="is_android or pp_ifdef('ios')">
<message name="IDS_MOBILE_WELCOME_URL" translateable="false">
chrome://welcome
</message>
diff --git a/chrome/browser/browser_resources.grd b/chrome/browser/browser_resources.grd
index 65f33dee1..c652930 100644
--- a/chrome/browser/browser_resources.grd
+++ b/chrome/browser/browser_resources.grd
@@ -20,7 +20,7 @@
</if>
<structure name="IDR_ABOUT_MEMORY_CSS" file="resources\about_memory.css" type="chrome_html" />
<structure name="IDR_ABOUT_VERSION_HTML" file="resources\about_version.html" flattenhtml="true" allowexternalscript="true" type="chrome_html" />
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<structure name="IDR_ABOUT_WELCOME_HTML" file="resources\about_welcome_android\about_welcome_android.html" flattenhtml="true" type="chrome_html" />
<structure name="IDR_ABOUT_WELCOME_CSS" file="resources\about_welcome_android\about_welcome_android.css" flattenhtml="true" type="chrome_html" />
</if>
@@ -41,11 +41,11 @@
<structure name="IDR_LOGIN_JS" file="resources\chromeos\login\login.js" flattenhtml="true" type="chrome_html" />
</if>
<structure name="IDR_NEW_INCOGNITO_TAB_THEME_CSS" file="resources\new_incognito_tab_theme.css" flattenhtml="true" type="chrome_html" />
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<structure name="IDR_NEW_TAB_4_HTML" file="resources\ntp4\new_tab.html" flattenhtml="true" type="chrome_html" />
<structure name="IDR_NEW_TAB_4_THEME_CSS" file="resources\ntp4\new_tab_theme.css" flattenhtml="true" type="chrome_html" />
</if>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<structure name="IDR_NEW_TAB_ANDROID_HTML" file="resources\ntp_android\new_tab.html" flattenhtml="true" type="chrome_html" />
</if>
<if expr="pp_ifdef('chromeos')">
@@ -79,7 +79,7 @@
<include name="IDR_ABOUT_STATS_JS" file="resources\about_stats.js" type="BINDATA" />
<include name="IDR_ABOUT_VERSION_JS" file="resources\about_version.js" type="BINDATA" />
<include name="IDR_ABOUT_VERSION_CSS" file="resources\about_version.css" type="BINDATA" />
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<include name="IDR_ABOUT_WELCOME_JS" file="resources\about_welcome_android\about_welcome_android.js" type="BINDATA" />
</if>
<include name="IDR_BOOKMARKS_MANIFEST" file="resources\bookmark_manager\manifest.json" type="BINDATA" />
@@ -102,7 +102,7 @@
<include name="IDR_CRASHES_JS" file="resources\crashes.js" type="BINDATA" />
<include name="IDR_CREDITS_HTML" file="${about_credits_file}" use_base_dir="false" type="BINDATA" />
<include name="IDR_CREDITS_JS" file="resources\about_credits.js" type="BINDATA" />
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_DOWNLOADS_JS" file="resources\downloads\downloads.js" type="BINDATA" />
<include name="IDR_EXTENSION_COMMAND_LIST_JS" file="resources\extensions\extension_command_list.js" flattenhtml="true" type="BINDATA" />
</if>
@@ -112,7 +112,7 @@
<if expr="not is_macosx">
<include name="IDR_EXTENSIONS_INFOBAR_CSS" file="resources\extensions_infobar.css" flattenhtml="true" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_EXTENSION_LIST_JS" file="resources\extensions\extension_list.js" flattenhtml="true" type="BINDATA" />
<include name="IDR_EXTENSION_ACTIVITY_HTML" file="resources\extensions\extension_activity.html" flattenhtml="true" type="BINDATA" />
<include name="IDR_EXTENSION_ACTIVITY_JS" file="resources\extensions\extension_activity.js" flattenhtml="true" type="BINDATA" />
@@ -123,7 +123,7 @@
</if>
<include name="IDR_FLAGS_HTML" file="resources\flags.html" flattenhtml="true" type="BINDATA" />
<include name="IDR_FLAGS_JS" file="resources\flags.js" type="BINDATA" />
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_GAIA_LOGIN_HTML" file="sync\resources\gaia_login.html" flattenhtml="true" type="BINDATA" />
</if>
<include name="IDR_HELP_JS" file="resources\help\help.js" flattenhtml="true" type="BINDATA" />
@@ -141,7 +141,7 @@
<include name="IDR_INSTANT_JS" file="resources\instant\instant.js" flattenhtml="true" type="BINDATA" />
<include name="IDR_NET_EXPORT_HTML" file="resources\net_export\net_export.html" flattenhtml="true" type="BINDATA" />
<include name="IDR_NET_EXPORT_JS" file="resources\net_export\net_export.js" flattenhtml="true" type="BINDATA" />
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_PERFORMANCE_MONITOR_CHART_CSS" file="resources\performance_monitor\chart.css" flattenhtml="true" type="BINDATA" />
<include name="IDR_PERFORMANCE_MONITOR_CHART_JS" file="resources\performance_monitor\chart.js" type="BINDATA" />
<include name="IDR_PERFORMANCE_MONITOR_HTML" file="resources\performance_monitor\chart.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
@@ -150,7 +150,7 @@
</if>
<include name="IDR_PREDICTORS_HTML" file="resources\predictors\predictors.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_PREDICTORS_JS" file="resources\predictors\predictors.js" flattenhtml="true" type="BINDATA" />
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_NOTIFICATION_1LINE_HTML" file="resources\notification_1line.html" flattenhtml="true" type="BINDATA" />
<include name="IDR_NOTIFICATION_2LINE_HTML" file="resources\notification_2line.html" flattenhtml="true" type="BINDATA" />
<include name="IDR_NOTIFICATION_ICON_HTML" file="resources\notification_icon.html" type="BINDATA" />
@@ -186,7 +186,7 @@
<include name="IDR_OMNIBOX_HTML" file="resources\omnibox\omnibox.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_OMNIBOX_CSS" file="resources\omnibox\omnibox.css" type="BINDATA" />
<include name="IDR_OMNIBOX_JS" file="resources\omnibox\omnibox.js" type="BINDATA" />
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_PLUGINS_HTML" file="resources\plugins.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_PLUGINS_JS" file="resources\plugins.js" type="BINDATA" />
</if>
@@ -239,7 +239,7 @@
<if expr="pp_ifdef('enable_google_now')">
<include name="IDR_GOOGLE_NOW_MANIFEST" file="resources\google_now\manifest.json" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_SUGGESTIONS_INTERNALS_HTML" file="resources\suggestions_internals\suggestions_internals.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_SUGGESTIONS_INTERNALS_CSS" file="resources\suggestions_internals\suggestions_internals.css" type="BINDATA" />
<include name="IDR_SUGGESTIONS_INTERNALS_JS" file="resources\suggestions_internals\suggestions_internals.js" type="BINDATA" />
diff --git a/chrome/browser/resources/about_memory_linux.css b/chrome/browser/resources/about_memory_linux.css
index 7d7a223..db1ca1cf4 100644
--- a/chrome/browser/resources/about_memory_linux.css
+++ b/chrome/browser/resources/about_memory_linux.css
@@ -18,7 +18,7 @@
border-right: 1px solid rgb(181, 198, 222);
}
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
body {
min-width: 35em;
}
diff --git a/chrome/browser/resources/about_memory_linux.html b/chrome/browser/resources/about_memory_linux.html
index d185363..b1652cf 100644
--- a/chrome/browser/resources/about_memory_linux.html
+++ b/chrome/browser/resources/about_memory_linux.html
@@ -6,7 +6,7 @@
<html id="t">
<head>
<title>About Memory</title>
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<meta name="viewport" content="width=device-width">
</if>
<link rel="stylesheet" href="chrome://memory-redirect/about_memory.css">
diff --git a/chrome/browser/resources/about_version.html b/chrome/browser/resources/about_version.html
index 2cc78a271..7e187ff 100644
--- a/chrome/browser/resources/about_version.html
+++ b/chrome/browser/resources/about_version.html
@@ -7,11 +7,11 @@
<html id="t" i18n-values="dir:textdirection;">
<head>
<title i18n-content="title"></title>
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<meta name="viewport" content="width=device-width">
</if>
<link rel="stylesheet" href="chrome://version/about_version.css">
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<link rel="stylesheet" href="about_version_android.css">
</if>
<script src="chrome://resources/js/cr.js"></script>
@@ -37,11 +37,11 @@
<table id="inner" cellpadding="0" cellspacing="0" border="0">
<tr><td class="label" i18n-content="application_label"></td>
<td class="version" id="version">
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<span i18n-content="application_name"></span>
<span i18n-content="application_version"></span>
</if>
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
<span i18n-content="version"></span>
(<span i18n-content="official">
</span> <span i18n-content="cl"></span>)
@@ -72,7 +72,7 @@
<span i18n-content="js_version"></span>
</td>
</tr>
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
<tr><td class="label" i18n-content="flash_plugin"></td>
<td class="version" id="flash_version" i18n-content="flash_version"></td>
</tr>
@@ -93,7 +93,7 @@
<td class="label" i18n-content="variations_name"></td>
<td class="version" id="variations-list"></td>
</tr>
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<tr id="build-id-section">
<td class="label" i18n-content="build_id_name"></td>
<td class="version" i18n-content="build_id"></td>
diff --git a/chrome/browser/resources/flags.css b/chrome/browser/resources/flags.css
index 63c2e98..96fc9ab71 100644
--- a/chrome/browser/resources/flags.css
+++ b/chrome/browser/resources/flags.css
@@ -4,7 +4,7 @@
body {
margin: 10px 10px 0;
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
min-width: 47em;
</if>
/* Should match needs-restart.height + 5 */
diff --git a/chrome/browser/resources/flags.html b/chrome/browser/resources/flags.html
index 849d391..ae632a3 100644
--- a/chrome/browser/resources/flags.html
+++ b/chrome/browser/resources/flags.html
@@ -2,7 +2,7 @@
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<meta name="viewport" content="width=device-width, user-scalable=no">
</if>
<link rel="stylesheet" href="flags.css">
diff --git a/chrome/browser/resources/history/history.css b/chrome/browser/resources/history/history.css
index 74b1f0f22..bffbd94 100644
--- a/chrome/browser/resources/history/history.css
+++ b/chrome/browser/resources/history/history.css
@@ -259,7 +259,7 @@
line-height: 1em;
}
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
/* Checkboxes are shown when checked or focused, or when the entry is hovered.
* Fade in on focus, but not on hover, because it makes the UI feel laggy. */
.site-domain-wrapper input[type=checkbox]:not(:checked),
diff --git a/chrome/browser/resources/history/history.html b/chrome/browser/resources/history/history.html
index b38ef12..609192a 100644
--- a/chrome/browser/resources/history/history.html
+++ b/chrome/browser/resources/history/history.html
@@ -2,7 +2,7 @@
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
-<if expr="pp_ifdef('android') or pp_ifdef('ios')">
+<if expr="is_android or pp_ifdef('ios')">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
</if>
@@ -11,19 +11,19 @@
<link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
<link rel="stylesheet" href="chrome://resources/css/menu.css">
<link rel="stylesheet" href="chrome://resources/css/menu_button.css">
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
<link rel="stylesheet" href="alert_overlay.css">
<link rel="stylesheet" href="chrome://resources/css/overlay.css">
</if>
<link rel="stylesheet" href="chrome://resources/css/spinner.css">
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
<link rel="stylesheet" href="../uber/uber_shared.css">
</if>
<link rel="stylesheet" href="history.css">
-<if expr="pp_ifdef('android') or pp_ifdef('ios')">
+<if expr="is_android or pp_ifdef('ios')">
<link rel="stylesheet" href="history_mobile.css">
</if>
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
<link rel="stylesheet" href="other_devices.css">
</if>
@@ -33,7 +33,7 @@
<script src="chrome://resources/js/cr/ui/command.js"></script>
<script src="chrome://resources/js/cr/ui/menu_item.js"></script>
<script src="chrome://resources/js/cr/ui/menu.js"></script>
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
<script src="chrome://resources/js/cr/ui/alert_overlay.js"></script>
<script src="chrome://resources/js/cr/ui/overlay.js"></script>
</if>
@@ -47,17 +47,17 @@
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://history-frame/history.js"></script>
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
<script src="chrome://history-frame/other_devices.js"></script>
</if>
</head>
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
<body class="uber-frame"
i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
</if>
-<if expr="pp_ifdef('android') or pp_ifdef('ios')">
+<if expr="is_android or pp_ifdef('ios')">
<body i18n-values=".style.fontFamily:fontfamily">
</if>
@@ -98,7 +98,7 @@
</if>
</div>
</div>
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
<div id="other-devices" class="other-devices"></div>
</if>
<div id="top-container">
@@ -142,7 +142,7 @@
<script src="chrome://history-frame/strings.js"></script>
<script src="chrome://resources/js/i18n_template2.js"></script>
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
<div id="overlay" class="overlay" hidden>
<include src="alert_overlay.html">
</div>
diff --git a/chrome/browser/resources/net_export/net_export.html b/chrome/browser/resources/net_export/net_export.html
index 7328b91..105e5143 100644
--- a/chrome/browser/resources/net_export/net_export.html
+++ b/chrome/browser/resources/net_export/net_export.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<meta name="viewport" content="width=device-width">
</if>
<script src="chrome://resources/js/util.js"></script>
diff --git a/chrome/renderer/resources/blocked_plugin.html b/chrome/renderer/resources/blocked_plugin.html
index 144c2ab..a858914 100644
--- a/chrome/renderer/resources/blocked_plugin.html
+++ b/chrome/renderer/resources/blocked_plugin.html
@@ -28,10 +28,10 @@
<body id="t" onload="notifyDidFinishLoading();">
<div i18n-values="title:name" id="outer">
<div id="inner">
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
<div><img id="plugin_icon" src="plugin_blocked.png"></div>
</if>
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
<img id="plugin_icon" src="plugin_blocked_android.png">
</if>
<h1 id="message" i18n-content="message"></h1>
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index d9aaf8927..f3a30831 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -36,7 +36,7 @@
border-bottom: 1px solid #888;
border-radius: 3px;
color: black;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
/* Not done on mobile for performance reasons. */
box-shadow: 0px 2px 2px #AAA;
</if>
@@ -88,7 +88,7 @@
#sub-frame-error-details {
color: #8F8F8F;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
/* Not done on mobile for performance reasons. */
text-shadow: 0 1px 0 rgba(255,255,255,0.3);
</if>
@@ -109,7 +109,7 @@
text-shadow: 0 1px 0 rgb(240, 240, 240);
-webkit-user-select: none;
padding: 8px 13px;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
/* Not done on mobile for performance reasons. */
border-radius: 2px;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
@@ -120,7 +120,7 @@
background-image: -webkit-linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0);
border: 1px solid rgba(0, 0, 0, 0.3);
color: #000;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
</if>
}
@@ -129,7 +129,7 @@
background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7);
border: 1px solid rgba(0, 0, 0, 0.3);
color: #444;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
box-shadow: none;
</if>
}
@@ -139,7 +139,7 @@
border: 1px solid rgba(45, 102, 195, 1);
color: #fff;
text-shadow: 0 1px 0 rgba(0,0,0,0.5);
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
</if>
}
@@ -148,7 +148,7 @@
background-image: -webkit-linear-gradient(#659efd, #659efd 38%, #6097f1);
border: 1px solid rgba(45, 102, 195, 1);
color: #fff;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2);
</if>
}
@@ -157,7 +157,7 @@
background-image: -webkit-linear-gradient(#6095ed, #6095ed 38%, #6095ed);
border: 1px solid rgba(38, 84, 160, 1);
color: #fff;
-<if expr="not pp_ifdef('android') and not pp_ifdef('ios')">
+<if expr="not is_android and not pp_ifdef('ios')">
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
</if>
}
diff --git a/chrome/renderer/resources/plugin_placeholders.css b/chrome/renderer/resources/plugin_placeholders.css
index 84e66d76..0df4288 100644
--- a/chrome/renderer/resources/plugin_placeholders.css
+++ b/chrome/renderer/resources/plugin_placeholders.css
@@ -14,7 +14,7 @@
font-size: 10pt;
font-weight: normal;
padding: 0pt 10pt;
-<if expr="not pp_ifdef('android') and not pp_ifdef('chromeos')">
+<if expr="not is_android and not pp_ifdef('chromeos')">
visibility: hidden;
</if>
}
@@ -41,16 +41,16 @@
height: 100%;
width: 100%;
top: 50%;
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
margin-top: -70px;
</if>
-<if expr="pp_ifdef('android')">
+<if expr="is_android">
margin-top: -14px;
</if>
}
#close {
-<if expr="not pp_ifdef('android')">
+<if expr="not is_android">
visibility: hidden;
</if>
cursor: pointer;
diff --git a/chrome/renderer/resources/renderer_resources.grd b/chrome/renderer/resources/renderer_resources.grd
index af0c13a..35c4bff 100644
--- a/chrome/renderer/resources/renderer_resources.grd
+++ b/chrome/renderer/resources/renderer_resources.grd
@@ -17,7 +17,7 @@
<structure type="chrome_scaled_image" name="IDR_SAD_PLUGIN" file="common\sadplugin.png" />
</structures>
<includes>
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<include name="IDR_MOBILE_YOUTUBE_PLUGIN_HTML" file="mobile_youtube_plugin.html" flattenhtml="true" type="BINDATA" />
</if>
<include name="IDR_BLOCKED_PLUGIN_HTML" file="blocked_plugin.html" flattenhtml="true" type="BINDATA" />
diff --git a/content/content_resources.grd b/content/content_resources.grd
index fa32cb4..bdff27e 100644
--- a/content/content_resources.grd
+++ b/content/content_resources.grd
@@ -31,7 +31,7 @@
<include name="IDR_RENDERER_SANDBOX_PROFILE" file="renderer/renderer.sb" type="BINDATA" />
<include name="IDR_UTILITY_SANDBOX_PROFILE" file="utility/utility.sb" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('android')">
+ <if expr="not is_android">
<include name="IDR_TRACING_HTML" file="../third_party/trace-viewer/src/about_tracing.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_TRACING_JS" file="../third_party/trace-viewer/src/about_tracing.js" flattenhtml="true" type="BINDATA" />
</if>
diff --git a/ui/base/strings/app_locale_settings.grd b/ui/base/strings/app_locale_settings.grd
index 948935c5..2b862d5 100644
--- a/ui/base/strings/app_locale_settings.grd
+++ b/ui/base/strings/app_locale_settings.grd
@@ -223,7 +223,7 @@
75%
</message>
</if>
- <if expr="is_linux and not pp_ifdef('chromeos')">
+ <if expr="(is_linux or is_android) and not pp_ifdef('chromeos')">
<!-- The font used in Web UI (e.g. History). Note that these are only
backups. We try to use the system font if possible. -->
<message name="IDS_WEB_FONT_FAMILY" use_name_for_id="true">
diff --git a/webkit/glue/resources/webkit_resources.grd b/webkit/glue/resources/webkit_resources.grd
index b94ad08..4a02a86 100644
--- a/webkit/glue/resources/webkit_resources.grd
+++ b/webkit/glue/resources/webkit_resources.grd
@@ -52,7 +52,7 @@
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER" file="mediaplayer_fullscreen_hover.png" />
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN" file="mediaplayer_fullscreen_down.png" />
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED" file="mediaplayer_fullscreen_disabled.png" />
- <if expr="pp_ifdef('android')">
+ <if expr="is_android">
<structure type="chrome_scaled_image" name="IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON" file="mediaplayer_overlay_play.png" />
</if>
<if expr="is_macosx">