summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 01:01:12 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 01:01:12 +0000
commit033346909ebf37cae8fb063d79f9e70e0ec056c6 (patch)
treecca752667aa31b195a5b800203673a2580eddf52 /chrome
parent6b4a26ec838a3cab2db63eac3f944e050792b5b7 (diff)
downloadchromium_src-033346909ebf37cae8fb063d79f9e70e0ec056c6.zip
chromium_src-033346909ebf37cae8fb063d79f9e70e0ec056c6.tar.gz
chromium_src-033346909ebf37cae8fb063d79f9e70e0ec056c6.tar.bz2
Switch to using '-t ios' for grit
grit now supports passing '-t ios', which sets is_ios, and doesn't set is_macosx (matching the semantics of gyp). All instances of pp_ifdef('ios') change to is_ios, matching the syntax used by other platforms. Because this flips the setting of is_macosx for iOS, most places where code looked at is_macosx also now look for is_ios. This CL errs on the side of being behavior-preserving, adding is_ios checks in some places where they probably aren't needed, to avoid accidental regressions. In places where it's very obvious it's not needed, it hasn't been added. Also adds a missing is_ios to history.html, resolving drift from not-yet-upstreamed changes. BUG=227781 Review URL: https://chromiumcodereview.appspot.com/22600003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/chromium_strings.grd22
-rw-r--r--chrome/app/generated_resources.grd68
-rw-r--r--chrome/app/google_chrome_strings.grd22
-rw-r--r--chrome/app/resources/locale_settings.grd10
-rw-r--r--chrome/app/resources/locale_settings_mac.grd4
-rw-r--r--chrome/app/theme/theme_resources.grd82
-rw-r--r--chrome/browser/browser_resources.grd19
-rw-r--r--chrome/browser/resources/history/history.html18
-rw-r--r--chrome/browser/resources/history/history_mobile.css4
-rw-r--r--chrome/browser/resources/translate_internals/prefs.html2
-rw-r--r--chrome/renderer/resources/neterror.html18
11 files changed, 134 insertions, 135 deletions
diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index 953a98f..cfc89a8 100644
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -79,11 +79,11 @@ be available for now. -->
<output filename="chromium_strings_nb.pak" type="data_package" lang="no" />
<!-- 'no' for Norwegian Bokmål. It should be 'nb'. -->
<output filename="chromium_strings_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="chromium_strings_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="chromium_strings_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="chromium_strings_pt-PT.pak" type="data_package" lang="pt-PT" />
@@ -290,13 +290,13 @@ be available for now. -->
<message name="IDS_CERT_ERROR_NOT_YET_VALID_DETAILS" desc="Details for an X509 certificate that is not yet valid">
You attempted to reach &lt;strong&gt;<ph name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate that is not yet valid. No information is available to indicate whether that certificate can be trusted. Chromium cannot reliably guarantee that you are communicating with &lt;strong&gt;<ph name="DOMAIN2">$2<ex>paypal.com</ex></ph>&lt;/strong&gt; and not an attacker. Your computer's clock is currently set to <ph name="CURRENT_TIME">$3<ex>Monday, July 18th, 2012 12:31PM</ex></ph>. Does that look right? If not, you should correct your system's clock and then refresh this page.
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_DETAILS" desc="Details for an X509 certificate with an invalid authority">
You attempted to reach &lt;strong&gt;<ph
name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate issued by an entity that is not trusted by Chromium. This may mean that the server has generated its own security credentials, which Chromium cannot rely on for identity information, or an attacker may be trying to intercept your communications.
</message>
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_DETAILS" desc="Details for an X509 certificate with an invalid authority">
You attempted to reach &lt;strong&gt;<ph name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chromium cannot rely on for identity information, or an attacker may be trying to intercept your communications.
</message>
@@ -393,13 +393,13 @@ name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presente
Get Started with Chromium OS
</message>
</if>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE"
desc="Title for the hard-coded thumbnail that represents the Google Chrome Welcome page. This is used on the NTP when there aren't enough thumbnails to show. [Length: 14em]">
Welcome
</message>
</if>
- <if expr="not pp_ifdef('chromeos') and not pp_ifdef('ios')">
+ <if expr="not pp_ifdef('chromeos') and not is_ios">
<message name="IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE"
desc="Title for the hard-coded thumbnail that represents the Google Chrome Welcome page. This is used on the NTP when there aren't enough thumbnails to show.">
Welcome to Chromium
@@ -671,7 +671,7 @@ Chromium is unable to recover your settings.
</message>
<!-- "Create application shortcuts" dialog -->
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<message name="IDS_CREATE_SHORTCUTS_ERROR_LABEL" desc="Contents of the main label in the error dialog box when creating an application shortcut failed for unknown reasons.">
Chromium could not create an application shortcut.
</message>
@@ -766,7 +766,7 @@ For Chromium, processes used to display diagnostics information (such as this "a
</if>
<!-- iOS Upgrade available info bar-->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_UPGRADE_AVAILABLE" desc="Text to inform the user of the presence of a new version of the application">
Chromium just got better! A new version is available.
</message>
@@ -938,18 +938,18 @@ Signing in anyway will merge Chromium information like bookmarks, history, and o
Allow Chromium to access the network in your firewall or antivirus
settings.
</message>
- <if expr="is_macosx and not pp_ifdef('ios')">
+ <if expr="is_macosx">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Mac OSX instructions for disabling use of a proxy server.">
Go to
Applications &gt; System Preferences &gt; Network &gt; Advanced &gt; Proxies
and deselect any proxies that have been selected.
</message>
</if>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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 is_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 is_ios">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Linux instructions for disabling use of a proxy server.">
Go to
the Chromium menu &gt;
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 866efff9..13422db 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -84,11 +84,11 @@ are declared in build/common.gypi.
be 'nb'. -->
<output filename="generated_resources_nb.pak" type="data_package" lang="no" />
<output filename="generated_resources_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="generated_resources_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="generated_resources_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="generated_resources_pt-PT.pak" type="data_package" lang="pt-PT" />
@@ -2309,12 +2309,12 @@ Psst! Incognito mode <ph name="SHORTCUT_KEY">$1<ex>(Ctrl+Shift+N)</ex></ph> may
<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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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 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 is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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>
@@ -2352,7 +2352,7 @@ Psst! Incognito mode <ph name="SHORTCUT_KEY">$1<ex>(Ctrl+Shift+N)</ex></ph> may
<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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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 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">&lt;strong&gt;$1<ex>paypal.com</ex>&lt;/strong&gt;</ph> instead of an attacker who generated his own certificate claiming to be <ph name="DOMAIN2">&lt;strong&gt;$2<ex>paypal.com</ex>&lt;/strong&gt;</ph>. You should not proceed past this point.
</message>
@@ -2362,7 +2362,7 @@ Psst! Incognito mode <ph name="SHORTCUT_KEY">$1<ex>(Ctrl+Shift+N)</ex></ph> may
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 device.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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">&lt;strong&gt;$1<ex>paypal.com</ex>&lt;/strong&gt;</ph> instead of an attacker who generated his own certificate claiming to be <ph name="DOMAIN2">&lt;strong&gt;$2<ex>paypal.com</ex>&lt;/strong&gt;</ph>. You should not proceed past this point.
</message>
@@ -6994,7 +6994,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_OMNIBOX_KEYWORD_TEXT" desc="Text shown in the search button at the front of the omnibox when the user has selected a keyword">
Search <ph name="SITE_NAME">$1<ex>google.com</ex></ph>:
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_OMNIBOX_EMPTY_HINT" desc="The text displayed in the omnibox when it is empty.">
Search or type URL
</message>
@@ -7146,7 +7146,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_ACCNAME_WEB_CONTENTS" desc="The accessible name for the web contents.">
Web Contents
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_ACCNAME_CLEAR_TEXT" desc="The accessibility label for the clear text button in the location bar [Length: unlimited].">
Clear Text
</message>
@@ -8391,14 +8391,14 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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 is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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
@@ -8534,7 +8534,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<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">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;<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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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">&lt;span jscontent="productName"&gt;&lt;/span&gt;<ex>Google Chrome</ex></ph>
is having trouble accessing the network.
@@ -8555,7 +8555,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
The page can be loaded once you connect to a network.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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">&lt;span jscontent="productName"&gt;&lt;/span&gt;<ex>Google Chrome</ex></ph>
is having trouble accessing the network.
@@ -8644,7 +8644,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_IO_SUSPENDED" desc="Mobile: Summary in the error page when a page load failed due to the device entering sleep/suspend mode.">
Unable to load the webpage because your device entered sleep or
hibernate mode. When this happens, network connections are shut
@@ -8652,7 +8652,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
resolve this.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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
@@ -8663,7 +8663,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<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">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;</ph>
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;</ph> has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If
@@ -8671,7 +8671,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
device.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;</ph> has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If
@@ -8920,7 +8920,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
</message>
<!-- iOS specific error page messages -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_ERRORPAGES_HEADING_DOWNLOAD_FILE_TYPE_ERROR" desc="A one-line title for error message to tell user that the requested type of file cannot be downloaded. [Length: 20em]">
Download Failed
</message>
@@ -9023,7 +9023,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<message name="IDS_PAGE_INFO_SITE_INFO_TITLE" desc="The name of the site information section.">
Site information
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_PAGE_INFO_SECURITY_BUTTON_ACCESSIBILITY_LABEL" desc="The accessibility text for the page security info button">
Page Security Info
</message>
@@ -10108,7 +10108,7 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
<message name="IDS_THEMES_RESET_BUTTON" desc="The button to reset your theme">
Reset to default theme
</message>
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<message name="IDS_THEMES_GTK_BUTTON" desc="The button to choose GTK colors and icons as the current theme.">
Use GTK+ theme
</message>
@@ -10123,12 +10123,12 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
Get themes
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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 device's system proxy settings to connect to the network.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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>
@@ -10322,7 +10322,7 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
</message>
<!-- Auto-login infobar -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_AUTOLOGIN_INFOBAR_MESSAGE" desc="The string shown in the infobar explaining that they can press one button to auto-login instead of entering their user name and password. [length: 60em]">
Automatic sign-in is available <ph name="EMAIL_ADDRESS">$1</ph>
</message>
@@ -10330,7 +10330,7 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
Login
</message>
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<message name="IDS_AUTOLOGIN_INFOBAR_MESSAGE" desc="The string shown in the infobar explaining that they can press one button to auto-login instead of entering their user name and password.">
Sign in to this site as: <ph name="EMAIL_ADDRESS">$1</ph>
</message>
@@ -10338,12 +10338,12 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
Sign in
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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>
@@ -13103,7 +13103,7 @@ Some features may be unavailable. Please check that the profile exists and you
<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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<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>
@@ -13129,7 +13129,7 @@ Some features may be unavailable. Please check that the profile exists and you
<message name="IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE_AUTODETERMINED_SOURCE_LANGUAGE" desc="Message that page has been translated to another with server side auto language detection">
This page has been translated to <ph name="target_language">$1<ex>German</ex></ph>
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<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>
@@ -13155,7 +13155,7 @@ Some features may be unavailable. Please check that the profile exists and you
<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="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<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>
@@ -13249,7 +13249,7 @@ Some features may be unavailable. Please check that the profile exists and you
<!-- Mac Menubar Menus -->
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<!-- Menubar Menu Titles -->
<!-- NOTE: Some of these exist in context menus with Title Case support, but we use different IDs in case we need slightly different strings in some language due to the different context. -->
<message name="IDS_FILE_MENU_MAC" desc="The menu title of the Mac file menu.">
@@ -13514,7 +13514,7 @@ Some features may be unavailable. Please check that the profile exists and you
</if> <!-- is_macosx -->
<!-- Linux Global Menubar Menus -->
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<!-- Unity and some other GNOME configurations now have a permanent,
Mac-like menu bar that lives outside the window at the top of the
screen. The following strings should be in Linux style, not Mac
@@ -13808,7 +13808,7 @@ Some features may be unavailable. Please check that the profile exists and you
<part file="chromeos_strings.grdp" />
</if>
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<!-- Linux proxy configuration fallback help -->
<message name="IDS_ABOUT_LINUX_PROXY_CONFIG_TITLE" desc="Title of HTML page shown on systems where system proxy configuration is unsupported.">
Proxy Configuration Help
@@ -14295,7 +14295,7 @@ Please check your email at <ph name="ACCOUNT_EMAIL">$2<ex>jane.doe@gmail.com</ex
Switch to <ph name="NEW_PROFILE_NAME">$1<ex>New User</ex></ph>
</message>
- <if expr="not is_android and not pp_ifdef('ios') and not pp_ifdef('chromeos')">
+ <if expr="not is_android and not is_ios and not pp_ifdef('chromeos')">
<!-- User manager web UI -->
<if expr="pp_ifdef('use_titlecase')">
<message name="IDS_ADD_USER_BUTTON" desc="Text shown on an add user button on login/locker screen">
@@ -14729,7 +14729,7 @@ Do you accept?
</if>
<!-- iOS Chrome to Device strings-->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_CHROME_TO_DEVICE_PRINT_TO_PHONE" desc="The message indicating print-to-phone jobs are now available. [Length: 30em]">
Your document is ready to view.
</message>
@@ -14739,7 +14739,7 @@ Do you accept?
</if>
<!-- iOS Net-Export strings -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_NET_EXPORT_NO_EMAIL_ACCOUNTS_ALERT_MESSAGE" desc="The message of the alert informing a user with no email accounts that he or she needs to configure an email account to send net-export data. [Length: 70em]">
To send net-export data, please configure your email account in System Settings.
</message>
diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd
index ec28185..d4ca188 100644
--- a/chrome/app/google_chrome_strings.grd
+++ b/chrome/app/google_chrome_strings.grd
@@ -46,11 +46,11 @@ Chrome supports. -->
<output filename="google_chrome_strings_nb.pak" type="data_package" lang="no" />
<!-- 'no' for Norwegian Bokmål. It should be 'nb'. -->
<output filename="google_chrome_strings_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="google_chrome_strings_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="google_chrome_strings_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="google_chrome_strings_pt-PT.pak" type="data_package" lang="pt-PT" />
@@ -213,13 +213,13 @@ Chrome supports. -->
<message name="IDS_CERT_ERROR_NOT_YET_VALID_DETAILS" desc="Details for an X509 certificate that is not yet valid">
You attempted to reach &lt;strong&gt;<ph name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate that is not yet valid. No information is available to indicate whether that certificate can be trusted. Google Chrome cannot reliably guarantee that you are communicating with &lt;strong&gt;<ph name="DOMAIN2">$2<ex>paypal.com</ex></ph>&lt;/strong&gt; and not an attacker. Your computer's clock is currently set to <ph name="CURRENT_TIME">$3<ex>Monday, July 18th, 2012 12:31PM</ex></ph>. Does that look right? If not, you should correct your system's clock and then refresh this page.
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_DETAILS" desc="Details for an X509 certificate with an invalid authority">
You attempted to reach &lt;strong&gt;<ph
name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate issued by an entity that is not trusted by Google Chrome. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.
</message>
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_DETAILS" desc="Details for an X509 certificate with an invalid authority">
You attempted to reach &lt;strong&gt;<ph name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.
</message>
@@ -316,13 +316,13 @@ name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presente
Get Started with Chrome OS
</message>
</if>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE"
desc="Title for the hard-coded thumbnail that represents the Google Chrome Welcome page. This is used on the NTP when there aren't enough thumbnails to show. [Length: 14em]">
Welcome
</message>
</if>
- <if expr="not pp_ifdef('chromeos') and not pp_ifdef('ios')">
+ <if expr="not pp_ifdef('chromeos') and not is_ios">
<message name="IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE"
desc="Title for the hard-coded thumbnail that represents the Google Chrome OS Welcome page. This is used on the NTP when there aren't enough thumbnails to show.">
Welcome to Google Chrome
@@ -595,7 +595,7 @@ Google Chrome is unable to recover your settings.
</message>
<!-- "Create application shortcuts" dialog -->
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<message name="IDS_CREATE_SHORTCUTS_ERROR_LABEL" desc="Contents of the main label in the error dialog box when creating an application shortcut failed for unknown reasons.">
Google Chrome could not create an application shortcut.
</message>
@@ -690,7 +690,7 @@ For Google Chrome, processes used to display diagnostics information (such as th
</if>
<!-- iOS Upgrade available info bar-->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_UPGRADE_AVAILABLE" desc="Text to inform the user of the presence of a new version of the application">
Chrome just got better! A new version is available.
</message>
@@ -862,18 +862,18 @@ Signing in anyway will merge Chrome information like bookmarks, history, and oth
Allow Chrome to access the network in your firewall or antivirus
settings.
</message>
- <if expr="is_macosx and not pp_ifdef('ios')">
+ <if expr="is_macosx">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Mac OSX instructions for disabling use of a proxy server.">
Go to
Applications &gt; System Preferences &gt; Network &gt; Advanced &gt; Proxies
and deselect any proxies that have been selected.
</message>
</if>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_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 is_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 is_ios">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Linux instructions for disabling use of a proxy server.">
Go to
the Chrome menu &gt;
diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd
index d5b3d39..8033ab1 100644
--- a/chrome/app/resources/locale_settings.grd
+++ b/chrome/app/resources/locale_settings.grd
@@ -75,11 +75,11 @@
be 'nb'. -->
<output filename="locale_settings_nb.pak" type="data_package" lang="no" />
<output filename="locale_settings_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="locale_settings_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="locale_settings_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="locale_settings_pt-PT.pak" type="data_package" lang="pt-PT" />
@@ -350,14 +350,14 @@
<message name="IDS_CHROME_WELCOME_URL" translateable="false">
http://www.google.com/chrome/intl/[GRITLANGCODE]/welcome.html
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_MOBILE_WELCOME_URL" translateable="false">
chrome://welcome
</message>
</if>
<!-- The URL for Google Chrome privacy policy. -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_PRIVACY_POLICY_URL" translateable="false">
http://www.google.com/chrome/intl/[GRITLANGCODE]/privacy.html
</message>
@@ -390,7 +390,7 @@
</message>
<!-- The width and height for the "create application shortcuts error" dialog. -->
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<message name="IDS_CREATE_SHORTCUTS_ERROR_DIALOG_WIDTH_CHARS" use_name_for_id="true">
60
</message>
diff --git a/chrome/app/resources/locale_settings_mac.grd b/chrome/app/resources/locale_settings_mac.grd
index e762d5d..e1635cd 100644
--- a/chrome/app/resources/locale_settings_mac.grd
+++ b/chrome/app/resources/locale_settings_mac.grd
@@ -42,11 +42,11 @@
be 'nb'. -->
<output filename="platform_locale_settings_nb.pak" type="data_package" lang="no" />
<output filename="platform_locale_settings_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="platform_locale_settings_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="platform_locale_settings_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="platform_locale_settings_pt-PT.pak" type="data_package" lang="pt-PT" />
diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd
index ab3336e..47f4429 100644
--- a/chrome/app/theme/theme_resources.grd
+++ b/chrome/app/theme/theme_resources.grd
@@ -76,7 +76,7 @@
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_GENERATED_CARD" file="common/autofill_generated_card.png" />
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON" file="common/autofill_tooltip_icon.png" />
<structure type="chrome_scaled_image" name="IDR_AUTOFILL_TOOLTIP_ICON_H" file="common/autofill_tooltip_icon_hover.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_BACK" file="back.png" />
<structure type="chrome_scaled_image" name="IDR_BACK_D" file="back_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_BACK_H" file="back_hover.png" />
@@ -84,7 +84,7 @@
</if>
<!-- TODO(jamescook): Update all Chrome platforms to use the new art and metrics
from Ash, crbug.com/118228 -->
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_BACK" file="common/browser_back_normal.png" />
<structure type="chrome_scaled_image" name="IDR_BACK_D" file="common/browser_back_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_BACK_H" file="common/browser_back_hover.png" />
@@ -110,10 +110,10 @@
<structure type="chrome_scaled_image" name="IDR_BLOCKED_PPAPI_BROKER" file="common/blocked_pepper_broker.png" />
<structure type="chrome_scaled_image" name="IDR_BOOKMARKS_FAVICON" file="common/favicon_bookmarks.png" />
<structure type="chrome_scaled_image" name="IDR_BOOKMARK_BAR_CHEVRONS" file="common/chevron.png" />
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_BOOKMARK_BAR_FOLDER" file="mac/bookmark_bar_folder.png" />
</if>
- <if expr="not is_macosx">
+ <if expr="not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_BOOKMARK_BAR_FOLDER" file="common/bookmark_bar_folder.png" />
</if>
<structure type="chrome_scaled_image" name="IDR_BOOKMARK_BAR_APPS_SHORTCUT" file="common/apps_bookmark_bar_icon.png" />
@@ -122,12 +122,12 @@
<structure type="chrome_scaled_image" name="IDR_BUTTON_USER_IMAGE_RECORD_VIDEO" file="record_video.png" />
<structure type="chrome_scaled_image" name="IDR_BUTTON_USER_IMAGE_TAKE_PHOTO" file="take_photo.png" />
</if>
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_BROWSER_ACTION" file="browser_action.png" />
<structure type="chrome_scaled_image" name="IDR_BROWSER_ACTION_H" file="browser_action_hover.png" />
<structure type="chrome_scaled_image" name="IDR_BROWSER_ACTION_P" file="browser_action_pressed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_BROWSER_ACTION" file="common/browser_action_normal.png" />
<structure type="chrome_scaled_image" name="IDR_BROWSER_ACTION_H" file="common/browser_action_hover.png" />
<structure type="chrome_scaled_image" name="IDR_BROWSER_ACTION_P" file="common/browser_action_pressed.png" />
@@ -317,13 +317,13 @@
<structure type="chrome_scaled_image" name="IDR_FIND_DLG_MIDDLE_BACKGROUND" file="common/find_dlg_middle_bg.png" />
<structure type="chrome_scaled_image" name="IDR_FIND_DLG_RIGHT_BACKGROUND" file="common/find_dlg_right_bg.png" />
<structure type="chrome_scaled_image" name="IDR_FLAGS_FAVICON" file="common/favicon_flags.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_FORWARD" file="forward.png" />
<structure type="chrome_scaled_image" name="IDR_FORWARD_D" file="forward_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_FORWARD_H" file="forward_hover.png" />
<structure type="chrome_scaled_image" name="IDR_FORWARD_P" file="forward_pressed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_FORWARD" file="common/browser_forward_normal.png" />
<structure type="chrome_scaled_image" name="IDR_FORWARD_D" file="common/browser_forward_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_FORWARD_H" file="common/browser_forward_hover.png" />
@@ -337,26 +337,26 @@
<structure type="chrome_scaled_image" name="IDR_HELP_MENU" file="help_16.png" />
</if>
<structure type="chrome_scaled_image" name="IDR_HISTORY_FAVICON" file="common/favicon_history.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_HOME" file="home.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_HOME" file="common/browser_home_normal.png" />
</if>
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_HOME_H" file="home_hover.png" />
<structure type="chrome_scaled_image" name="IDR_HOME_P" file="home_pressed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_HOME_H" file="common/browser_home_hover.png" />
<structure type="chrome_scaled_image" name="IDR_HOME_P" file="common/browser_home_pressed.png" />
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<structure type="chrome_scaled_image" name="IDR_ICON_ADD_USER24" file="icon_add_user24.png" />
<structure type="chrome_scaled_image" name="IDR_ICON_ADD_USER_WHITE" file="icon_add_user_white.png" />
<structure type="chrome_scaled_image" name="IDR_ICON_GUEST_WHITE" file="icon_guest_white.png" />
</if>
- <if expr="not is_android and not pp_ifdef('ios') and not pp_ifdef('chromeos')">
+ <if expr="not is_android and not is_ios and not pp_ifdef('chromeos')">
<!-- TODO(noms): Remove this once local profile avatars are migrated -->
<structure type="chrome_scaled_image" name="IDR_USER_MANAGER_DEFAULT_AVATAR" file="avatar_user_color.png" />
</if>
@@ -491,13 +491,13 @@
<structure type="chrome_scaled_image" name="IDR_NETWORK_SHOW_PASSWORD" file="cros/network_show_password.png" />
<structure type="chrome_scaled_image" name="IDR_NETWORK_SHOW_PASSWORD_HOVER" file="cros/network_show_password_hover.png" />
</if>
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON" file="newtab.png" />
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON_H" file="newtab_hover.png" />
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON_MASK" file="newtab_button_mask.png" />
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON_P" file="newtab_pressed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON" file="common/newtab_normal.png" />
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON_H" file="common/newtab_hover.png" />
<structure type="chrome_scaled_image" name="IDR_NEWTAB_BUTTON_MASK" file="common/newtab_button_mask.png" />
@@ -565,10 +565,10 @@
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_HTTPS_WARNING" file="common/omnibox_https_warning.png" />
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_HTTP_DARK" file="common/omnibox_http_dark.png" />
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_HTTP_SELECTED" file="common/omnibox_http_selected.png" />
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_KEYWORD_HINT_TAB" file="mac/omnibox_keyword_hint_tab.png" />
</if>
- <if expr="not is_macosx">
+ <if expr="not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_KEYWORD_HINT_TAB" file="common/omnibox_keyword_hint_tab.png" />
</if>
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_MIC_SEARCH" file="common/omnibox_mic_search.png" />
@@ -601,7 +601,7 @@
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_TTS" file="common/omnibox_tts.png" />
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_TTS_DARK" file="common/omnibox_tts_dark.png" />
<structure type="chrome_scaled_image" name="IDR_OMNIBOX_TTS_SELECTED" file="common/omnibox_tts_selected.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_OTR_ICON" file="common/otr_icon.png" />
</if>
<if expr="pp_ifdef('toolkit_views')">
@@ -615,7 +615,7 @@
</if>
</if>
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_OTR_ICON" file="mac/otr_icon.png" />
</if>
<if expr="context.startswith('default_')">
@@ -658,7 +658,7 @@
<structure type="chrome_scaled_image" name="IDR_PRODUCT_LOGO_NAME_48" file="google_chrome/product_logo_name_48.png" />
<structure type="chrome_scaled_image" name="IDR_PRODUCT_LOGO_WHITE" file="google_chrome/product_logo_white.png" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_0" file="profile_avatar_generic_mac.png" />
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_1" file="profile_avatar_generic_aqua_mac.png" />
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_2" file="profile_avatar_generic_blue_mac.png" />
@@ -686,7 +686,7 @@
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_24" file="profile_avatar_note_mac.png" />
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_25" file="profile_avatar_sun_cloud_mac.png" />
</if>
- <if expr="not is_macosx">
+ <if expr="not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_0" file="profile_avatar_generic.png" />
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_1" file="profile_avatar_generic_aqua.png" />
<structure type="chrome_scaled_image" name="IDR_PROFILE_AVATAR_2" file="profile_avatar_generic_blue.png" />
@@ -720,13 +720,13 @@
</if>
<structure type="chrome_scaled_image" name="IDR_PROFILE_SELECTED" file="common/profile_selected.png" />
<structure type="chrome_scaled_image" name="IDR_REGISTER_PROTOCOL_HANDLER" file="register_protocol_handler.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_RELOAD" file="reload.png" />
<structure type="chrome_scaled_image" name="IDR_RELOAD_H" file="reload_hover.png" />
<structure type="chrome_scaled_image" name="IDR_RELOAD_P" file="reload_pressed.png" />
<structure type="chrome_scaled_image" name="IDR_RELOAD_DIMMED" file="reload_dimmed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_RELOAD" file="common/browser_reload_normal.png" />
<structure type="chrome_scaled_image" name="IDR_RELOAD_D" file="common/browser_reload_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_RELOAD_H" file="common/browser_reload_hover.png" />
@@ -756,7 +756,7 @@
<structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_TRAY_MIC_EMPTY" file="speech_input_tray_linux_mic_empty.png" />
<structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_TRAY_MIC_FULL" file="speech_input_tray_linux_mic_full.png" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_TRAY_MIC_EMPTY" file="speech_input_tray_macosx_mic_empty.png" />
<structure type="chrome_scaled_image" name="IDR_SPEECH_INPUT_TRAY_MIC_FULL" file="speech_input_tray_macosx_mic_full.png" />
</if>
@@ -770,13 +770,13 @@
<structure type="chrome_scaled_image" name="IDR_SHARE" file="share.png" />
<structure type="chrome_scaled_image" name="IDR_STAR" file="star.png" />
<structure type="chrome_scaled_image" name="IDR_STAR_LIT" file="star_lit.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_STOP" file="stop.png" />
<structure type="chrome_scaled_image" name="IDR_STOP_D" file="stop_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_STOP_H" file="stop_hover.png" />
<structure type="chrome_scaled_image" name="IDR_STOP_P" file="stop_pressed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_STOP" file="common/browser_stop_normal.png" />
<structure type="chrome_scaled_image" name="IDR_STOP_D" file="common/browser_stop_disabled.png" />
<structure type="chrome_scaled_image" name="IDR_STOP_H" file="common/browser_stop_hover.png" />
@@ -786,7 +786,7 @@
<structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_START" file="cros/supervised_illustration_start.png" />
<structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_DONE" file="cros/supervised_illsutration_done.png" />
</if>
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file="tab_active_center.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="tab_active_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file="tab_active_right.png" />
@@ -796,7 +796,7 @@
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="common/tab_active_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file="common/tab_active_right.png" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_CENTER" file="mac/tab_active_center.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_LEFT" file="mac/tab_active_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ACTIVE_RIGHT" file="mac/tab_active_right.png" />
@@ -807,7 +807,7 @@
<!-- Note: Tab close buttons are not traditional buttons. Tab close buttons
fill a background with a color from the theme, tile IDR_CLOSE_1 over it,
then apply IDR_CLOSE_1_MASK. See chrome/browser/ui/views/tabs/tab.cc -->
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_LEFT" file="tab_alpha_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_RIGHT" file="tab_alpha_right.png" />
</if>
@@ -815,7 +815,7 @@
<structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_LEFT" file="common/tab_alpha_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_RIGHT" file="common/tab_alpha_right.png" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_LEFT" file="mac/tab_alpha_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_ALPHA_RIGHT" file="mac/tab_alpha_right.png" />
</if>
@@ -825,7 +825,7 @@
<structure type="chrome_scaled_image" name="IDR_CLOSE_1_P" file="common/close_1_pressed.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_DROP_DOWN" file="tab_drop_down.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_DROP_UP" file="tab_drop_up.png" />
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_CENTER" file="tab_inactive_center.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_LEFT" file="tab_inactive_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_RIGHT" file="tab_inactive_right.png" />
@@ -835,7 +835,7 @@
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_LEFT" file="common/tab_inactive_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_RIGHT" file="common/tab_inactive_right.png" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_CENTER" file="mac/tab_inactive_center.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_LEFT" file="mac/tab_inactive_left.png" />
<structure type="chrome_scaled_image" name="IDR_TAB_INACTIVE_RIGHT" file="mac/tab_inactive_right.png" />
@@ -870,7 +870,7 @@
<structure type="chrome_scaled_image" name="IDR_THEME_NTP_ATTRIBUTION" file="notused.png" />
<structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND" file="common/ntp_background.png" />
<structure type="chrome_scaled_image" name="IDR_THEME_NTP_BACKGROUND_WHITE" file="common/ntp_background_white.png" />
- <if expr="not pp_ifdef('use_ash') and not is_macosx">
+ <if expr="not pp_ifdef('use_ash') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" file="theme_tab_background.png" />
<structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INCOGNITO" file="theme_tab_background_incognito.png" />
</if>
@@ -883,12 +883,12 @@
<structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INCOGNITO_WIN" file="theme_tab_background_incognito.png" />
</if>
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND" file="mac/theme_default_inactive.png" />
<structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_INACTIVE" file="mac/theme_default_inactive_background.png" />
</if>
<structure type="chrome_scaled_image" name="IDR_THEME_TAB_BACKGROUND_V" file="theme_tab_background_glass.png" />
- <if expr="not pp_ifdef('use_ash') and not is_macosx">
+ <if expr="not pp_ifdef('use_ash') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR" file="theme_toolbar_default.png" />
</if>
<if expr="pp_ifdef('use_ash')">
@@ -898,7 +898,7 @@
<structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR_WIN" file="theme_toolbar_default.png" />
</if>
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR" file="mac/theme_default_active.png" />
<structure type="chrome_scaled_image" name="IDR_THEME_TOOLBAR_INACTIVE" file="mac/theme_default_active_background.png" />
</if>
@@ -917,17 +917,17 @@
<structure type="chrome_scaled_image" name="IDR_TOOLBAR_SHADE_RIGHT" file="common/toolbar_shade_right.png" />
<structure type="chrome_scaled_image" name="IDR_TOOLBAR_SHADE_TOP" file="common/toolbar_shade_top.png" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_TOOLBAR_SHADE_TOP" file="mac/toolbar_shade_top.png" />
</if>
<!-- For non-chromeos aura the tools menu button in the normal state is slightly different -->
<if expr="not pp_ifdef('use_aura') or pp_ifdef('chromeos')">
- <if expr="not pp_ifdef('toolkit_views') and not is_macosx">
+ <if expr="not pp_ifdef('toolkit_views') and not is_macosx and not is_ios">
<structure type="chrome_scaled_image" name="IDR_TOOLS" file="tools.png" />
<structure type="chrome_scaled_image" name="IDR_TOOLS_H" file="tools_hover.png" />
<structure type="chrome_scaled_image" name="IDR_TOOLS_P" file="tools_pressed.png" />
</if>
- <if expr="pp_ifdef('toolkit_views') or is_macosx">
+ <if expr="pp_ifdef('toolkit_views') or is_macosx or is_ios">
<structure type="chrome_scaled_image" name="IDR_TOOLS" file="common/browser_tools_normal.png" />
<structure type="chrome_scaled_image" name="IDR_TOOLS_H" file="common/browser_tools_hover.png" />
<structure type="chrome_scaled_image" name="IDR_TOOLS_P" file="common/browser_tools_pressed.png" />
@@ -947,7 +947,7 @@
<structure type="chrome_scaled_image" name="IDR_TOOLS_BAR_MEDIUM" file="common/browser_tools_bar_medium.png" />
<structure type="chrome_scaled_image" name="IDR_TOOLS_BAR_HIGH" file="common/browser_tools_bar_high.png" />
<structure type="chrome_scaled_image" name="IDR_UP_ARROW" file="common/up_arrow.png" />
- <if expr="not is_macosx and not pp_ifdef('toolkit_views')">
+ <if expr="not is_macosx and not is_ios and not pp_ifdef('toolkit_views')">
<structure type="chrome_scaled_image" name="IDR_UPDATE_BADGE" file="update_badge.png" />
<structure type="chrome_scaled_image" name="IDR_UPDATE_BADGE2" file="update_badge2.png" />
<structure type="chrome_scaled_image" name="IDR_UPDATE_BADGE3" file="update_badge3.png" />
diff --git a/chrome/browser/browser_resources.grd b/chrome/browser/browser_resources.grd
index 28acfba..977b96c 100644
--- a/chrome/browser/browser_resources.grd
+++ b/chrome/browser/browser_resources.grd
@@ -9,10 +9,10 @@
</outputs>
<release seq="1">
<structures>
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<structure name="IDR_ABOUT_MEMORY_HTML" file="resources\about_memory_linux.html" flattenhtml="true" type="chrome_html" />
</if>
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<structure name="IDR_ABOUT_MEMORY_HTML" file="resources\about_memory_mac.html" flattenhtml="true" type="chrome_html" />
</if>
<if expr="is_win">
@@ -55,10 +55,10 @@
<if expr="pp_ifdef('chromeos')">
<structure name="IDR_OOBE_HTML" file="resources\chromeos\login\oobe.html" flattenhtml="true" type="chrome_html" variables="OOBE=oobe" expand_variables="true"/>
<structure name="IDR_OOBE_JS" file="resources\chromeos\login\oobe.js" flattenhtml="true" type="chrome_html" />
- <structure name="IDR_OOBE_RESOURCE_LOADER_JS" file="resources\chromeos\login\resource_loader.js" flattenhtml="true" type="chrome_html" />
- <structure name="IDR_OOBE_ENROLLMENT_HTML" file="resources\chromeos\login\oobe_screen_oauth_enrollment.html" flattenhtml="true" type="chrome_html" />
- <structure name="IDR_OOBE_ENROLLMENT_CSS" file="resources\chromeos\login\oobe_screen_oauth_enrollment.css" flattenhtml="true" type="chrome_html" />
- <structure name="IDR_OOBE_ENROLLMENT_JS" file="resources\chromeos\login\oobe_screen_oauth_enrollment.js" flattenhtml="true" type="chrome_html" />
+ <structure name="IDR_OOBE_RESOURCE_LOADER_JS" file="resources\chromeos\login\resource_loader.js" flattenhtml="true" type="chrome_html" />
+ <structure name="IDR_OOBE_ENROLLMENT_HTML" file="resources\chromeos\login\oobe_screen_oauth_enrollment.html" flattenhtml="true" type="chrome_html" />
+ <structure name="IDR_OOBE_ENROLLMENT_CSS" file="resources\chromeos\login\oobe_screen_oauth_enrollment.css" flattenhtml="true" type="chrome_html" />
+ <structure name="IDR_OOBE_ENROLLMENT_JS" file="resources\chromeos\login\oobe_screen_oauth_enrollment.js" flattenhtml="true" type="chrome_html" />
<structure name="IDR_KEYBOARD_UTILS_JS" file="resources\chromeos\keyboard\keyboard_utils.js" flattenhtml="true" type="chrome_html" />
</if>
<structure name="IDR_READER_OUT_OF_DATE_HTML" file="resources\reader_out_of_date.html" flattenhtml="true" type="chrome_html" />
@@ -87,7 +87,7 @@
</if>
<include name="IDR_BOOKMARKS_MANIFEST" file="resources\bookmark_manager\manifest.json" type="BINDATA" />
<include name="IDR_APPS_DEBUGGER_MANIFEST" file="resources\apps_debugger\manifest.json" type="BINDATA" />
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<include name="IDR_CERTIFICATE_VIEWER_HTML" file="resources\certificate_viewer.html" type="BINDATA" />
<include name="IDR_CERTIFICATE_VIEWER_JS" file="resources\certificate_viewer.js" type="BINDATA" />
<include name="IDR_CERTIFICATE_VIEWER_CSS" file="resources\certificate_viewer.css" type="BINDATA" />
@@ -205,8 +205,7 @@
</if>
<include name="IDR_POLICY_HTML" file="resources\policy.html" flattenhtml="true" allowexternalscript="true" type="BINDATA"/>
<include name="IDR_POLICY_JS" file="resources\policy.js" type="BINDATA"/>
- <include name="IDR_PRERENDER_URL_WHITELIST"
- file="resources\prerender_url_whitelist.dat" type="BINDATA"/>
+ <include name="IDR_PRERENDER_URL_WHITELIST" file="resources\prerender_url_whitelist.dat" type="BINDATA"/>
<if expr="pp_ifdef('enable_printing')">
<include name="IDR_PRINT_PREVIEW_HTML" file="resources\print_preview\print_preview.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
<include name="IDR_PRINT_PREVIEW_PAGE" file="resources\print_preview\print_preview_page.html" flattenhtml="true" allowexternalscript="false" type="BINDATA" />
@@ -356,7 +355,7 @@
<include name="IDR_SET_AS_DEFAULT_BROWSER_JS" file="resources\set_as_default_browser.js" flattenhtml="true" type="BINDATA" />
<include name="IDR_SET_AS_DEFAULT_BROWSER_HTML" file="resources\set_as_default_browser.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
</if>
- <if expr="not is_android and not pp_ifdef('ios') and not pp_ifdef('chromeos')">
+ <if expr="not is_android and not is_ios and not pp_ifdef('chromeos')">
<include name="IDR_USER_MANAGER_JS" file="resources\user_manager\user_manager.js" flattenhtml="true" type="BINDATA" />
<include name="IDR_USER_MANAGER_HTML" file="resources\user_manager\user_manager.html" flattenhtml="true" allowexternalscript="true" type="BINDATA" />
</if>
diff --git a/chrome/browser/resources/history/history.html b/chrome/browser/resources/history/history.html
index 107fcfd..a58e433 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="is_android or pp_ifdef('ios')">
+<if expr="is_android or is_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 is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_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 is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
<link rel="stylesheet" href="../uber/uber_shared.css">
</if>
<link rel="stylesheet" href="history.css">
-<if expr="is_android or pp_ifdef('ios')">
+<if expr="is_android or is_ios">
<link rel="stylesheet" href="history_mobile.css">
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
<link rel="stylesheet" href="other_devices.css">
</if>
@@ -34,7 +34,7 @@
<script src="chrome://resources/js/cr/ui/focus_manager.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 is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
<script src="chrome://resources/js/cr/ui/alert_overlay.js"></script>
<script src="chrome://resources/js/cr/ui/overlay.js"></script>
</if>
@@ -54,15 +54,15 @@
</head>
-<if expr="not is_android">
+<if expr="not is_android and not is_ios">
<body class="uber-frame"
i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
</if>
-<if expr="is_android or pp_ifdef('ios')">
+<if expr="is_android or is_ios">
<body i18n-values=".style.fontFamily:fontfamily">
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
<div id="overlay" class="overlay" hidden>
<include src="alert_overlay.html">
</div>
diff --git a/chrome/browser/resources/history/history_mobile.css b/chrome/browser/resources/history/history_mobile.css
index 41268f5..cda3779 100644
--- a/chrome/browser/resources/history/history_mobile.css
+++ b/chrome/browser/resources/history/history_mobile.css
@@ -170,7 +170,7 @@ input {
margin: 0;
}
-<if expr="pp_ifdef('ios')">
+<if expr="is_ios">
/* Add extra spacing caused by the missing search bar on iOS. */
h3:first-of-type {
margin-top: 16px;
@@ -221,7 +221,7 @@ h3:first-of-type {
margin-top: 16px;
}
-<if expr="pp_ifdef('ios')">
+<if expr="is_ios">
/* iOS does not support the latest flexbox syntax, only the 2009 working draft
syntax (http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/). */
.entry-box,
diff --git a/chrome/browser/resources/translate_internals/prefs.html b/chrome/browser/resources/translate_internals/prefs.html
index f39b242..5cd07b8 100644
--- a/chrome/browser/resources/translate_internals/prefs.html
+++ b/chrome/browser/resources/translate_internals/prefs.html
@@ -25,7 +25,7 @@ found in the LICENSE file.
<p id="prefs-supported-languages-last-updated">Last updated: <span></span></p>
<ul id="prefs-supported-languages-languages"></ul>
</section>
-<if expr="not pp_ifdef('ios')">
+<if expr="not is_ios">
<section id="prefs-cld-version">
<h2>CLD Version</h2>
<p i18n-content="cld-version"></p>
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index 8b81d1d..6cdc095 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -37,7 +37,7 @@ html:not([subframe]) #sub-frame-error {
border-bottom: 1px solid #888;
border-radius: 3px;
color: black;
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
/* Not done on mobile for performance reasons. */
box-shadow: 0px 2px 2px #AAA;
</if>
@@ -104,7 +104,7 @@ a {
#sub-frame-error-details {
color: #8F8F8F;
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
/* Not done on mobile for performance reasons. */
text-shadow: 0 1px 0 rgba(255,255,255,0.3);
</if>
@@ -133,7 +133,7 @@ button {
background-color: #ededed;
font-weight: bold;
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
/* Not done on mobile for performance reasons. */
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
</if>
@@ -148,7 +148,7 @@ button:hover {
<if expr="is_android">
background-color: #f0f0f0;
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
</if>
}
@@ -162,7 +162,7 @@ button:active {
<if expr="is_android">
background-color: #e7e7e7;
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
box-shadow: none;
</if>
}
@@ -178,7 +178,7 @@ button:active {
background-color: rgb(39, 180, 231);
border: 1px solid rgb(0, 152, 206);
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
</if>
}
@@ -188,7 +188,7 @@ button:active {
background-image: -webkit-linear-gradient(#659efd, #659efd 38%, #6097f1);
border: 1px solid rgba(45, 102, 195, 1);
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2);
</if>
}
@@ -201,7 +201,7 @@ button:active {
<if expr="is_android">
background-color: rgb(0, 152, 206);
</if>
-<if expr="not is_android and not pp_ifdef('ios')">
+<if expr="not is_android and not is_ios">
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
</if>
}
@@ -337,7 +337,7 @@ function updateForDnsProbe(strings) {
jstProcess(context, document.getElementById('details'));
}
-<if expr="is_macosx or is_linux or is_android">
+<if expr="is_macosx or is_ios or is_linux or is_android">
//Re-orders buttons. Used on Mac, Linux, and Android, where reload should go on the right.
function swapButtonOrder() {
reloadButton = document.getElementById('reload-button');