summaryrefslogtreecommitdiff
path: root/chromium/ui/webui/resources
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/webui/resources')
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js11
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js11
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js9
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_list.js9
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js15
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js9
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js11
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js2
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js15
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificates_browser_proxy.js2
-rw-r--r--chromium/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js9
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/BUILD.gn30
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/bluetooth/BUILD.gn68
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.html (renamed from chromium/ui/webui/resources/cr_components/chromeos/bluetooth_dialog.html)15
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.js (renamed from chromium/ui/webui/resources/cr_components/chromeos/bluetooth_dialog.js)0
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/base_page.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.html10
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup.html14
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/final_page.html6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.html2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/provisioning_page.html10
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/sim_detect_page.html8
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/BUILD.gn3
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/button_bar.html6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/icons.html2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/mojo_api.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup.html24
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html8
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/password_page.html14
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.html14
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js5
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/start_setup_page.html18
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page.html8
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/BUILD.gn3
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0.svg4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0_with_x.svg8
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_1.svg6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_2.svg6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_3.svg6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_4.svg4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/cellular_off.svg4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/ethernet.svg6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/mojo_interface_provider.html2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_apnlist.html8
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_choose_mobile.html10
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_config.html33
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_config_element_behavior.js2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_config_input.html10
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_config_select.html14
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.html15
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.js19
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_icon.html6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_icons.html23
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_ip_config.html10
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_list.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_list.js2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_list_item.html16
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_nameservers.html16
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_password_input.html16
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_property_list_mojo.html12
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy.html18
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_exclusions.html8
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_input.html6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_select.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_select.js9
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_shared_css.html2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/network_siminfo.html18
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.html2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.js35
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0.svg4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0_with_x.svg9
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_1.svg6
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_2.svg5
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_3.svg5
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_4.svg4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network/wifi_off.svg4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network_health/BUILD.gn53
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.html49
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.js94
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/lock_screen_constants.html2
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard.html23
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/setup_pin_keyboard.html14
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.html40
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.html4
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.js2
-rw-r--r--chromium/ui/webui/resources/cr_components/cr_components_images.grdp40
-rw-r--r--chromium/ui/webui/resources/cr_components/cr_components_resources.grdp319
-rw-r--r--chromium/ui/webui/resources/cr_components/cr_components_resources_v3.grdp64
-rw-r--r--chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_camera.html4
-rw-r--r--chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_picture_pane.html1
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html2
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js5
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html5
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.js24
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.html22
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.js15
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_input/cr_input.html24
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_input/cr_input.js3
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_input/cr_input_style_css.html7
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_toast/BUILD.gn8
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast.js1
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast_manager.js9
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html4
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html24
-rw-r--r--chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js11
-rw-r--r--chromium/ui/webui/resources/cr_elements/policy/cr_policy_network_behavior_mojo.js2
-rw-r--r--chromium/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js38
-rw-r--r--chromium/ui/webui/resources/cr_elements/shared_vars_css.html12
-rw-r--r--chromium/ui/webui/resources/cr_elements_images.grdp48
-rw-r--r--chromium/ui/webui/resources/cr_elements_resources.grdp294
-rw-r--r--chromium/ui/webui/resources/cr_elements_resources_v3.grdp153
-rw-r--r--chromium/ui/webui/resources/cr_polymer_resources.grdp49
-rw-r--r--chromium/ui/webui/resources/cr_polymer_resources_v3.grdp12
-rw-r--r--chromium/ui/webui/resources/css/cros_colors.json56
-rw-r--r--chromium/ui/webui/resources/js/BUILD.gn5
-rw-r--r--chromium/ui/webui/resources/js/cr/ui/command.js2
-rw-r--r--chromium/ui/webui/resources/js/load_time_data.js6
-rw-r--r--chromium/ui/webui/resources/js/parse_html_subset.js155
-rw-r--r--chromium/ui/webui/resources/js/plural_string_proxy.js33
-rw-r--r--chromium/ui/webui/resources/polymer_resources.grdp368
-rw-r--r--chromium/ui/webui/resources/polymer_resources_v3.grdp204
-rw-r--r--chromium/ui/webui/resources/webui_resources.grd319
127 files changed, 1607 insertions, 1774 deletions
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js b/chromium/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js
index 32a9d187400..065021583f5 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js
@@ -8,16 +8,17 @@
* imported.
* - edit the trust level of an already existing certificate authority.
*/
-import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
-import 'chrome://resources/cr_elements/cr_checkbox/cr_checkbox.m.js';
-import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js';
+import '../../cr_elements/cr_button/cr_button.m.js';
+import '../../cr_elements/cr_checkbox/cr_checkbox.m.js';
+import '../../cr_elements/cr_dialog/cr_dialog.m.js';
import 'chrome://resources/polymer/v3_0/paper-spinner/paper-spinner-lite.js';
import './certificate_shared_css.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
-import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+import {loadTimeData} from '../../js/load_time_data.m.js';
+
import {CaTrustInfo, CertificatesBrowserProxy, CertificatesBrowserProxyImpl, CertificateSubnode, NewCertificateSubNode} from './certificates_browser_proxy.js';
Polymer({
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js
index 05c048f2a41..17b9e424309 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js
@@ -6,15 +6,16 @@
* @fileoverview A confirmation dialog allowing the user to delete various types
* of certificates.
*/
-import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
-import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js';
+import '../../cr_elements/cr_button/cr_button.m.js';
+import '../../cr_elements/cr_dialog/cr_dialog.m.js';
import './certificate_shared_css.js';
-import {assertNotReached} from 'chrome://resources/js/assert.m.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
-import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {assertNotReached} from '../../js/assert.m.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+import {loadTimeData} from '../../js/load_time_data.m.js';
+
import {CertificatesBrowserProxy, CertificatesBrowserProxyImpl, CertificateSubnode, CertificateType} from './certificates_browser_proxy.js';
Polymer({
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js
index 319097ec3a8..6686997c1c6 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js
@@ -5,16 +5,17 @@
/**
* @fileoverview An element that represents an SSL certificate entry.
*/
-import 'chrome://resources/cr_elements/cr_expand_button/cr_expand_button.m.js';
-import 'chrome://resources/cr_elements/policy/cr_policy_indicator.m.js';
+import '../../cr_elements/cr_expand_button/cr_expand_button.m.js';
+import '../../cr_elements/policy/cr_policy_indicator.m.js';
import 'chrome://resources/polymer/v3_0/iron-flex-layout/iron-flex-layout-classes.js';
import './certificate_shared_css.js';
import './certificate_subentry.js';
-import {CrPolicyIndicatorType} from 'chrome://resources/cr_elements/policy/cr_policy_indicator_behavior.m.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {CrPolicyIndicatorType} from '../../cr_elements/policy/cr_policy_indicator_behavior.m.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+
import {CertificatesOrgGroup, CertificateType} from './certificates_browser_proxy.js';
Polymer({
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_list.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_list.js
index 305f056eb97..3d68d034da2 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_list.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_list.js
@@ -6,16 +6,17 @@
* @fileoverview 'certificate-list' is an element that displays a list of
* certificates.
*/
-import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
+import '../../cr_elements/cr_button/cr_button.m.js';
import 'chrome://resources/polymer/v3_0/iron-flex-layout/iron-flex-layout-classes.js';
import './certificate_entry.js';
import './certificate_shared_css.js';
-import {assertNotReached} from 'chrome://resources/js/assert.m.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
-import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {assertNotReached} from '../../js/assert.m.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+import {loadTimeData} from '../../js/load_time_data.m.js';
+
import {CertificateAction, CertificateActionEvent, CertificateActionEventDetail} from './certificate_manager_types.js';
import {CertificatesBrowserProxy, CertificatesBrowserProxyImpl, CertificatesOrgGroup, CertificateType, NewCertificateSubNode} from './certificates_browser_proxy.js';
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js
index 98ea4179204..74971877997 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js
@@ -5,8 +5,8 @@
/**
* @fileoverview The 'certificate-manager' component manages SSL certificates.
*/
-import 'chrome://resources/cr_elements/cr_tabs/cr_tabs.m.js';
-import 'chrome://resources/cr_elements/hidden_style_css.m.js';
+import '../../cr_elements/cr_tabs/cr_tabs.m.js';
+import '../../cr_elements/hidden_style_css.m.js';
import 'chrome://resources/polymer/v3_0/iron-pages/iron-pages.js';
import './ca_trust_edit_dialog.js';
import './certificate_delete_confirmation_dialog.js';
@@ -16,13 +16,14 @@ import './certificate_password_encryption_dialog.js';
import './certificates_error_dialog.js';
import './certificate_provisioning_list.js';
-import {assert} from 'chrome://resources/js/assert.m.js';
-import {focusWithoutInk} from 'chrome://resources/js/cr/ui/focus_without_ink.m.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
-import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
-import {WebUIListenerBehavior} from 'chrome://resources/js/web_ui_listener_behavior.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {assert} from '../../js/assert.m.js';
+import {focusWithoutInk} from '../../js/cr/ui/focus_without_ink.m.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+import {loadTimeData} from '../../js/load_time_data.m.js';
+import {WebUIListenerBehavior} from '../../js/web_ui_listener_behavior.m.js';
+
import {CertificateAction, CertificateActionEvent, CertificatesErrorEventDetail} from './certificate_manager_types.js';
import {CertificatesBrowserProxyImpl, CertificatesError, CertificatesImportError, CertificatesOrgGroup, CertificateSubnode, CertificateType} from './certificates_browser_proxy.js';
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js
index 208dad02793..1eeb99f487a 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js
@@ -6,14 +6,15 @@
* @fileoverview A dialog prompting the user for a decryption password such that
* a previously exported personal certificate can be imported.
*/
-import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
-import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js';
-import 'chrome://resources/cr_elements/cr_input/cr_input.m.js';
+import '../../cr_elements/cr_button/cr_button.m.js';
+import '../../cr_elements/cr_dialog/cr_dialog.m.js';
+import '../../cr_elements/cr_input/cr_input.m.js';
import './certificate_shared_css.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+
import {CertificatesBrowserProxy, CertificatesBrowserProxyImpl} from './certificates_browser_proxy.js';
Polymer({
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js
index 8a5765590c6..b414c38bce7 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js
@@ -6,15 +6,16 @@
* @fileoverview A dialog prompting the user to encrypt a personal certificate
* before it is exported to disk.
*/
-import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
-import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js';
-import 'chrome://resources/cr_elements/cr_input/cr_input.m.js';
-import 'chrome://resources/cr_elements/shared_vars_css.m.js';
+import '../../cr_elements/cr_button/cr_button.m.js';
+import '../../cr_elements/cr_dialog/cr_dialog.m.js';
+import '../../cr_elements/cr_input/cr_input.m.js';
+import '../../cr_elements/shared_vars_css.m.js';
import './certificate_shared_css.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+
import {CertificatesBrowserProxy, CertificatesBrowserProxyImpl, CertificateSubnode} from './certificates_browser_proxy.js';
Polymer({
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js
index de8da595448..0d1cd58b314 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'chrome://resources/cr_elements/shared_style_css.m.js';
+import '../../cr_elements/shared_style_css.m.js';
const template = document.createElement('template');
template.innerHTML = `
<dom-module id="certificate-shared">{__html_template__}</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js
index 1ba7132e3e4..ef95ba04614 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js
@@ -6,17 +6,18 @@
* @fileoverview certificate-subentry represents an SSL certificate sub-entry.
*/
-import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.m.js';
-import 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.m.js';
-import 'chrome://resources/cr_elements/cr_lazy_render/cr_lazy_render.m.js';
-import 'chrome://resources/cr_elements/policy/cr_policy_indicator.m.js';
-import 'chrome://resources/cr_elements/icons.m.js';
+import '../../cr_elements/cr_action_menu/cr_action_menu.m.js';
+import '../../cr_elements/cr_icon_button/cr_icon_button.m.js';
+import '../../cr_elements/cr_lazy_render/cr_lazy_render.m.js';
+import '../../cr_elements/policy/cr_policy_indicator.m.js';
+import '../../cr_elements/icons.m.js';
import './certificate_shared_css.js';
-import {CrPolicyIndicatorType} from 'chrome://resources/cr_elements/policy/cr_policy_indicator_behavior.m.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {CrPolicyIndicatorType} from '../../cr_elements/policy/cr_policy_indicator_behavior.m.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+
import {CertificateAction, CertificateActionEvent, CertificateActionEventDetail} from './certificate_manager_types.js';
import {CertificatesBrowserProxy, CertificatesBrowserProxyImpl, CertificateSubnode, CertificateType} from './certificates_browser_proxy.js';
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_browser_proxy.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_browser_proxy.js
index d1f146db1b2..11d0f3468d5 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_browser_proxy.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_browser_proxy.js
@@ -8,7 +8,7 @@
*/
// clang-format off
-import {addSingletonGetter, sendWithPromise} from 'chrome://resources/js/cr.m.js';
+import {addSingletonGetter, sendWithPromise} from '../../js/cr.m.js';
// clang-format on
/**
diff --git a/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js b/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js
index 25562355152..6ff0a49554e 100644
--- a/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js
+++ b/chromium/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js
@@ -6,14 +6,15 @@
* @fileoverview A dialog for showing SSL certificate related error messages.
* The user can only close the dialog, there is no other possible interaction.
*/
-import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
-import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js';
+import '../../cr_elements/cr_button/cr_button.m.js';
+import '../../cr_elements/cr_dialog/cr_dialog.m.js';
import './certificate_shared_css.js';
-import {I18nBehavior} from 'chrome://resources/js/i18n_behavior.m.js';
-import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
+import {I18nBehavior} from '../../js/i18n_behavior.m.js';
+import {loadTimeData} from '../../js/load_time_data.m.js';
+
import {CertificatesError, CertificatesImportError} from './certificates_browser_proxy.js';
Polymer({
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/BUILD.gn b/chromium/ui/webui/resources/cr_components/chromeos/BUILD.gn
index d96f84805d0..be17a059d14 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/BUILD.gn
+++ b/chromium/ui/webui/resources/cr_components/chromeos/BUILD.gn
@@ -8,10 +8,11 @@ assert(is_chromeos, "Only ChromeOS components belong here.")
group("closure_compile") {
deps = [
- ":chromeos_resources",
+ "bluetooth:closure_compile",
"cellular_setup:closure_compile",
"multidevice_setup:closure_compile",
"network:closure_compile",
+ "network_health:closure_compile",
"quick_unlock:closure_compile",
"smb_shares:closure_compile",
@@ -19,36 +20,17 @@ group("closure_compile") {
# TODO: Uncomment as Polymer3 migration makes progress.
# "network:closure_compile_module",
# "quick_unlock:closure_compile_module",
+ "bluetooth:closure_compile_module",
+ "network_health:closure_compile_module",
"smb_shares:closure_compile_module",
]
}
-js_type_check("chromeos_resources") {
- deps = [ ":bluetooth_dialog" ]
-}
-
-js_library("bluetooth_dialog") {
- deps = [
- "//third_party/polymer/v1_0/components-chromium/iron-resizable-behavior:iron-resizable-behavior-extracted",
- "//ui/webui/resources/cr_elements/cr_dialog:cr_dialog",
- "//ui/webui/resources/cr_elements/cr_input:cr_input",
- "//ui/webui/resources/js:assert",
- "//ui/webui/resources/js:cr",
- "//ui/webui/resources/js:i18n_behavior",
- ]
- externs_list = [
- "$externs_path/bluetooth.js",
- "$externs_path/bluetooth_private.js",
- ]
- extra_sources = [
- "$interfaces_path/bluetooth_interface.js",
- "$interfaces_path/bluetooth_private_interface.js",
- ]
-}
-
group("polymer3_elements") {
public_deps = [
+ "bluetooth:polymer3_elements",
"network:polymer3_elements",
+ "network_health:polymer3_elements",
"quick_unlock:polymer3_elements",
"smb_shares:polymer3_elements",
]
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/BUILD.gn b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/BUILD.gn
new file mode 100644
index 00000000000..16484cc89e9
--- /dev/null
+++ b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/BUILD.gn
@@ -0,0 +1,68 @@
+# Copyright 2020 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//third_party/closure_compiler/compile_js.gni")
+import("//tools/polymer/polymer.gni")
+import("//ui/webui/resources/tools/js_modulizer.gni")
+
+assert(is_chromeos, "Bluetooth dialog is Chrome OS only.")
+
+js_type_check("closure_compile") {
+ deps = [ ":bluetooth_dialog" ]
+}
+
+js_library("bluetooth_dialog") {
+ deps = [
+ "//third_party/polymer/v1_0/components-chromium/iron-resizable-behavior:iron-resizable-behavior-extracted",
+ "//ui/webui/resources/cr_elements/cr_dialog:cr_dialog",
+ "//ui/webui/resources/cr_elements/cr_input:cr_input",
+ "//ui/webui/resources/js:assert",
+ "//ui/webui/resources/js:cr",
+ "//ui/webui/resources/js:i18n_behavior",
+ ]
+ externs_list = chrome_extension_public_externs + [
+ "$externs_path/bluetooth.js",
+ "$externs_path/bluetooth_private.js",
+ ]
+ extra_sources = [
+ "$interfaces_path/bluetooth_interface.js",
+ "$interfaces_path/bluetooth_private_interface.js",
+ ]
+}
+
+js_type_check("closure_compile_module") {
+ is_polymer3 = true
+ deps = [ ":bluetooth_dialog.m" ]
+}
+
+js_library("bluetooth_dialog.m") {
+ sources = [ "$root_gen_dir/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.m.js" ]
+ deps = [
+ "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
+ "//ui/webui/resources/cr_elements/cr_dialog:cr_dialog.m",
+ "//ui/webui/resources/cr_elements/cr_input:cr_input.m",
+ "//ui/webui/resources/js:assert.m",
+ "//ui/webui/resources/js:i18n_behavior.m",
+ ]
+ externs_list = chrome_extension_public_externs + [
+ "$externs_path/bluetooth.js",
+ "$externs_path/bluetooth_private.js",
+ ]
+ extra_sources = [
+ "$interfaces_path/bluetooth_interface.js",
+ "$interfaces_path/bluetooth_private_interface.js",
+ ]
+ extra_deps = [ ":bluetooth_dialog_module" ]
+}
+
+polymer_modulizer("bluetooth_dialog") {
+ js_file = "bluetooth_dialog.js"
+ html_file = "bluetooth_dialog.html"
+ html_type = "dom-module"
+ auto_imports = [ "ui/webui/resources/html/assert.html|assert" ]
+}
+
+group("polymer3_elements") {
+ public_deps = [ ":bluetooth_dialog_module" ]
+}
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth_dialog.html b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.html
index eb16143ad6e..1fa6b160301 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth_dialog.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.html
@@ -1,11 +1,12 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
-<link rel="import" href="chrome://resources/html/cr.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/hidden_style_css.html">
+<link rel="import" href="../../../html/cr.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../html/assert.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth_dialog.js b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.js
index 64e983b7816..64e983b7816 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth_dialog.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.js
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/base_page.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/base_page.html
index 410c979129d..a8785a97ddb 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/base_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/base_page.html
@@ -1,6 +1,6 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
<dom-module id="base-page">
<template>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.html
index 366552c5eaa..06367467b90 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
<dom-module id="button-bar">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup.html
index 7215cefcb97..31727da02b2 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup.html
@@ -1,11 +1,11 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/button_bar.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/sim_detect_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/provisioning_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/final_page.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="mojo_interface_provider.html">
+<link rel="import" href="button_bar.html">
+<link rel="import" href="sim_detect_page.html">
+<link rel="import" href="provisioning_page.html">
+<link rel="import" href="final_page.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/final_page.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/final_page.html
index 63ed4e450d1..0f733f1c174 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/final_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/final_page.html
@@ -1,7 +1,7 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/base_page.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="base_page.html">
<dom-module id="final-page">
<template>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.html
index 115d282b2a6..b7096a0baf6 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="../../../html/cr.html">
<link rel="import" href="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.html">
<link rel="import" href="chrome://resources/mojo/chromeos/services/cellular_setup/public/mojom/cellular_setup.mojom.html">
<script src="mojo_interface_provider.js"></script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/provisioning_page.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/provisioning_page.html
index 43e2dcb035f..2bde376730c 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/provisioning_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/provisioning_page.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/base_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/webview_post_util.html">
-<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="base_page.html">
+<link rel="import" href="webview_post_util.html">
+<link rel="import" href="../../../cr_elements/hidden_style_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spinner-lite.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/sim_detect_page.html b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/sim_detect_page.html
index ec6ef312ee4..8efc04545bd 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/sim_detect_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/cellular_setup/sim_detect_page.html
@@ -1,8 +1,8 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/base_page.html">
-<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="base_page.html">
+<link rel="import" href="../../../cr_elements/hidden_style_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spinner-lite.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/BUILD.gn b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/BUILD.gn
index de6c651e0e0..63fd8b30f9d 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/BUILD.gn
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/BUILD.gn
@@ -67,7 +67,8 @@ js_library("password_page") {
"//ui/webui/resources/cr_elements/cr_input:cr_input",
"//ui/webui/resources/js:cr",
]
- externs_list = [ "$externs_path/quick_unlock_private.js" ]
+ externs_list = chrome_extension_public_externs +
+ [ "$externs_path/quick_unlock_private.js" ]
extra_sources = [ "$interfaces_path/quick_unlock_private_interface.js" ]
}
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/button_bar.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/button_bar.html
index ba3ac45f532..b448b290e00 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/button_bar.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/button_bar.html
@@ -1,6 +1,6 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
+<link rel="import" href="multidevice_setup_shared_css.html">
<dom-module id="button-bar">
<template>
@@ -47,6 +47,6 @@
</div>
</div>
</template>
- <script src="chrome://resources/cr_components/chromeos/multidevice_setup/button_bar.js">
+ <script src="button_bar.js">
</script>
</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.html
index 12556f5782b..a2c17b6179d 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="../../../html/cr.html">
-<script src="chrome://resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.js">
+<script src="fake_mojo_service.js">
</script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/icons.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/icons.html
index 0232cf476e4..2eee1473ba5 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/icons.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/icons.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/mojo_api.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/mojo_api.html
index 2f44ddb6b3a..dc3ddbbd31b 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/mojo_api.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/mojo_api.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="../../../html/cr.html">
<link rel="import" href="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.html">
<link rel="import" href="chrome://resources/mojo/chromeos/services/multidevice_setup/public/mojom/multidevice_setup.mojom.html">
-<script src="mojo_api.js"></script> \ No newline at end of file
+<script src="mojo_api.js"></script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup.html
index 978dc71e9a5..6e61d099146 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup.html
@@ -1,15 +1,15 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/button_bar.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/fake_mojo_service.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/mojo_api.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/password_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/start_setup_page.html">
-<link rel="import" href="chrome://resources/html/cr.html">
-<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
+<link rel="import" href="button_bar.html">
+<link rel="import" href="fake_mojo_service.html">
+<link rel="import" href="mojo_api.html">
+<link rel="import" href="multidevice_setup_delegate.html">
+<link rel="import" href="multidevice_setup_shared_css.html">
+<link rel="import" href="password_page.html">
+<link rel="import" href="setup_succeeded_page.html">
+<link rel="import" href="start_setup_page.html">
+<link rel="import" href="../../../html/cr.html">
+<link rel="import" href="../../../html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.html">
<dom-module id="multidevice-setup">
@@ -105,6 +105,6 @@
</button-bar>
</div>
</template>
- <script src="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup.js">
+ <script src="multidevice_setup.js">
</script>
</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html
index 82f8d961c25..38c23fdedf0 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html
@@ -1,3 +1,3 @@
-<link rel="import" href="chrome://resources/html/cr.html">
-<script src="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.js">
+<link rel="import" href="../../../html/cr.html">
+<script src="multidevice_setup_browser_proxy.js">
</script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html
index 46ce0b9a518..22e3eb30088 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/cr.html">
-<script src="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.js">
+<link rel="import" href="../../../html/cr.html">
+<script src="multidevice_setup_delegate.js">
</script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html
index 3d4bb236c75..3d26c8bddd2 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html
@@ -1,8 +1,8 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/password_page.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/password_page.html
index 454df4da397..1d1b634c8f8 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/password_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/password_page.html
@@ -1,10 +1,10 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="multidevice_setup_shared_css.html">
+<link rel="import" href="ui_page.html">
+<link rel="import" href="ui_page_container_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../html/cr.html">
<dom-module id="password-page">
<template>
@@ -46,6 +46,6 @@
</div>
</ui-page>
</template>
- <script src="chrome://resources/cr_components/chromeos/multidevice_setup/password_page.js">
+ <script src="password_page.js">
</script>
</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.html
index c33ae7b1314..fefc1dc6e55 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.html
@@ -1,10 +1,10 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html">
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="multidevice_setup_browser_proxy.html">
+<link rel="import" href="multidevice_setup_shared_css.html">
+<link rel="import" href="ui_page.html">
+<link rel="import" href="ui_page_container_behavior.html">
+<link rel="import" href="../../../html/cr.html">
<dom-module id="setup-succeeded-page">
<template>
@@ -31,6 +31,6 @@
</div>
</ui-page>
</template>
- <script src="chrome://resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js">
+ <script src="setup_succeeded_page.js">
</script>
</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js
index ebc520fb3fb..b01d0553523 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js
@@ -36,10 +36,7 @@ Polymer({
/** @private */
getMessageHtml_() {
- const validNodeFn = (node, value) => node.tagName === 'A';
- return this.i18nAdvanced(
- 'setupSucceededPageMessage',
- {attrs: {'id': validNodeFn, 'href': validNodeFn}});
+ return this.i18nAdvanced('setupSucceededPageMessage', {attrs: ['id']});
},
/** @override */
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/start_setup_page.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/start_setup_page.html
index 2ade2d97506..d5de70f7d2f 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/start_setup_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/start_setup_page.html
@@ -1,11 +1,11 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
-
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/icons.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html">
-<link rel="import" href="chrome://resources/html/cr.html">
-<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
+<link rel="import" href="../../../html/polymer.html">
+
+<link rel="import" href="icons.html">
+<link rel="import" href="multidevice_setup_shared_css.html">
+<link rel="import" href="ui_page.html">
+<link rel="import" href="ui_page_container_behavior.html">
+<link rel="import" href="../../../html/cr.html">
+<link rel="import" href="../../../html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<dom-module id="start-setup-page">
@@ -171,6 +171,6 @@
</div>
</ui-page>
</template>
- <script src="chrome://resources/cr_components/chromeos/multidevice_setup/start_setup_page.js">
+ <script src="start_setup_page.js">
</script>
</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page.html
index 289e08644b8..1bdfe7b6e32 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page.html
@@ -1,8 +1,8 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/icons.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
+<link rel="import" href="icons.html">
+<link rel="import" href="multidevice_setup_shared_css.html">
<dom-module id="ui-page">
<template>
@@ -37,6 +37,6 @@
<slot name="additional-content"></slot>
</div>
</template>
- <script src="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page.js">
+ <script src="ui_page.js">
</script>
</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html
index 501cc374471..3485a99540e 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html
@@ -1,5 +1,5 @@
-<link rel="import" href="chrome://resources/html/cr.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../html/cr.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
-<script src="chrome://resources/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.js">
+<script src="ui_page_container_behavior.js">
</script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/BUILD.gn b/chromium/ui/webui/resources/cr_components/chromeos/network/BUILD.gn
index 6e1c7b28780..ca7f9fc53fc 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/BUILD.gn
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/BUILD.gn
@@ -63,7 +63,8 @@ js_library("network_config") {
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:i18n_behavior",
]
- externs_list = [ "$externs_path/networking_private.js" ]
+ externs_list = chrome_extension_public_externs +
+ [ "$externs_path/networking_private.js" ]
extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
}
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0.svg
index ed3c8cc4b3b..a921d4bec9b 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path fill-opacity=".3" d="M2 18h16V2"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M15.002 15.002V7.41622L7.41622 15.002H15.002ZM16.002 17.002C16.5543 17.002 17.002 16.5543 17.002 16.002V5.002C17.002 4.1111 15.9249 3.66493 15.2949 4.2949L4.2949 15.2949C3.66493 15.9249 4.1111 17.002 5.002 17.002H16.002Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0_with_x.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0_with_x.svg
index 6065be32a92..39e42cfbccb 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0_with_x.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_0_with_x.svg
@@ -1,6 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
- <g fill="none" transform="translate(2 2)">
- <polygon fill="#000" fill-opacity=".3" points="0 17 17 17 17 0"/>
- <polygon fill="#B2B2B2" points="5.917 .671 5.329 .083 3 2.413 .671 .083 .083 .671 2.413 3 .083 5.329 .671 5.917 3 3.587 5.329 5.917 5.917 5.329 3.587 3"/>
- </g>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M15.002 15.002V7.41622L7.41622 15.002H15.002ZM16.002 17.002C16.5543 17.002 17.002 16.5543 17.002 16.002V5.002C17.002 4.1111 15.9249 3.66493 15.2949 4.2949L4.2949 15.2949C3.66493 15.9249 4.1111 17.002 5.002 17.002H16.002Z" />
+<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66667 6L8 4.66667L7.33333 4L6 5.33333L4.66667 4L4 4.66667L5.33333 6L4 7.33333L4.66667 8L6 6.66667L7.33333 8L8 7.33333L6.66667 6Z"/>
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_1.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_1.svg
index d3cd34e9263..66d98d2f9aa 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_1.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_1.svg
@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path fill-opacity=".3" d="M2.094 18H18V1.984"/>
- <path d="M8 12l-6 6h6"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M15.002 15.002V7.41622L7.41622 15.002H15.002ZM16.002 17.002C16.5543 17.002 17.002 16.5543 17.002 16.002V5.002C17.002 4.1111 15.9249 3.66493 15.2949 4.2949L4.2949 15.2949C3.66493 15.9249 4.1111 17.002 5.002 17.002H16.002Z" />
+<path fill-rule="evenodd" clip-rule="evenodd" d="M9.002 16.002C9.002 16.5543 8.55429 17.002 8.002 17.002H5.002C4.1111 17.002 3.66493 15.9249 4.2949 15.2949L7.2949 12.2949C7.92486 11.6649 9.002 12.1111 9.002 13.002V16.002Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_2.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_2.svg
index 956dbc3ede1..9066c2192a4 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_2.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_2.svg
@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path fill-opacity=".3" d="M2 18h16V2"/>
- <path d="M11.003 9L1 18h10.003"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M15.002 15.002V7.41622L7.41622 15.002H15.002ZM16.002 17.002C16.5543 17.002 17.002 16.5543 17.002 16.002V5.002C17.002 4.1111 15.9249 3.66493 15.2949 4.2949L4.2949 15.2949C3.66493 15.9249 4.1111 17.002 5.002 17.002H16.002Z" />
+<path fill-rule="evenodd" clip-rule="evenodd" d="M12.002 16.002C12.002 16.5543 11.5543 17.002 11.002 17.002H5.002C4.1111 17.002 3.66493 15.9249 4.2949 15.2949L10.2949 9.2949C10.9249 8.66493 12.002 9.1111 12.002 10.002V16.002Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_3.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_3.svg
index aa11564d454..a3cd603aa44 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_3.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_3.svg
@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path fill-opacity=".3" d="M2 18h16.02V2"/>
- <path d="M14 6L2 18h12"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M15.002 15.002V7.41622L7.41622 15.002H15.002ZM16.002 17.002C16.5543 17.002 17.002 16.5543 17.002 16.002V5.002C17.002 4.1111 15.9249 3.66493 15.2949 4.2949L4.2949 15.2949C3.66493 15.9249 4.1111 17.002 5.002 17.002H16.002Z" />
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13.5 16.002C13.5 16.5543 13.0523 17.002 12.5 17.002H5.002C4.1111 17.002 3.66493 15.9249 4.2949 15.2949L11.7929 7.79289C12.4229 7.16293 13.5 7.6091 13.5 8.5V16.002Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_4.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_4.svg
index 8e438886fba..2be87e0464c 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_4.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_4.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M2 18h16V2"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M17.002 16.002C17.002 16.5543 16.5543 17.002 16.002 17.002H5.002C4.1111 17.002 3.66493 15.9249 4.2949 15.2949L15.2949 4.2949C15.9249 3.66493 17.002 4.1111 17.002 5.002V16.002Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_off.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_off.svg
index 7bf72adefcf..4d72a7c3c54 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_off.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/cellular_off.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M18,1 L10.78,8.02818182 L18,15.0563636 L18,1 Z M4.23142857,3.86363636 L3.14285714,4.90272727 L8.59428571,10.1063636 L0.999023438,17.0039062 L16,17.0039062 L17.9114286,19 L19,17.9609091 L4.23142857,3.86363636 Z"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M17 16C17 16.5523 16.5523 17 16 17H4.99999C4.10909 17 3.66292 15.9228 4.29288 15.2929L15.2929 4.29288C15.9228 3.66292 17 4.10909 17 4.99999V16ZM15 15V7.41418L7.41418 15H15Z"/>
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/ethernet.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/ethernet.svg
index c7cfb72c2de..6c0c5f9ab0b 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/ethernet.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/ethernet.svg
@@ -1,3 +1,5 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M6.015 6L2 10.5 6.015 15 7 14.227 3.663 10.5 7 6.773 6.015 6zM7 11h1v-1H7v1zm5-1h-1v1h1v-1zm-3 1h1v-1H9v1zm3-4.227l3.337 3.727L12 14.227l.985.773L17 10.5 12.985 6 12 6.773z"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<g id="ethernet">
+<path id="Shape 1" fill-rule="evenodd" clip-rule="evenodd" d="M14.0909 5L12.9373 6.175L16.6845 10L12.9373 13.825L14.0909 15L19 10L14.0909 5ZM7.06273 6.175L5.90909 5L1 10L5.90909 15L7.06273 13.825L3.31545 10L7.06273 6.175ZM7.05457 11C7.59682 11 8.03639 10.5523 8.03639 10C8.03639 9.44772 7.59682 9 7.05457 9C6.51233 9 6.07275 9.44772 6.07275 10C6.07275 10.5523 6.51233 11 7.05457 11ZM10 11C10.5422 11 10.9818 10.5523 10.9818 10C10.9818 9.44772 10.5422 9 10 9C9.45776 9 9.01819 9.44772 9.01819 10C9.01819 10.5523 9.45776 11 10 11ZM12.9454 11C13.4877 11 13.9273 10.5523 13.9273 10C13.9273 9.44772 13.4877 9 12.9454 9C12.4032 9 11.9636 9.44772 11.9636 10C11.9636 10.5523 12.4032 11 12.9454 11Z" />
+</g>
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/mojo_interface_provider.html b/chromium/ui/webui/resources/cr_components/chromeos/network/mojo_interface_provider.html
index 91b5cb8df3e..7eaa61575ef 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/mojo_interface_provider.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/mojo_interface_provider.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="../../../html/cr.html">
<link rel="import" href="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.html">
<link rel="import" href="chrome://resources/mojo/chromeos/services/network_config/public/mojom/cros_network_config.mojom.html">
<script src="mojo_interface_provider.js"></script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_apnlist.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_apnlist.html
index 7c92d24747a..e12cc9d632c 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_apnlist.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_apnlist.html
@@ -1,8 +1,8 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
<link rel="import" href="network_property_list_mojo.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_choose_mobile.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_choose_mobile.html
index e2c96a75082..511fbabd0b5 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_choose_mobile.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_choose_mobile.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config.html
index 9e80c52db89..a01762f6acb 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config.html
@@ -1,13 +1,13 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/network/mojo_interface_provider.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/network/network_listener_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/action_link_css.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_toggle/cr_toggle.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicator.html">
-<link rel="import" href="chrome://resources/html/action_link.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="mojo_interface_provider.html">
+<link rel="import" href="network_listener_behavior.html">
+<link rel="import" href="../../../cr_elements/action_link_css.html">
+<link rel="import" href="../../../cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="../../../cr_elements/cr_toggle/cr_toggle.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_indicator.html">
+<link rel="import" href="../../../html/action_link.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spinner-lite.html">
@@ -185,16 +185,11 @@
<!-- Share (WiFi) -->
<template is="dom-if" if="[[shareIsVisible_(managedProperties_)]]"
restamp>
- <div class="property-box">
- <div id="shareLabel" class="start">
- [[i18n('networkConfigShare')]]
- </div>
- <cr-toggle id="share" checked="{{shareNetwork_}}"
- disabled="[[!shareIsEnabled_(configProperties_.*,
- eapProperties_.*, shareAllowEnable)]]"
- aria-labeledby="shareLabel" on-change="onShareChanged_">
- </cr-toggle>
- </div>
+ <network-config-toggle id="share" label="[[i18n('networkConfigShare')]]"
+ checked="{{shareNetwork_}}" on-change="onShareChanged_"
+ disabled="[[!shareIsEnabled_(configProperties_.*,
+ eapProperties_.*, shareAllowEnable)]]">
+ </network-config-toggle>
</template>
<!-- AutoConnect (WiFi) -->
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_element_behavior.js b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_element_behavior.js
index bda8a2be931..c341b01eba1 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_element_behavior.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_element_behavior.js
@@ -29,7 +29,7 @@ const NetworkConfigElementBehavior = {
* @param {boolean} disabled
* @param {?OncMojo.ManagedProperty} property
* @return {boolean} True if the element should be disabled.
- * @private
+ * @protected
*/
getDisabled_(disabled, property) {
return disabled || (!!property && this.isNetworkPolicyEnforced(property));
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_input.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_input.html
index fa2acddae31..9e57d8efd1b 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_input.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_input.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_indicator_mojo.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
<link rel="import" href="network_config_element_behavior.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_select.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_select.html
index 582f7535921..8220cc12d82 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_select.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_select.html
@@ -1,11 +1,11 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_tooltip_icon.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_indicator_mojo.html">
+<link rel="import" href="../../../cr_elements/policy/cr_tooltip_icon.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
<link rel="import" href="network_config_element_behavior.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.html
index c6ba0583b30..1036dedc58f 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_toggle/cr_toggle.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../cr_elements/cr_toggle/cr_toggle.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_indicator_mojo.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
<link rel="import" href="network_config_element_behavior.html">
<link rel="import" href="network_shared_css.html">
@@ -13,9 +13,12 @@
cr-policy-network-indicator-mojo {
--cr-tooltip-icon-margin-start: var(--cr-controlled-by-spacing);
}
+ div.property-box {
+ width: 100%;
+ }
</style>
- <div class="property-box">
+ <div class="property-box" actionable>
<div class="start">
[[label]]
</div>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.js b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.js
index fe499a4889e..fe2e459cf37 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.js
@@ -23,4 +23,23 @@ Polymer({
notify: true,
},
},
+
+ listeners: {
+ 'click': 'onHostTap_',
+ },
+
+ /**
+ * Handles non cr-toggle button clicks (cr-toggle handles its own click events
+ * which don't bubble).
+ * @param {!Event} e
+ * @private
+ */
+ onHostTap_(e) {
+ e.stopPropagation();
+ if (this.getDisabled_(this.disabled, this.property)) {
+ return;
+ }
+ this.checked = !this.checked;
+ this.fire('change');
+ },
});
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_icon.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_icon.html
index 7a59d961faf..ca1475871b4 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_icon.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_icon.html
@@ -1,9 +1,9 @@
<link rel="import" href="../../../html/polymer.html">
<link rel="import" href="../../chromeos/network/network_icons.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/network/onc_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="onc_mojo.html">
+<link rel="import" href="../../../cr_elements/hidden_style_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<dom-module id="network-icon">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_icons.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_icons.html
index df5f47ce156..8c611738430 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_icons.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_icons.html
@@ -8,16 +8,16 @@
<svg>
<defs>
<!-- Badges -->
- <g id="badge-1x"><path d="M0 1h1V0h1v5H1V2H0M3 2h1v1H3V2zm1 1h1v1H4V3zM3 4h1v1H3V4zm2 0h1v1H5V4zm0-2h1v1H5V2z"></path></g>
- <g id="badge-3g"><path d="M9 0H5v5h4V2H7v1h1v1H6V1h3M3 3v2h1V0H0v1h3v1H1v1h2zM0 4h3v1H0V4z"></path></g>
- <g id="badge-4g"><path d="M3 4v1h1V0H3v3H0v1h3zM0 2h1v1H0V2zm1-1h1v1H1V1zm1-1h1v1H2V0zM9 0H5v5h4V2H7v1h1v1H6V1h3"></path></g>
- <g id="badge-edge"><path d="M0 0v5h3V4H1V3h1V2H1V1h2V0"></path></g>
- <g id="badge-evdo"><path d="M0 0v5h3V4H1V3h1V2H1V1h2V0M4 0h1v2H4V0zm1 2h1v2H5V2zm2 0h1v2H7V2zm1-2h1v2H8V0zM6 4h1v1H6V4z"></path></g>
- <g id="badge-gsm"><path d="M4 0H0v5h4V2H2v1h1v1H1V1h3"></path></g>
- <g id="badge-hspa"><path d="M0 0h1v2h2V0h1v5H3V3H1v2H0"></path></g>
- <g id="badge-hspa-plus"><path d="M0 0h1v2h2V0h1v5H3V3H1v2H0M7 1V0H6v1H5v1h1v1h1V2h1V1H7z"></path></g>
- <g id="badge-lte"><path d="M0 0v5h3V4H1V0M3 0h5v1H6v4H5V1H3M9 0v5h3V4h-2V3h1V2h-1V1h2V0"></path></g>
- <g id="badge-lte-advanced"><path d="M0 0v5h3V4H1V0M3 0h5v1H6v4H5V1H3M9 0v5h3V4h-2V3h1V2h-1V1h2V0M15 1V0h-1v1h-1v1h1v1h1V2h1V1h-1z"></path></g>
+ <g id="badge-1x"><path d="M3.46612 7H4.45996V1H4.33265L2 1.85832V2.70021L3.46612 2.19918V7ZM9.04312 2.55647L8.19713 4.01848L7.36756 2.55647H6.26694L7.62218 4.74538L6.21766 7H7.32649L8.20945 5.48049L9.09651 7H10.1971L8.79261 4.74538L10.152 2.55647H9.04312Z" fill="#5F6368"></path></g>
+ <g id="badge-3g"><path d="M3.34091 3.55481H2.74733V4.32487H3.32086C3.67915 4.32487 3.9492 4.40775 4.13102 4.57353C4.31284 4.73931 4.40374 4.97593 4.40374 5.28342C4.40374 5.58824 4.31685 5.82085 4.14305 5.98128C3.96925 6.14171 3.73128 6.22193 3.42914 6.22193C3.1377 6.22193 2.90575 6.14171 2.73329 5.98128C2.56083 5.82085 2.4746 5.6123 2.4746 5.35561H1.5C1.5 5.85294 1.67914 6.25134 2.03743 6.5508C2.39572 6.85027 2.85561 7 3.41711 7C4.00268 7 4.47527 6.84492 4.83489 6.53476C5.19452 6.2246 5.37433 5.80749 5.37433 5.28342C5.37433 4.95722 5.29078 4.67647 5.12366 4.44118C4.95655 4.20588 4.71257 4.03342 4.39171 3.9238C4.65642 3.80615 4.87233 3.63169 5.03944 3.4004C5.20655 3.16912 5.29011 2.92246 5.29011 2.66043C5.29011 2.13903 5.12366 1.73195 4.79078 1.43917C4.45789 1.14639 4 1 3.41711 1C3.06417 1 2.74532 1.06885 2.46056 1.20655C2.1758 1.34425 1.95388 1.5361 1.79479 1.78209C1.63569 2.02808 1.55615 2.3008 1.55615 2.60027H2.53075C2.53075 2.35695 2.61497 2.15976 2.78342 2.00869C2.95187 1.85762 3.16711 1.78209 3.42914 1.78209C3.72861 1.78209 3.9512 1.85896 4.09692 2.0127C4.24265 2.16644 4.31551 2.38235 4.31551 2.66043C4.31551 2.9492 4.22794 3.16979 4.05281 3.32219C3.87767 3.4746 3.64038 3.55214 3.34091 3.55481ZM10.0428 6.78743C10.4171 6.64572 10.7099 6.43717 10.9211 6.16176V3.9238H8.70722V4.69385H9.91043V5.8369C9.69117 6.07219 9.32219 6.18984 8.80348 6.18984C8.33021 6.18984 7.96056 6.01538 7.69452 5.66644C7.42847 5.31751 7.29545 4.82754 7.29545 4.19652V3.74733C7.30348 3.11363 7.4258 2.63302 7.66243 2.30548C7.89907 1.97794 8.24465 1.81417 8.6992 1.81417C9.40241 1.81417 9.81016 2.16577 9.92246 2.86898H10.9171C10.8396 2.2647 10.6096 1.80214 10.2273 1.48128C9.84492 1.16043 9.32888 1 8.67914 1C7.92246 1 7.33289 1.24799 6.91043 1.74398C6.48797 2.23998 6.27674 2.92914 6.27674 3.8115V4.26872C6.28476 4.81952 6.39104 5.30147 6.59559 5.71457C6.80013 6.12768 7.09091 6.44519 7.46791 6.66711C7.84492 6.88904 8.27807 7 8.76738 7C9.24332 7 9.66845 6.92914 10.0428 6.78743Z"></path></g>
+ <g id="badge-4g"><path d="M8.78743 1C8.03074 1 7.44118 1.24799 7.01872 1.74398C6.59625 2.23998 6.38503 2.92914 6.38503 3.8115V4.26872C6.39305 4.81952 6.49933 5.30147 6.70388 5.71457C6.90842 6.12768 7.1992 6.44519 7.5762 6.66711C7.95321 6.88904 8.38636 7 8.87567 7C9.35161 7 9.77674 6.92915 10.1511 6.78743C10.5254 6.64572 10.8182 6.43717 11.0294 6.16176V3.9238H8.81551V4.69385H10.0187V5.8369C9.79946 6.07219 9.43048 6.18984 8.91176 6.18984C8.4385 6.18984 8.06885 6.01538 7.80281 5.66644C7.53676 5.31751 7.40374 4.82754 7.40374 4.19652V3.74733C7.41176 3.11363 7.53409 2.63302 7.77072 2.30548C8.00735 1.97794 8.35294 1.81417 8.80749 1.81417C9.5107 1.81417 9.91845 2.16577 10.0307 2.86898H11.0254C10.9479 2.2647 10.7179 1.80214 10.3356 1.48128C9.95321 1.16043 9.43717 1 8.78743 1ZM5.0254 1.08021H4.01872L1.5 5.02674L1.52807 5.62032H4.0508V6.91979H5.0254V5.62032H5.75134V4.83824H5.0254V1.08021ZM4.0508 2.39973V4.83824H2.52273L3.97861 2.52807L4.0508 2.39973Z"></path></g>
+ <g id="badge-edge"><path d="M3.04258 4.32143H5.50687V3.49725H3.04258V1.84066H5.89423V1H2V7H5.92308V6.16758H3.04258V4.32143Z"></path></g>
+ <g id="badge-evdo"><path d="M2.54258 4.32143H5.00687V3.49725H2.54258V1.84066H5.39423V1H1.5V7H5.42308V6.16758H2.54258V4.32143ZM9.91071 1L8.38599 5.69368L6.87775 1H5.73626L7.88736 7H8.89698L11.0563 1H9.91071Z"></path></g>
+ <g id="badge-gsm"><path d="M5.54012 6.78743C5.91445 6.64572 6.20723 6.43717 6.41846 6.16176V3.9238H4.20456V4.69385H5.40777V5.8369C5.18852 6.07219 4.81954 6.18984 4.30082 6.18984C3.82755 6.18984 3.4579 6.01538 3.19186 5.66644C2.92582 5.31751 2.79279 4.82754 2.79279 4.19652V3.74733C2.80082 3.11363 2.92314 2.63302 3.15977 2.30548C3.39641 1.97794 3.74199 1.81417 4.19654 1.81417C4.89975 1.81417 5.3075 2.16577 5.4198 2.86898H6.41445C6.33691 2.2647 6.10697 1.80214 5.72461 1.48128C5.34226 1.16043 4.82622 1 4.17648 1C3.4198 1 2.83023 1.24799 2.40777 1.74398C1.98531 2.23998 1.77408 2.92914 1.77408 3.8115V4.26872C1.7821 4.81952 1.88838 5.30147 2.09293 5.71457C2.29748 6.12768 2.58825 6.44519 2.96525 6.66711C3.34226 6.88904 3.77541 7 4.26472 7C4.74066 7 5.16579 6.92914 5.54012 6.78743Z"></path></g>
+ <g id="badge-hspa"><path d="M5.22527 7H6.26374V1H5.22527V3.49725H2.54258V1H1.5V7H2.54258V4.33379H5.22527V7Z"></path></g>
+ <g id="badge-hspa-plus"><path d="M5.22527 7H6.26374V1H5.22527V3.49725H2.54258V1H1.5V7H2.54258V4.33379H5.22527V7ZM11.2788 3.69918H9.71291V2.03022H8.74038V3.69918H7.16621V4.61401H8.74038V6.39835H9.71291V4.61401H11.2788V3.69918Z"></path></g>
+ <g id="badge-lte"><path d="M5.76648 6.16758H3.04258V1H2V7H5.76648V6.16758ZM9.03022 1.84066H10.9011V1H6.14148V1.84066H7.99588V7H9.03022V1.84066ZM12.7308 4.32143H15.1951V3.49725H12.7308V1.84066H15.5824V1H11.6882V7H15.6113V6.16758H12.7308V4.32143Z"></path></g>
+ <g id="badge-lte-advanced"><path d="M5.76648 6.16758H3.04258V1H2V7H5.76648V6.16758ZM9.03022 1.84066H10.9011V1H6.14148V1.84066H7.99588V7H9.03022V1.84066ZM12.7308 4.32143H15.1951V3.49725H12.7308V1.84066H15.5824V1H11.6882V7H15.6113V6.16758H12.7308V4.32143ZM20.2431 3.69918H18.6772V2.03022H17.7047V3.69918H16.1305V4.61401H17.7047V6.39835H18.6772V4.61401H20.2431V3.69918Z"></path></g>
</defs>
</svg>
</iron-iconset-svg>
@@ -26,8 +26,7 @@
<svg>
<defs>
<g id="badge-secure" fill-rule="evenodd">
- <path d="M1 4c0-.552.45-1 .99-1h4.02c.546 0 .99.444.99 1v3c0 .552-.45 1-.99 1H1.99C1.445 8 1 7.556 1 7V4zm2.5 1h1v1h-1V5z"></path>
- <path d="M2 1h1v3H2V1zm3 0h1v3H5V1zm.5-1v1h-3V0h3z"></path>
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 3H2C1.44772 3 1 3.44772 1 4V7C1 7.55228 1.44772 8 2 8H6C6.55228 8 7 7.55228 7 7V4C7 3.44772 6.55228 3 6 3H5.75V2.25C5.75 1.2835 4.9665 0.5 4 0.5C3.0335 0.5 2.25 1.2835 2.25 2.25V3ZM3.25 3H4.75V2.25C4.75 1.83579 4.41421 1.5 4 1.5C3.58579 1.5 3.25 1.83579 3.25 2.25V3Z"></path>
</g>
</defs>
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_ip_config.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_ip_config.html
index b40f0e55b9f..a55a625f35a 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_ip_config.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_ip_config.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_toggle/cr_toggle.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicator.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_toggle/cr_toggle.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_indicator.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="network_property_list_mojo.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.html
index 6a5b872e991..a4732962b83 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.html
@@ -1,8 +1,8 @@
<link rel="import" href="../../../html/polymer.html">
<link rel="import" href="network_list_item.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/cr_scrollable_behavior.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.js b/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.js
index 8dbece4d0fa..2fed17a7beb 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_list.js
@@ -95,7 +95,7 @@ Polymer({
return item.showBeforeNetworksList === true;
});
const afterNetworks = this.customItems.filter(function(item) {
- return item.showBeforeNetworksList === false;
+ return item.showBeforeNetworksList !== true;
});
this.listItems_ = beforeNetworks.concat(this.networks, afterNetworks);
this.restoreScroll(this.$.networkList);
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_list_item.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_list_item.html
index 78530b34ead..cab8b8eed10 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_list_item.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_list_item.html
@@ -1,14 +1,14 @@
<link rel="import" href="../../../html/polymer.html">
<link rel="import" href="network_icon.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/network/onc_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicator.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="onc_mojo.html">
+<link rel="import" href="../../../cr_elements/cr_icon_button/cr_icon_button.html">
+<link rel="import" href="../../../cr_elements/icons.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_indicator.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<dom-module id="network-list-item">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_nameservers.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_nameservers.html
index d953a8d53a1..0c68cc71ce8 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_nameservers.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_nameservers.html
@@ -1,12 +1,12 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_radio_button/cr_radio_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_radio_group/cr_radio_group.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicator.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/cr_radio_button/cr_radio_button.html">
+<link rel="import" href="../../../cr_elements/cr_radio_group/cr_radio_group.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_indicator.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_password_input.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_password_input.html
index 3afeef1f513..66e8763a97d 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_password_input.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_password_input.html
@@ -1,11 +1,11 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_icons_css.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../html/polymer.html">
+<link rel="import" href="../../../cr_elements/cr_icon_button/cr_icon_button.html">
+<link rel="import" href="../../../cr_elements/cr_icons_css.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_indicator_mojo.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="network_config_element_behavior.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_property_list_mojo.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_property_list_mojo.html
index 06c91836a69..24c4de57996 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_property_list_mojo.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_property_list_mojo.html
@@ -1,10 +1,10 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_indicator_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_indicator_mojo.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="network_shared_css.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy.html
index f46687fd9ac..7df225d8a45 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy.html
@@ -1,13 +1,13 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_toggle/cr_toggle.html">
-<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network_behavior_mojo.html">
-<link rel="import" href="chrome://resources/html/assert.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/cr_toggle/cr_toggle.html">
+<link rel="import" href="../../../cr_elements/hidden_style_css.html">
+<link rel="import" href="../../../cr_elements/policy/cr_policy_network_behavior_mojo.html">
+<link rel="import" href="../../../html/assert.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="network_proxy_exclusions.html">
<link rel="import" href="network_proxy_input.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_exclusions.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_exclusions.html
index 560812c1514..c9f00cb042d 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_exclusions.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_exclusions.html
@@ -1,9 +1,9 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
-<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
+<link rel="import" href="../../../cr_elements/cr_icon_button/cr_icon_button.html">
+<link rel="import" href="../../../cr_elements/hidden_style_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="network_shared_css.html">
<dom-module id="network-proxy-exclusions">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_input.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_input.html
index 0df33a4b8ab..6e4dcff6a33 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_input.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_proxy_input.html
@@ -1,7 +1,7 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="network_shared_css.html">
<dom-module id="network-proxy-input">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.html
index fbd0f4dfd80..e4811841c98 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.html
@@ -2,8 +2,8 @@
<link rel="import" href="network_list.html">
<link rel="import" href="network_listener_behavior.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/network/onc_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="onc_mojo.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-progress.html">
<dom-module id="network-select">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.js b/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.js
index 0ef4fdfcf16..1cb4d6e24a8 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_select.js
@@ -95,10 +95,13 @@ Polymer({
this.refreshNetworks();
const INTERVAL_MS = 10 * 1000;
- const kAll = chromeos.networkConfig.mojom.NetworkType.kAll;
- this.networkConfig_.requestNetworkScan(kAll);
+ // Request only WiFi network scans. Tether and Cellular scans are not useful
+ // here. Cellular scans are disruptive and should only be triggered by
+ // explicit user action.
+ const kWiFi = chromeos.networkConfig.mojom.NetworkType.kWiFi;
+ this.networkConfig_.requestNetworkScan(kWiFi);
this.scanIntervalId_ = window.setInterval(function() {
- this.networkConfig_.requestNetworkScan(kAll);
+ this.networkConfig_.requestNetworkScan(kWiFi);
}.bind(this), INTERVAL_MS);
},
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_shared_css.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_shared_css.html
index 5953bebc8c2..0d0791d8b38 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_shared_css.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_shared_css.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
<!-- Common styles for network elements. -->
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/network_siminfo.html b/chromium/ui/webui/resources/cr_components/chromeos/network/network_siminfo.html
index 39a8d153a18..181b8233b85 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/network_siminfo.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/network_siminfo.html
@@ -1,13 +1,13 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/network/onc_mojo.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_toggle/cr_toggle.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/html/assert.html">
-<link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="onc_mojo.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="../../../cr_elements/cr_toggle/cr_toggle.html">
+<link rel="import" href="../../../cr_elements/icons.html">
+<link rel="import" href="../../../html/assert.html">
+<link rel="import" href="../../../html/cr/ui/focus_without_ink.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="network_password_input.html">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.html b/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.html
index 616c8131bc2..fa7ff789d05 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.html
@@ -1,2 +1,2 @@
-<link rel="import" href="chrome://resources/html/assert.html">
+<link rel="import" href="../../../html/assert.html">
<script src="onc_mojo.js"></script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.js b/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.js
index 16847b73c82..a193123d179 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/onc_mojo.js
@@ -147,6 +147,8 @@ class OncMojo {
return 'Uninitialized';
case DeviceStateType.kDisabled:
return 'Disabled';
+ case DeviceStateType.kDisabling:
+ return 'Disabling';
case DeviceStateType.kEnabling:
return 'Enabling';
case DeviceStateType.kEnabled:
@@ -161,27 +163,24 @@ class OncMojo {
}
/**
- * @param {string} value
- * @return {!chromeos.networkConfig.mojom.DeviceStateType}
+ * @param {!chromeos.networkConfig.mojom.DeviceStateType} value
+ * @return {boolean}
*/
- static getDeviceStateTypeFromString(value) {
+ static deviceStateIsIntermediate(value) {
const DeviceStateType = chromeos.networkConfig.mojom.DeviceStateType;
switch (value) {
- case 'Uninitialized':
- return DeviceStateType.kUninitialized;
- case 'Disabled':
- return DeviceStateType.kDisabled;
- case 'Enabling':
- return DeviceStateType.kEnabling;
- case 'Enabled':
- return DeviceStateType.kEnabled;
- case 'Prohibited':
- return DeviceStateType.kProhibited;
- case 'Unavailable':
- return DeviceStateType.kUnavailable;
+ case DeviceStateType.kUninitialized:
+ case DeviceStateType.kDisabling:
+ case DeviceStateType.kEnabling:
+ case DeviceStateType.kUnavailable:
+ return true;
+ case DeviceStateType.kDisabled:
+ case DeviceStateType.kEnabled:
+ case DeviceStateType.kProhibited:
+ return false;
}
- assertNotReached('Unexpected value: ' + value);
- return DeviceStateType.kUnavailable;
+ assertNotReached('Unexpected enum value: ' + OncMojo.getEnumString(value));
+ return false;
}
/**
@@ -590,7 +589,6 @@ class OncMojo {
security: mojom.SecurityType.kNone,
signalStrength: 0,
ssid: '',
- isSyncable: false,
};
break;
default:
@@ -729,6 +727,7 @@ class OncMojo {
security: mojom.SecurityType.kNone,
signalStrength: 0,
isSyncable: false,
+ isConfiguredByActiveUser: false,
}
};
break;
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0.svg
index d9729d60cd0..1387407428c 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M10.01 17.99L20 5.46C19.613 5.164 15.765 2 10 2 4.227 2 .387 5.165 0 5.46l9.99 12.53.01.01.01-.01z" fill-opacity=".3"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M9.44247 16.7281C9.72802 17.0905 10.2698 17.0905 10.5554 16.7289L17.8425 7.49646C18.1038 7.16533 18.0317 6.68099 17.6876 6.44135C16.4955 5.61135 13.7328 4 10 4C6.26792 4 3.50455 5.61135 2.31239 6.44135C1.96831 6.68099 1.89621 7.16533 2.15749 7.49646L9.44247 16.7281ZM4.61134 7.37751L9.99932 14.2053L15.3886 7.37739C14.1425 6.71268 12.2788 6 10 6C7.72159 6 5.85753 6.71277 4.61134 7.37751Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0_with_x.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0_with_x.svg
index 299bcfcb7fe..16b158e658e 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0_with_x.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_0_with_x.svg
@@ -1,7 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
- <g fill="none" fill-rule="evenodd">
- <path fill="#000" fill-opacity=".3" fill-rule="nonzero" d="M14.6412814,12 L19.7888889,5.58888889 C19.4111111,5.3 15.6444444,2.22222222 10,2.22222222 C4.35555556,2.22222222 0.588888889,5.3 0.211111111,5.58888889 L9.98888889,17.7666667 L10.0111111,17.7666667 L12,15.289596 L12,12 L14.6412814,12 Z"/>
- <polygon points="0 0 20 0 20 20 0 20"/>
- <polygon fill="#B2B2B2" fill-rule="nonzero" points="18.833 13.588 18.246 13 15.917 15.329 13.588 13 13 13.588 15.329 15.917 13 18.246 13.588 18.833 15.917 16.504 18.246 18.833 18.833 18.246 16.504 15.917"/>
- </g>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M9.44247 16.7281C9.72802 17.0905 10.2698 17.0905 10.5554 16.7289L17.8425 7.49646C18.1038 7.16533 18.0317 6.68099 17.6876 6.44135C16.4955 5.61135 13.7328 4 10 4C6.26792 4 3.50455 5.61135 2.31239 6.44135C1.96831 6.68099 1.89621 7.16533 2.15749 7.49646L9.44247 16.7281ZM4.61134 7.37751L9.99932 14.2053L15.3886 7.37739C14.1425 6.71268 12.2788 6 10 6C7.72159 6 5.85753 6.71277 4.61134 7.37751Z" />
+<path fill-rule="evenodd" clip-rule="evenodd" d="M10.6667 9L12 7.66667L11.3333 7L10 8.33333L8.66667 7L8 7.66667L9.33333 9L8 10.3333L8.66667 11L10 9.66667L11.3333 11L12 10.3333L10.6667 9Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_1.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_1.svg
index 9098185d86b..7e4e49c8ac5 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_1.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_1.svg
@@ -1,4 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M10.01 17.99L20 5.46C19.613 5.164 15.765 2 10 2 4.227 2 .387 5.165 0 5.46l9.99 12.53.01.01.01-.01z" fill-opacity=".3"/>
- <path d="M5.558 12.402L10 17.992V18l.008-.008 4.442-5.59c-.233-.177-1.925-1.57-4.45-1.57-2.525 0-4.217 1.393-4.442 1.57z"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M9.44247 16.7281C9.72802 17.0905 10.2698 17.0905 10.5554 16.7289L17.8425 7.49646C18.1038 7.16533 18.0317 6.68099 17.6876 6.44135C16.4955 5.61135 13.7328 4 10 4C6.26792 4 3.50455 5.61135 2.31239 6.44135C1.96831 6.68099 1.89621 7.16533 2.15749 7.49646L9.44247 16.7281ZM4.61134 7.37751L9.99932 14.2053L15.3886 7.37739C14.1425 6.71268 12.2788 6 10 6C7.72159 6 5.85753 6.71277 4.61134 7.37751Z"/>
+<path d="M13.8332 12.5761C12.7208 12.237 11.4317 12 10 12C8.56817 12 7.27891 12.2372 6.16626 12.5764L9.44247 16.7281C9.72802 17.0905 10.2698 17.0905 10.5554 16.7289L13.8332 12.5761Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_2.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_2.svg
index 0b14317bc7e..ce2f84d3f63 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_2.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_2.svg
@@ -1,4 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M10.01 17.99L20 5.46C19.613 5.164 15.765 2 10 2 4.227 2 .387 5.165 0 5.46l9.99 12.53.01.01.01-.01z" fill-opacity=".3"/>
- <path d="M3.992 10.452l6 7.548H10l.008-.008 6-7.55c-.3-.226-2.59-2.11-6.008-2.11-3.417 0-5.708 1.884-6.008 2.12z"/>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
+ <path fill-rule="evenodd" d="M7.99999976,4.4408921e-15 C11.7328,4.4408921e-15 14.4955,1.61135 15.6876,2.44135 C16.0317,2.68099 16.1038,3.16533 15.8425,3.49646 L15.8425,3.49646 L8.5554,12.7289 C8.2698,13.0905 7.72802,13.0905 7.44247,12.7281 L7.44247,12.7281 L0.15749,3.49646 C-0.10379,3.16533 -0.03169,2.68099 0.31239,2.44135 C1.50455,1.61135 4.26792,4.4408921e-15 7.99999976,4.4408921e-15 Z M7.9986,5 C9.23601,5 10.350948,5.2101302 11.3111193,5.50860386 L11.6254,5.6112 L11.6254,5.6112 C12.314,4.73885 13.3886,3.37739 13.3886,3.37739 C12.1425,2.71268 10.2788,2 8,2 C5.72159,2 3.85753,2.71277 2.61134,3.37751 C2.61134,3.37751 3.36107,4.32758 4.3736,5.61069 C5.40153,5.25916 6.62474,5 7.9986,5 Z" transform="translate(2 4)"/>
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_3.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_3.svg
index 261d2e51b5e..38bfe4f6302 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_3.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_3.svg
@@ -1,4 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M10.01 17.99L20 5.46C19.613 5.164 15.765 2 10 2 4.227 2 .387 5.165 0 5.46l9.99 12.53.01.01.01-.01z" fill-opacity=".3"/>
- <path d="M2.942 9.143l7.05 8.85L10 18l.008-.008 7.05-8.85C16.7 8.867 14.008 6.668 10 6.668s-6.7 2.2-7.058 2.476z"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5554 16.7289C10.2698 17.0905 9.72802 17.0905 9.44247 16.7281L2.15749 7.49646C1.89621 7.16533 1.96831 6.68099 2.31239 6.44135C3.50455 5.61135 6.26792 4 10 4C13.7328 4 16.4955 5.61135 17.6876 6.44135C18.0317 6.68099 18.1038 7.16533 17.8425 7.49646L10.5554 16.7289ZM5.46762 8.4626L4.61134 7.37751C5.85753 6.71277 7.72159 6 10 6C12.2788 6 14.1425 6.71268 15.3886 7.37739L14.5315 8.46329C13.348 7.94707 11.8035 7.5 9.99865 7.5C8.19498 7.5 6.65099 7.94668 5.46762 8.4626Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_4.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_4.svg
index 603eea720fd..c741f5e2b42 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_4.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_4.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M10.01 17.99L20 5.46C19.613 5.164 15.765 2 10 2 4.227 2 .387 5.165 0 5.46l9.99 12.53.01.01.01-.01z"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M17.8425 7.49646C18.1038 7.16533 18.0317 6.68099 17.6876 6.44135C16.4955 5.61135 13.7328 4 10 4C6.26792 4 3.50455 5.61135 2.31239 6.44135C1.96831 6.68099 1.89621 7.16533 2.15749 7.49646L9.44247 16.7281C9.72802 17.0905 10.2698 17.0905 10.5554 16.7289L17.8425 7.49646Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_off.svg b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_off.svg
index 8dfadca8a80..aa572361e47 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_off.svg
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network/wifi_off.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px">
- <path d="M9.7 2.3c-1.25 0-2.408.158-3.458.4l8.608 8.6 4.55-5.667C19.025 5.35 15.292 2.3 9.7 2.3zM2.425 1L1.367 2.067l1.708 1.716C1.292 4.6.192 5.483 0 5.633L10 18l2.958-4.342 2.767 2.767 1.058-1.058-2.883-2.884L2.425 1z"/>
+<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M10 6C7.96011 6 6.14746 6.5389 4.6073 7.37238L9.99933 14.2053L15.3926 7.37228C13.8524 6.53869 12.0402 6 10 6ZM17.8425 7.49646L10.5554 16.7289C10.2698 17.0905 9.72802 17.0905 9.44247 16.7281L2.15749 7.49646C1.89621 7.16533 1.96831 6.68099 2.31239 6.44135C3.50455 5.61135 6.26792 4 10 4C13.7328 4 16.4955 5.61135 17.6876 6.44135C18.0317 6.68099 18.1038 7.16533 17.8425 7.49646Z" />
</svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network_health/BUILD.gn b/chromium/ui/webui/resources/cr_components/chromeos/network_health/BUILD.gn
new file mode 100644
index 00000000000..6c1f0d8f6ce
--- /dev/null
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network_health/BUILD.gn
@@ -0,0 +1,53 @@
+# Copyright 2020 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//third_party/closure_compiler/compile_js.gni")
+import("//tools/polymer/polymer.gni")
+import("//ui/webui/resources/tools/js_modulizer.gni")
+
+assert(is_chromeos, "Only ChromeOS components belong here.")
+
+# JS type check for Polymer 2 and 3
+
+js_type_check("closure_compile") {
+ deps = [ ":network_health_summary" ]
+}
+
+js_type_check("closure_compile_module") {
+ is_polymer3 = true
+ deps = [ ":network_health_summary.m" ]
+}
+
+# Sources with Polymer 3 generated modules
+
+js_library("network_health_summary") {
+ deps = [
+ "//chromeos/services/network_health/public/mojom:mojom_js_library_for_compile",
+ "//ui/webui/resources/cr_components/chromeos/network:onc_mojo",
+ "//ui/webui/resources/js:i18n_behavior",
+ ]
+}
+
+js_library("network_health_summary.m") {
+ sources = [ "$root_gen_dir/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.m.js" ]
+ deps = [
+ "//chromeos/services/network_health/public/mojom:mojom_js_library_for_compile",
+ "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
+ "//ui/webui/resources/cr_components/chromeos/network:onc_mojo",
+ "//ui/webui/resources/js:i18n_behavior.m",
+ ]
+ extra_deps = [ ":network_health_summary_module" ]
+}
+
+# polymer_modulizer for converting Polymer2 to Polymer3
+
+polymer_modulizer("network_health_summary") {
+ js_file = "network_health_summary.js"
+ html_file = "network_health_summary.html"
+ html_type = "dom-module"
+}
+
+group("polymer3_elements") {
+ public_deps = [ ":network_health_summary_module" ]
+}
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.html b/chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.html
new file mode 100644
index 00000000000..7d03f663ac9
--- /dev/null
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.html
@@ -0,0 +1,49 @@
+<link rel="import" href="../../../html/polymer.html">
+
+<link rel="import" href="chrome://resources/mojo/mojo/public/js/mojo_bindings_lite.html">
+<link rel="import" href="chrome://resources/mojo/chromeos/services/network_health/public/mojom/network_health.mojom.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+
+
+<dom-module id="network-health-summary">
+ <template>
+ <style>
+ table {
+ width: 100%;
+ }
+
+ tr,
+ td {
+ border: 1px solid rgb(220, 220, 220);
+ font-size: 13px;
+ padding: 5px;
+ }
+
+ .table-header {
+ font-size: 15px;
+ font-weight: bold;
+ padding-bottom: 15px;
+ }
+ </style>
+ <table>
+ <tr class="table-header">
+ <td>[[i18n('OncName')]]</td>
+ <td>[[i18n('OncType')]]</td>
+ <td>[[i18n('NetworkHealthState')]]</td>
+ <td>[[i18n('OncMacAddress')]]</td>
+ </tr>
+ <hr>
+ <template is="dom-repeat"
+ items="[[networkHealthState_.networks]]" as="network">
+ <tr>
+ <td>[[network.name]]</td>
+ <td>[[getNetworkTypeString_(network.type)]]</td>
+ <td>[[getNetworkStateString_(network.state)]]</td>
+ <td>[[network.macAddress]]</td>
+ </tr>
+ </template>
+ </table>
+ </template>
+ <script src="network_health_summary.js"></script>
+</dom-module>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.js b/chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.js
new file mode 100644
index 00000000000..cc336b99b5f
--- /dev/null
+++ b/chromium/ui/webui/resources/cr_components/chromeos/network_health/network_health_summary.js
@@ -0,0 +1,94 @@
+// Copyright 2020 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview Polymer element for displaying NetworkHealth properties.
+ */
+Polymer({
+ is: 'network-health-summary',
+
+ behaviors: [
+ I18nBehavior,
+ ],
+
+ /**
+ * Network Health State object.
+ * @private
+ * @type {chromeos.networkHealth.mojom.NetworkHealthState}
+ */
+ networkHealthState_: null,
+
+ /**
+ * Network Health mojo remote.
+ * @private
+ * @type {?chromeos.networkHealth.mojom.NetworkHealthServiceRemote}
+ */
+ networkHealth_: null,
+
+ /** @override */
+ created() {
+ this.networkHealth_ =
+ chromeos.networkHealth.mojom.NetworkHealthService.getRemote();
+ },
+
+ /** @override */
+ attached() {
+ this.requestNetworkHealth_();
+
+ // Automatically refresh Network Health every second.
+ window.setInterval(() => {
+ this.requestNetworkHealth_();
+ }, 1000);
+ },
+
+ /**
+ * Requests the NetworkHealthState and updates the page.
+ * @private
+ */
+ requestNetworkHealth_() {
+ this.networkHealth_.getHealthSnapshot().then(result => {
+ this.networkHealthState_ = result.state;
+ });
+ },
+
+ /**
+ * Returns a string for the given NetworkState.
+ * @private
+ * @param {chromeos.networkHealth.mojom.NetworkState} state
+ * @return {string}
+ */
+ getNetworkStateString_(state) {
+ switch (state) {
+ case chromeos.networkHealth.mojom.NetworkState.kUninitialized:
+ return this.i18n('NetworkHealthStateUninitialized');
+ case chromeos.networkHealth.mojom.NetworkState.kDisabled:
+ return this.i18n('NetworkHealthStateDisabled');
+ case chromeos.networkHealth.mojom.NetworkState.kProhibited:
+ return this.i18n('NetworkHealthStateProhibited');
+ case chromeos.networkHealth.mojom.NetworkState.kNotConnected:
+ return this.i18n('NetworkHealthStateNotConnected');
+ case chromeos.networkHealth.mojom.NetworkState.kConnecting:
+ return this.i18n('NetworkHealthStateConnecting');
+ case chromeos.networkHealth.mojom.NetworkState.kPortal:
+ return this.i18n('NetworkHealthStatePortal');
+ case chromeos.networkHealth.mojom.NetworkState.kConnected:
+ return this.i18n('NetworkHealthStateConnected');
+ case chromeos.networkHealth.mojom.NetworkState.kOnline:
+ return this.i18n('NetworkHealthStateOnline');
+ }
+
+ assertNotReached('Unexpected enum value');
+ return '';
+ },
+
+ /**
+ * Returns a string for the given NetworkType.
+ * @private
+ * @param {chromeos.networkConfig.mojom.NetworkType} type
+ * @return {string}
+ */
+ getNetworkTypeString_(type) {
+ return this.i18n('OncType' + OncMojo.getNetworkTypeString(type));
+ },
+});
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/lock_screen_constants.html b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/lock_screen_constants.html
index 83290e9a758..be24319c94a 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/lock_screen_constants.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/lock_screen_constants.html
@@ -1,3 +1,3 @@
-<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="../../../html/cr.html">
<script src="lock_screen_constants.js"></script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard.html b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard.html
index 36d6749581c..1dc6eb3d818 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard.html
@@ -2,14 +2,14 @@
what i18n to use for keypad, ie, does 1 ABC make
sense in every scenario? -->
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../cr_elements/cr_icon_button/cr_icon_button.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/icons.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="pin_keyboard_icon.html">
@@ -119,11 +119,12 @@
font-size: 20px;
}
+ #pinInput::part(input) {
+ font-size: 28px;
+ }
+
#pinInput {
--cr-input-error-display: none;
- --cr-input-input: {
- font-size: 28px;
- };
--cr-input-letter-spacing: var(--pin-keyboard-input-letter-spacing,
18px);
--cr-input-padding-end: 0;
@@ -164,7 +165,7 @@
is-input-rtl$="[[isInputRtl_(value)]]" aria-label="[[ariaLabel]]"
make-contrast$="[[hasInputOrFocus_(value, focused_)]]" invalid="[[hasError]]"
placeholder="[[getInputPlaceholder_(enablePassword,
- enablePlaceholder)]]"
+ enablePlaceholder)]]" inputmode="none"
on-keydown="onInputKeyDown_" force-underline="true"
disabled="[[disabled]]">
</cr-input>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.html b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.html
index 6aaf8c5599c..7dfb928e333 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.html
@@ -1,4 +1,4 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html">
@@ -19,4 +19,4 @@
</g>
</defs>
</svg>
-</iron-iconset-svg> \ No newline at end of file
+</iron-iconset-svg>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/setup_pin_keyboard.html b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/setup_pin_keyboard.html
index 4babf0c6455..2bc0ed34b6d 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/setup_pin_keyboard.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/quick_unlock/setup_pin_keyboard.html
@@ -1,11 +1,11 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_components/chromeos/quick_unlock/lock_screen_constants.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/html/assert.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="lock_screen_constants.html">
+<link rel="import" href="../../../cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="../../../cr_elements/icons.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../html/assert.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
<link rel="import" href="pin_keyboard.html">
<!--
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.html b/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.html
index 4479f4048c2..096fa65af74 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.html
@@ -1,25 +1,35 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="../../../html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_searchable_drop_down/cr_searchable_drop_down.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="chrome://resources/html/load_time_data.html">
-<link rel="import" href="chrome://resources/cr_elements/md_select_css.html">
-<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
+<link rel="import" href="../../../cr_elements/cr_button/cr_button.html">
+<link rel="import" href="../../../cr_elements/cr_checkbox/cr_checkbox.html">
+<link rel="import" href="../../../cr_elements/cr_dialog/cr_dialog.html">
+<link rel="import" href="../../../cr_elements/cr_input/cr_input.html">
+<link rel="import" href="../../../cr_elements/cr_searchable_drop_down/cr_searchable_drop_down.html">
+<link rel="import" href="../../../cr_elements/icons.html">
+<link rel="import" href="../../../cr_elements/shared_style_css.html">
+<link rel="import" href="../../../cr_elements/shared_vars_css.html">
+<link rel="import" href="../../../html/i18n_behavior.html">
+<link rel="import" href="../../../html/load_time_data.html">
+<link rel="import" href="../../../cr_elements/md_select_css.html">
+<link rel="import" href="../../../html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="smb_browser_proxy.html">
<dom-module id="add-smb-share-dialog">
<template>
<style include="cr-shared-style md-select">
+ cr-dialog::part(wrapper) {
+ /* Subtract the internal padding in <cr-dialog>. */
+ padding: calc(24px - 20px);
+ }
+
+ [slot='button-container'] {
+ padding-bottom: 20px;
+ padding-top: 32px;
+ }
+
#dialog [slot=body] {
- height: 440px;
+ height: 390px;
}
.md-select {
@@ -61,7 +71,7 @@
</style>
<cr-dialog id="dialog" exportparts="dialog">
- <div slot="title">[[i18n('addSmbShare')]]</div>
+ <div slot="title" part="title">[[i18n('addSmbShare')]]</div>
<div slot="body" spellcheck="false">
<div id="general-error-container">
<div hidden="[[!shouldShowGeneralError_(currentMountError_)]]">
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.html b/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.html
index 2d494727081..e904e891c61 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.html
+++ b/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.html
@@ -1,2 +1,2 @@
-<link rel="import" href="chrome://resources/html/cr.html">
-<script src="smb_browser_proxy.js"> </script> \ No newline at end of file
+<link rel="import" href="../../../html/cr.html">
+<script src="smb_browser_proxy.js"> </script>
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.js b/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.js
index 90d2f4a7db6..4796b1a19a1 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.js
@@ -7,7 +7,7 @@
* interact with the browser. Used only on Chrome OS.
*/
-// #import {addSingletonGetter, sendWithPromise} from 'chrome://resources/js/cr.m.js';
+// #import {addSingletonGetter, sendWithPromise} from '../../../js/cr.m.js';
/**
* @enum {number}
diff --git a/chromium/ui/webui/resources/cr_components/cr_components_images.grdp b/chromium/ui/webui/resources/cr_components/cr_components_images.grdp
index 7c1186fe555..70d2a577251 100644
--- a/chromium/ui/webui/resources/cr_components/cr_components_images.grdp
+++ b/chromium/ui/webui/resources/cr_components/cr_components_images.grdp
@@ -40,51 +40,43 @@
<!-- NetworkIcon Images -->
<include name="IDR_CR_ELEMENTS_CELLULAR_0_WITH_X_SVG"
file="cr_components/chromeos/network/cellular_0_with_x.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CELLULAR_0_SVG"
file="cr_components/chromeos/network/cellular_0.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CELLULAR_1_SVG"
file="cr_components/chromeos/network/cellular_1.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CELLULAR_2_SVG"
file="cr_components/chromeos/network/cellular_2.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CELLULAR_3_SVG"
file="cr_components/chromeos/network/cellular_3.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CELLULAR_4_SVG"
file="cr_components/chromeos/network/cellular_4.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CELLULAR_OFF_SVG"
file="cr_components/chromeos/network/cellular_off.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_ETHERNET_SVG"
- file="cr_components/chromeos/network/ethernet.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/ethernet.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_VPN_SVG"
- file="cr_components/chromeos/network/vpn.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/vpn.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_0_WITH_X_SVG"
file="cr_components/chromeos/network/wifi_0_with_x.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_0_SVG"
- file="cr_components/chromeos/network/wifi_0.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/wifi_0.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_1_SVG"
- file="cr_components/chromeos/network/wifi_1.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/wifi_1.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_2_SVG"
- file="cr_components/chromeos/network/wifi_2.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/wifi_2.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_3_SVG"
- file="cr_components/chromeos/network/wifi_3.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/wifi_3.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_4_SVG"
- file="cr_components/chromeos/network/wifi_4.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/wifi_4.svg" type="BINDATA" />
<include name="IDR_CR_ELEMENTS_WIFI_OFF_SVG"
- file="cr_components/chromeos/network/wifi_off.svg" type="BINDATA"
- compress="gzip" />
+ file="cr_components/chromeos/network/wifi_off.svg" type="BINDATA" />
</if>
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_components/cr_components_resources.grdp b/chromium/ui/webui/resources/cr_components/cr_components_resources.grdp
index 5b6ac7a9a3e..2e2468044c8 100644
--- a/chromium/ui/webui/resources/cr_components/cr_components_resources.grdp
+++ b/chromium/ui/webui/resources/cr_components/cr_components_resources.grdp
@@ -4,430 +4,333 @@
<!-- Chrome OS Custom Elements. When optimize_webui is true these are -->
<!-- vulcanized and are not included individually. -->
<structure name="IDR_WEBUI_CHROMEOS_BLUETOOTH_DIALOG_HTML"
- file="cr_components/chromeos/bluetooth_dialog.html"
- type="chrome_html"
- compress="gzip" />
+ file="cr_components/chromeos/bluetooth/bluetooth_dialog.html"
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_BLUETOOTH_DIALOG_JS"
- file="cr_components/chromeos/bluetooth_dialog.js"
- type="chrome_html"
- compress="gzip" />
+ file="cr_components/chromeos/bluetooth/bluetooth_dialog.js"
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_APNLIST_HTML"
file="cr_components/chromeos/network/network_apnlist.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_APNLIST_JS"
file="cr_components/chromeos/network/network_apnlist.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CHOOSE_MOBILE_HTML"
file="cr_components/chromeos/network/network_choose_mobile.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CHOOSE_MOBILE_JS"
file="cr_components/chromeos/network/network_choose_mobile.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_HTML"
file="cr_components/chromeos/network/network_config.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_JS"
file="cr_components/chromeos/network/network_config.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_ELEMENT_BEHAVIOR_HTML"
file="cr_components/chromeos/network/network_config_element_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_ELEMENT_BEHAVIOR_JS"
file="cr_components/chromeos/network/network_config_element_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_INPUT_HTML"
file="cr_components/chromeos/network/network_config_input.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_INPUT_JS"
file="cr_components/chromeos/network/network_config_input.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_SELECT_HTML"
file="cr_components/chromeos/network/network_config_select.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_SELECT_JS"
file="cr_components/chromeos/network/network_config_select.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_TOGGLE_HTML"
file="cr_components/chromeos/network/network_config_toggle.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_TOGGLE_JS"
file="cr_components/chromeos/network/network_config_toggle.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_IP_CONFIG_HTML"
file="cr_components/chromeos/network/network_ip_config.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_IP_CONFIG_JS"
file="cr_components/chromeos/network/network_ip_config.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_NAMESERVERS_HTML"
file="cr_components/chromeos/network/network_nameservers.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_NAMESERVERS_JS"
file="cr_components/chromeos/network/network_nameservers.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PASSWORD_INPUT_HTML"
file="cr_components/chromeos/network/network_password_input.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PASSWORD_INPUT_JS"
file="cr_components/chromeos/network/network_password_input.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROPERTY_LIST_MOJO_HTML"
file="cr_components/chromeos/network/network_property_list_mojo.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROPERTY_LIST_MOJO_JS"
file="cr_components/chromeos/network/network_property_list_mojo.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_HTML"
file="cr_components/chromeos/network/network_proxy.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_JS"
file="cr_components/chromeos/network/network_proxy.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_EXCLUSIONS_HTML"
file="cr_components/chromeos/network/network_proxy_exclusions.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_EXCLUSIONS_JS"
file="cr_components/chromeos/network/network_proxy_exclusions.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_INPUT_HTML"
file="cr_components/chromeos/network/network_proxy_input.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_INPUT_JS"
file="cr_components/chromeos/network/network_proxy_input.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_SIMINFO_HTML"
file="cr_components/chromeos/network/network_siminfo.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_SIMINFO_JS"
file="cr_components/chromeos/network/network_siminfo.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_SHARED_CSS_HTML"
file="cr_components/chromeos/network/network_shared_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<if expr="chromeos">
<!-- Shared between settings and OOBE, which is not vulcanized. -->
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_PIN_KEYBOARD_HTML"
file="cr_components/chromeos/quick_unlock/pin_keyboard.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_PIN_KEYBOARD_JS"
file="cr_components/chromeos/quick_unlock/pin_keyboard.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_SETUP_PIN_KEYBOARD_JS"
file="cr_components/chromeos/quick_unlock/setup_pin_keyboard.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_SETUP_PIN_KEYBOARD_HTML"
file="cr_components/chromeos/quick_unlock/setup_pin_keyboard.html"
- type="chrome_html"
- compress="gzip"/>
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_PIN_KEYBOARD_ICON_HTML"
file="cr_components/chromeos/quick_unlock/pin_keyboard_icon.html"
- type="chrome_html"
- compress="gzip"/>
+ type="chrome_html"/>
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_SCREEN_CONSTANTS_JS"
file="cr_components/chromeos/quick_unlock/lock_screen_constants.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_SCREEN_CONSTANTS_HTML"
file="cr_components/chromeos/quick_unlock/lock_screen_constants.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<!-- Shared between cellular setup flow and OOBE. -->
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_SETUP_HTML"
file="cr_components/chromeos/cellular_setup/cellular_setup.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_SETUP_JS"
file="cr_components/chromeos/cellular_setup/cellular_setup.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_MOJO_INTERFACE_PROVIDER_HTML"
file="cr_components/chromeos/cellular_setup/mojo_interface_provider.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_MOJO_INTERFACE_PROVIDER_JS"
file="cr_components/chromeos/cellular_setup/mojo_interface_provider.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BUTTON_BAR_HTML"
file="cr_components/chromeos/cellular_setup/button_bar.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BUTTON_BAR_JS"
file="cr_components/chromeos/cellular_setup/button_bar.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BASE_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/base_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BASE_PAGE_JS"
file="cr_components/chromeos/cellular_setup/base_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SIM_DETECT_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/sim_detect_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SIM_DETECT_PAGE_JS"
file="cr_components/chromeos/cellular_setup/sim_detect_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PROVISIONING_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/provisioning_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PROVISIONING_PAGE_JS"
file="cr_components/chromeos/cellular_setup/provisioning_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_FINAL_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/final_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_FINAL_PAGE_JS"
file="cr_components/chromeos/cellular_setup/final_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_WEBVIEW_POST_UTIL_HTML"
file="cr_components/chromeos/cellular_setup/webview_post_util.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_WEBVIEW_POST_UTIL_JS"
file="cr_components/chromeos/cellular_setup/webview_post_util.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<!-- Shared between MultiDevice setup flow and OOBE. -->
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_BROWSER_PROXY_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_BROWSER_PROXY_JS"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_BUTTON_BAR_HTML"
file="cr_components/chromeos/multidevice_setup/button_bar.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_BUTTON_BAR_JS"
file="cr_components/chromeos/multidevice_setup/button_bar.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_FAKE_MOJO_SERVICE_HTML"
file="cr_components/chromeos/multidevice_setup/fake_mojo_service.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_FAKE_MOJO_SERVICE_JS"
file="cr_components/chromeos/multidevice_setup/fake_mojo_service.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_ICONS_HTML"
file="cr_components/chromeos/multidevice_setup/icons.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MOJO_API_HTML"
file="cr_components/chromeos/multidevice_setup/mojo_api.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MOJO_API_JS"
file="cr_components/chromeos/multidevice_setup/mojo_api.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_JS"
file="cr_components/chromeos/multidevice_setup/multidevice_setup.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_DELEGATE_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_DELEGATE_JS"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_SHARED_CSS_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_PASSWORD_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/password_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_PASSWORD_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/password_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_SETUP_SUCCEEDED_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/setup_succeeded_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_SETUP_SUCCEEDED_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/setup_succeeded_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_START_SETUP_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/start_setup_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_START_SETUP_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/start_setup_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_CONTAINER_BEHAVIOR_HTML"
file="cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_CONTAINER_BEHAVIOR_JS"
file="cr_components/chromeos/multidevice_setup/ui_page_container_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/ui_page.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/ui_page.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<!-- For use in Settings, oobe, configuration dialogs, and debug UI. -->
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_MOJO_INTERFACE_PROVIDER_HTML"
file="cr_components/chromeos/network/mojo_interface_provider.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_MOJO_INTERFACE_PROVIDER_JS"
file="cr_components/chromeos/network/mojo_interface_provider.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
+ <structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_HEALTH_SUMMARY_HTML"
+ file="cr_components/chromeos/network_health/network_health_summary.html"
+ type="chrome_html" />
+ <structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_HEALTH_SUMMARY_JS"
+ file="cr_components/chromeos/network_health/network_health_summary.js"
+ type="chrome_html" />
<!-- Shared between settings and add new share flow. -->
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_SMB_BROWSER_PROXY_HTML"
file="cr_components/chromeos/smb_shares/smb_browser_proxy.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_SMB_BROWSER_PROXY_JS"
file="cr_components/chromeos/smb_shares/smb_browser_proxy.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_ADD_SMB_SHARE_DIALOG_HTML"
file="cr_components/chromeos/smb_shares/add_smb_share_dialog.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_ADD_SMB_SHARE_DIALOG_JS"
file="cr_components/chromeos/smb_shares/add_smb_share_dialog.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<!-- Used to render network-list and related subcomponents. -->
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_ICON_HTML"
file="cr_components/chromeos/network/network_icon.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_ICON_JS"
file="cr_components/chromeos/network/network_icon.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_HTML"
file="cr_components/chromeos/network/network_list.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_JS"
file="cr_components/chromeos/network/network_list.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_ITEM_HTML"
file="cr_components/chromeos/network/network_list_item.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_ITEM_JS"
file="cr_components/chromeos/network/network_list_item.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_TYPES_HTML"
file="cr_components/chromeos/network/network_list_types.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_TYPES_JS"
file="cr_components/chromeos/network/network_list_types.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LISTENER_BEHAVIOR_HTML"
file="cr_components/chromeos/network/network_listener_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LISTENER_BEHAVIOR_JS"
file="cr_components/chromeos/network/network_listener_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_SELECT_HTML"
file="cr_components/chromeos/network/network_select.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_SELECT_JS"
file="cr_components/chromeos/network/network_select.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_ICONS_HTML"
file="cr_components/chromeos/network/network_icons.html"
type="chrome_html"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_ONC_MOJO_HTML"
file="cr_components/chromeos/network/onc_mojo.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_ONC_MOJO_JS"
file="cr_components/chromeos/network/onc_mojo.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_WEBUI_MANAGED_FOOTNOTE_HTML"
file="cr_components/managed_footnote/managed_footnote.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_MANAGED_FOOTNOTE_JS"
file="cr_components/managed_footnote/managed_footnote.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_components/cr_components_resources_v3.grdp b/chromium/ui/webui/resources/cr_components/cr_components_resources_v3.grdp
index b4bdcad48fc..96b5ae7929a 100644
--- a/chromium/ui/webui/resources/cr_components/cr_components_resources_v3.grdp
+++ b/chromium/ui/webui/resources/cr_components/cr_components_resources_v3.grdp
@@ -4,82 +4,71 @@
file="${root_gen_dir}/ui/webui/resources/cr_components/managed_footnote/managed_footnote.m.js"
use_base_dir="false"
type="BINDATA"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<include name="IDR_WEBUI_CR_COMPONENTS_OMNIBOX_CR_AUTOCOMPLETE_MATCH_LIST_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/omnibox/cr_autocomplete_match_list.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<if expr="chromeos">
<include name="IDR_WEBUI_CHROMEOS_SMB_SHARES_ADD_SMB_SHARE_DIALOG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_SMB_SHARES_SMB_BROWSER_PROXY_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
+ <include name="IDR_WEBUI_CHROMEOS_BLUETOOTH_BLUETOOTH_DIALOG_M_JS"
+ file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.m.js"
+ use_base_dir="false"
+ type="BINDATA" />
</if>
<if expr="use_nss_certs">
<include name="IDR_WEBUI_CA_TRUST_EDIT_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_DELETE_CONFIRMATION_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_MANAGER_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js"
use_base_dir="false"
preprocess="true"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_PASSWORD_ENCRYPTION_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_PASSWORD_DECRYPTION_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATES_ERROR_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_ENTRY_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_LIST_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_list.js"
use_base_dir="false"
preprocess="true"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_MANAGER_TYPES_JS"
file="cr_components/certificate_manager/certificate_manager_types.js"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_SHARED_CSS_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_SUBENTRY_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<!-- TODO(https://crbug.com/1071641): When conditional imports are possible
in cr_components, only include the certificate provisioning items for
ChromeOS platforms. -->
@@ -87,28 +76,23 @@
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_provisioning_list.js"
use_base_dir="false"
type="BINDATA"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_ENTRY_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_provisioning_entry.js"
use_base_dir="false"
type="BINDATA"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_DETAILS_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_provisioning_details_dialog.js"
use_base_dir="false"
type="BINDATA"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_BROWSER_PROXY"
file="cr_components/certificate_manager/certificate_provisioning_browser_proxy.js"
type="BINDATA"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATES_BROWSER_PROXY_JS"
file="cr_components/certificate_manager/certificates_browser_proxy.js"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
</if>
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_camera.html b/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_camera.html
index 2dd7bde6266..92c78ed14f0 100644
--- a/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_camera.html
+++ b/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_camera.html
@@ -117,20 +117,16 @@
}
#takePhoto {
- --cr-icon-button-fill-color-focus: #ededed;
--cr-icon-button-fill-color: #ededed;
- --cr-icon-button-stroke-color-focus: var(--google-blue-500);
--cr-icon-button-stroke-color: white;
}
:host([videomode]) #takePhoto {
--cr-icon-button-fill-color: red;
- --cr-icon-button-fill-color-focus: red;
}
#switchMode {
--cr-icon-button-fill-color: white;
- --cr-icon-button-fill-color-focus: var(--google-blue-500);
}
:host-context([dir=rtl]) #switchMode {
diff --git a/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_picture_pane.html b/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_picture_pane.html
index 1c65e1d85d0..67ad649b390 100644
--- a/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_picture_pane.html
+++ b/chromium/ui/webui/resources/cr_elements/chromeos/cr_picture/cr_picture_pane.html
@@ -58,7 +58,6 @@
cr-icon-button {
--cr-icon-button-fill-color: white;
- --cr-icon-button-fill-color-focus: var(--google-blue-500);
--cr-icon-button-icon-size: 24px;
--cr-icon-button-size: 28px;
margin: 0;
diff --git a/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html b/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html
index 294bfd195ab..a5102d531e2 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html
@@ -64,7 +64,7 @@
padding: 8px 0;
}
</style>
- <dialog id="dialog" on-close="onNativeDialogClose_"
+ <dialog id="dialog" part="dialog" on-close="onNativeDialogClose_"
role="application" aria-roledescription$="[[roleDescription]]">
<div id="wrapper" class="item-wrapper" role="menu" tabindex="-1">
<slot id="contentNode"></slot>
diff --git a/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js b/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js
index 59196c2d8bc..9642a43cd52 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js
@@ -14,6 +14,7 @@
* minY: (number|undefined),
* maxX: (number|undefined),
* maxY: (number|undefined),
+ * noOffset: (boolean|undefined),
* }}
*/
let ShowAtConfig;
@@ -32,7 +33,7 @@ let ShowAtConfig;
* maxY: (number|undefined),
* }}
*/
-let ShowAtPositionConfig;
+/* #export */ let ShowAtPositionConfig;
/**
* @enum {number}
@@ -344,7 +345,7 @@ Polymer({
const rect = this.anchorElement_.getBoundingClientRect();
let height = rect.height;
- if (opt_config &&
+ if (opt_config && !opt_config.noOffset &&
opt_config.anchorAlignmentY === AnchorAlignment.AFTER_END) {
// When an action menu is positioned after the end of an element, the
// action menu can appear too far away from the anchor element, typically
diff --git a/chromium/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html b/chromium/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html
index 0e6b7a8614b..85f42e253a5 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html
@@ -23,11 +23,6 @@
padding: 0;
top: 50%;
width: 512px;
-
- /* Avoid using the mixin. Use ::part(dialog) instead.
- * Necessary for backward compatibility with Polymer1/SDv0 (only used by
- * OOBE). TODO(crbug.com/955194): Remove this once fixed.*/
- @apply --cr-dialog-native;
}
@media (prefers-color-scheme: dark) {
diff --git a/chromium/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.js b/chromium/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.js
index f42f43e4c98..07a78baa633 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.js
@@ -103,12 +103,15 @@ Polymer({
// Also put these values as member values so they can be overridden by tests
// and the tests do not need to be changed every time the UI is.
- /** @private {number} */
- canvasCircleStrokeWidth_: CANVAS_CIRCLE_STROKE_WIDTH,
- /** @private {string} */
- canvasCircleBackgroundColor_: CANVAS_CIRCLE_BACKGROUND_COLOR,
- /** @private {string} */
- canvasCircleProgressColor_: CANVAS_CIRCLE_PROGRESS_COLOR,
+
+ /** @type {number} */
+ canvasCircleStrokeWidth: CANVAS_CIRCLE_STROKE_WIDTH,
+
+ /** @type {string} */
+ canvasCircleBackgroundColor: CANVAS_CIRCLE_BACKGROUND_COLOR,
+
+ /** @type {string} */
+ canvasCircleProgressColor: CANVAS_CIRCLE_PROGRESS_COLOR,
/**
* Animation ID for fingerprint scan progress bar.
@@ -145,7 +148,7 @@ Polymer({
ctx.beginPath();
ctx.arc(c.width / 2, c.height / 2, this.circleRadius, startAngle, endAngle);
- ctx.lineWidth = this.canvasCircleStrokeWidth_;
+ ctx.lineWidth = this.canvasCircleStrokeWidth;
ctx.strokeStyle = color;
ctx.stroke();
},
@@ -155,7 +158,7 @@ Polymer({
* |circleRadius| and color |CANVAS_CIRCLE_BACKGROUND_COLOR|.
*/
drawBackgroundCircle() {
- this.drawArc(0, 2 * Math.PI, this.canvasCircleBackgroundColor_);
+ this.drawArc(0, 2 * Math.PI, this.canvasCircleBackgroundColor);
},
/**
@@ -203,11 +206,10 @@ Polymer({
// |start| + |currentAngle| to 7 * Math.PI / 2 (start is 3 * Math.PI /
// 2) otherwise the regular draw from |start| to |currentAngle| will
// draw nothing which will cause a flicker for one frame.
- this.drawArc(
- start, start + currentAngle, this.canvasCircleProgressColor_);
+ this.drawArc(start, start + currentAngle, this.canvasCircleProgressColor);
this.drawArc(
start + currentAngle, currentAngle <= 0 ? 7 * Math.PI / 2 : start,
- this.canvasCircleBackgroundColor_);
+ this.canvasCircleBackgroundColor);
currentAngle += step;
};
diff --git a/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.html b/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.html
index c4b47e81f62..b83538bc391 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.html
@@ -9,7 +9,6 @@
<style>
:host {
--cr-icon-button-fill-color: var(--google-grey-refresh-700);
- --cr-icon-button-fill-color-focus: white;
--cr-icon-button-icon-start-offset: 0;
--cr-icon-button-icon-size: 20px;
--cr-icon-button-size: 36px;
@@ -61,10 +60,6 @@
z-index: 1;
}
- :host-context([a11y-enhanced]):host([ripple-showing_]) #maskedImage {
- background-color: var(--cr-icon-button-fill-color-focus);
- }
-
#icon {
align-items: center;
border-radius: 4px;
@@ -87,12 +82,6 @@
z-index: 1;
}
- :host-context([a11y-enhanced]):host([ripple-showing_]) iron-icon {
- --iron-icon-fill-color: var(--cr-icon-button-fill-color-focus);
- --iron-icon-stroke-color: var(--cr-icon-button-stroke-color-focus,
- none);
- }
-
paper-ripple {
/* GG900 .15 is about GG700 .21 */
--paper-ripple-opacity: var(--cr-icon-button-ripple-opacity, .21);
@@ -102,23 +91,12 @@
@media (prefers-color-scheme: dark) {
:host {
--cr-icon-button-fill-color: var(--google-grey-refresh-500);
- --cr-icon-button-fill-color-focus: var(--google-grey-900);
}
paper-ripple {
--paper-ripple-opacity: var(--cr-icon-button-ripple-opacity, .4);
}
}
-
- :host-context([a11y-enhanced]) paper-ripple {
- --paper-ripple-opacity: 1;
- opacity: 0;
- transition: opacity var(--cr-icon-button-transition);
- }
-
- :host-context([a11y-enhanced]):host([ripple-showing_]) paper-ripple {
- opacity: 1;
- }
</style>
<div id="icon">
<div id="maskedImage"></div>
diff --git a/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.js b/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.js
index 6913401d984..cec74dafb88 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.js
@@ -32,16 +32,11 @@
* The color of the icon can be overridden using CSS variables. When using
* iron-icon both the fill and stroke can be overridden the variables:
* --cr-icon-button-fill-color
- * --cr-icon-button-fill-color-focus
* --cr-icon-button-stroke-color
- * --cr-icon-button-stroke-color-focus
*
* When not using iron-icon (ie. specifying --cr-icon-image), the icons support
* one color and the 'stroke' variables are ignored.
*
- * The '-focus' variables are used for opaque ripple support. This is enabled
- * when the 'a11y-enhanced' attribute on <html> is present.
- *
* When using iron-icon's, more than one icon can be specified by setting
* the |ironIcon| property to a comma-delimited list of keys.
*/
@@ -178,9 +173,13 @@ Polymer({
}
const icons = (this.ironIcon || '').split(',');
icons.forEach(icon => {
- const element = document.createElement('iron-icon');
- element.icon = icon;
- this.$.icon.appendChild(element);
+ const ironIcon = document.createElement('iron-icon');
+ ironIcon.icon = icon;
+ this.$.icon.appendChild(ironIcon);
+ if (ironIcon.shadowRoot) {
+ ironIcon.shadowRoot.querySelectorAll('svg', 'img')
+ .forEach(child => child.setAttribute('role', 'none'));
+ }
});
if (!this.hasRipple()) {
return;
diff --git a/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.html b/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.html
index 1760750a283..58ec0a3faff 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.html
@@ -13,21 +13,24 @@
<style include="cr-hidden-style cr-input-style cr-shared-style">
/*
A 'suffix' element will be outside the underlined space, while a
- 'prefix' element will be inside the underlined space by default.
+ 'inline-prefix' and 'inline-suffix' elements will be inside the
+ underlined space by default.
Regarding cr-input's width:
- When there's no element in the 'prefix' or 'suffix' slot, setting
- the width of cr-input as follows will work as expected:
+ When there's no element in the 'inline-prefix', 'inline-suffix' or
+ 'suffix' slot, setting the width of cr-input as follows will work as
+ expected:
cr-input {
width: 200px;
}
- However, when there's an element in the 'suffix' and/or 'prefix'
- slot, setting the 'width' will dictate the total width of the input
- field *plus* the 'prefix' and 'suffix' elements. To set the width
- of the input field + 'prefix' when a 'suffix' is present, use
- --cr-input-width.
+ However, when there's an element in the 'suffix', 'inline-suffix' and/or
+ 'inline-prefix' slot, setting the 'width' will dictate the total width
+ of the input field *plus* the 'inline-prefix', 'inline-suffix' and
+ 'suffix' elements. To set the width of the input field +
+ 'inline-prefix' + 'inline-suffix' when a 'suffix' is present,
+ use --cr-input-width.
cr-input {
--cr-input-width: 200px;
@@ -122,7 +125,7 @@
<div id="row-container" part="row-container">
<div id="input-container">
<div id="inner-input-container">
- <slot name="prefix"></slot>
+ <slot name="inline-prefix"></slot>
<!-- Only attributes that are named inconsistently between html and js
need to use attr$="", such as |tabindex| vs .tabIndex and
|readonly| vs .readOnly. -->
@@ -130,12 +133,13 @@
value="{{value::input}}" tabindex$="[[tabindex]]" type="[[type]]"
readonly$="[[readonly]]" maxlength$="[[maxlength]]"
pattern$="[[pattern]]" required="[[required]]"
- minlength$="[[minlength]]"
+ minlength$="[[minlength]]" inputmode$="[[inputmode]]"
aria-label$="[[getAriaLabel_(ariaLabel, label, placeholder)]]"
aria-invalid$="[[getAriaInvalid_(invalid)]]"
max="[[max]]" min="[[min]]" on-focus="onInputFocus_"
on-blur="onInputBlur_" on-change="onInputChange_"
on-keydown="onInputKeydown_" part="input">
+ <slot name="inline-suffix"></slot>
</div>
<div id="underline"></div>
</div>
diff --git a/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.js b/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.js
index 2454f4ce8b6..bbc9ae2a104 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_input/cr_input.js
@@ -122,11 +122,14 @@ Polymer({
reflectToAttribute: true,
},
+ inputmode: String,
+
label: {
type: String,
value: '',
},
+ /** @type {?string} */
placeholder: {
type: String,
value: null,
diff --git a/chromium/ui/webui/resources/cr_elements/cr_input/cr_input_style_css.html b/chromium/ui/webui/resources/cr_elements/cr_input/cr_input_style_css.html
index f357cb0ff6b..52770714325 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_input/cr_input_style_css.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_input/cr_input_style_css.html
@@ -75,11 +75,6 @@
text-align: inherit;
text-overflow: ellipsis;
width: 100%;
-
- /* Avoid using the mixin. Use ::part(input) instead.
- * Necessary for backward compatibility with Polymer1/SDv0 (only used by
- * OOBE). TODO(crbug.com/955194): Remove this once fixed.*/
- @apply --cr-input-input;
}
/* Underline styling below. */
@@ -100,7 +95,7 @@
:host([force-underline]) #underline,
:host([focused_]:not([readonly])) #underline {
opacity: 1;
- transition: width 180ms ease-out, opacity 120ms ease-in;
+ transition: opacity 120ms ease-in, width 180ms ease-out;
width: 100%;
}
</style>
diff --git a/chromium/ui/webui/resources/cr_elements/cr_toast/BUILD.gn b/chromium/ui/webui/resources/cr_elements/cr_toast/BUILD.gn
index f55dd970313..a06ff0e25c7 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_toast/BUILD.gn
+++ b/chromium/ui/webui/resources/cr_elements/cr_toast/BUILD.gn
@@ -13,12 +13,12 @@ js_type_check("closure_compile") {
}
js_library("cr_toast") {
+ deps = [ "//third_party/polymer/v1_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer-extracted" ]
}
js_library("cr_toast_manager") {
deps = [
":cr_toast",
- "//third_party/polymer/v1_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer-extracted",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:cr",
]
@@ -42,10 +42,7 @@ polymer_modulizer("cr_toast_manager") {
html_file = "cr_toast_manager.html"
html_type = "dom-module"
auto_imports = [ "ui/webui/resources/html/assert.html|assert" ]
- namespace_rewrites = [
- "cr.toastManager.CrToastManagerElement|CrToastManagerElement",
- "cr.toastManager.getToastManager|getToastManager",
- ]
+ namespace_rewrites = [ "cr.toastManager.getToastManager|getToastManager" ]
}
js_type_check("closure_compile_module") {
@@ -60,6 +57,7 @@ js_library("cr_toast.m") {
sources =
[ "$root_gen_dir/ui/webui/resources/cr_elements/cr_toast/cr_toast.m.js" ]
deps = [
+ "//third_party/polymer/v3_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer",
"//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
]
extra_deps = [ ":cr_toast_module" ]
diff --git a/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast.js b/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast.js
index 39ce6cc03d4..7cb95803a7f 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast.js
@@ -49,6 +49,7 @@ Polymer({
/**
* Announce a11y message
* @param {string} text
+ * @private
*/
announceA11yMessage_(text) {
Polymer.IronA11yAnnouncer.requestAvailability();
diff --git a/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast_manager.js b/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast_manager.js
index 50fc1af7e1e..97995da2db4 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast_manager.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_toast/cr_toast_manager.js
@@ -4,16 +4,16 @@
cr.define('cr.toastManager', () => {
/* eslint-disable */
- /** @private {?cr.toastManager.CrToastManagerElement} */
+ /** @private {?CrToastManagerElement} */
let toastManagerInstance = null;
/* eslint-enable */
- /** @return {!cr.toastManager.CrToastManagerElement} */
+ /** @return {!CrToastManagerElement} */
/* #export */ function getToastManager() {
return assert(toastManagerInstance);
}
- /** @param {?cr.toastManager.CrToastManagerElement} instance */
+ /** @param {?CrToastManagerElement} instance */
function setInstance(instance) {
assert(!instance || !toastManagerInstance);
toastManagerInstance = instance;
@@ -23,7 +23,7 @@ cr.define('cr.toastManager', () => {
* @fileoverview Element which shows toasts with optional undo button.
*/
// eslint-disable-next-line
- /* #export */ let CrToastManagerElement = Polymer({
+ Polymer({
is: 'cr-toast-manager',
properties: {
@@ -94,7 +94,6 @@ cr.define('cr.toastManager', () => {
// #cr_define_end
return {
- CrToastManagerElement: CrToastManagerElement,
getToastManager: getToastManager,
};
});
diff --git a/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html b/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
index 13520fa767d..82e0d5f1481 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
@@ -58,7 +58,6 @@
}
cr-icon-button {
- --cr-icon-button-fill-color-focus: var(--cr-toolbar-background-color);
--cr-icon-button-size: 32px;
min-width: 32px;
}
@@ -180,7 +179,8 @@
<cr-toolbar-search-field id="search" narrow="[[narrow]]"
label="[[searchPrompt]]" clear-label="[[clearLabel]]"
spinner-active="[[spinnerActive]]"
- showing-search="{{showingSearch_}}">
+ showing-search="{{showingSearch_}}"
+ autofocus>
</cr-toolbar-search-field>
<iron-media-query query="(max-width: [[narrowThreshold]]px)"
query-matches="{{narrow}}">
diff --git a/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index 5fdf2813701..2854d6a9d85 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -25,9 +25,6 @@
}
cr-icon-button {
- --cr-icon-button-fill-color-focus: var(
- --cr-toolbar-search-field-input-bg-color,
- var(--cr-toolbar-background-color));
--cr-icon-button-size: var(--cr-toolbar-icon-container-size, 32px);
margin: var(--cr-toolbar-icon-margin, 6px);
}
@@ -94,7 +91,7 @@
label {
bottom: 0;
- cursor: text;
+ cursor: var(--cr-toolbar-search-field-cursor, text);
left: 0;
overflow: hidden;
position: absolute;
@@ -112,6 +109,7 @@
background: transparent;
border: none;
color: var(--cr-toolbar-search-field-input-text-color, white);
+ cursor: var(--cr-toolbar-search-field-cursor, text);
font: inherit;
outline: none;
padding: 0;
@@ -135,7 +133,7 @@
var(--cr-toolbar-search-field-background, rgba(0, 0, 0, 0.22));
border-radius:
var(--cr-toolbar-search-field-border-radius, 2px);
- cursor: text;
+ cursor: var(--cr-toolbar-search-field-cursor, text);
padding-inline-end: 0;
width: var(--cr-toolbar-field-width, 680px);
}
@@ -145,11 +143,13 @@
}
:host(:not([narrow])) #prompt {
- margin-inline-start:
- var(--cr-toolbar-search-field-prompt-margin-inline-start);
opacity: var(--cr-toolbar-search-field-prompt-opacity);
}
+ :host([narrow]) #prompt {
+ opacity: var(--cr-toolbar-search-field-narrow-mode-prompt-opacity, 0);
+ }
+
:host([narrow]:not([showing-search])) #searchTerm {
display: none;
}
@@ -165,7 +165,9 @@
:host([narrow][showing-search]) #icon,
:host([narrow][showing-search]) paper-spinner-lite {
- margin-inline-start: 18px; /* Line up with Menu icon. */
+ /* 18px to line up with the Menu icon by default. */
+ margin-inline-start:
+ var(--cr-toolbar-search-icon-margin-inline-start, 18px);
}
</style>
<template is="dom-if" id="spinnerTemplate">
@@ -174,19 +176,21 @@
</template>
<cr-icon-button id="icon" iron-icon="cr:search" title="[[label]]" dir="ltr"
tabindex$="[[computeIconTabIndex_(narrow, hasSearchText)]]"
- aria-hidden$="[[computeIconAriaHidden_(narrow, hasSearchText)]]">
+ aria-hidden$="[[computeIconAriaHidden_(narrow, hasSearchText)]]"
+ on-click="onSearchIconClicked_">
</cr-icon-button>
<div id="searchTerm">
<label id="prompt" for="searchInput" aria-hidden="true">[[label]]</label>
<input id="searchInput"
aria-labelledby="prompt"
+ autocomplete="off"
type="search"
on-input="onSearchTermInput"
on-search="onSearchTermSearch"
on-keydown="onSearchTermKeydown_"
on-focus="onInputFocus_"
on-blur="onInputBlur_"
- autofocus
+ autofocus$="[[autofocus]]"
spellcheck="false">
</div>
<template is="dom-if" if="[[hasSearchText]]">
diff --git a/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js b/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js
index b37b2622153..c2453c80afb 100644
--- a/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js
+++ b/chromium/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js
@@ -21,6 +21,12 @@ Polymer({
reflectToAttribute: true
},
+ autofocus: {
+ type: Boolean,
+ value: false,
+ reflectToAttribute: true,
+ },
+
// Prompt text to display in the search field.
label: String,
@@ -67,6 +73,11 @@ Polymer({
},
/** @private */
+ onSearchIconClicked_() {
+ this.fire('search-icon-clicked');
+ },
+
+ /** @private */
focus_() {
this.getSearchInput().focus();
},
diff --git a/chromium/ui/webui/resources/cr_elements/policy/cr_policy_network_behavior_mojo.js b/chromium/ui/webui/resources/cr_elements/policy/cr_policy_network_behavior_mojo.js
index ce089b37fd3..10d48330d00 100644
--- a/chromium/ui/webui/resources/cr_elements/policy/cr_policy_network_behavior_mojo.js
+++ b/chromium/ui/webui/resources/cr_elements/policy/cr_policy_network_behavior_mojo.js
@@ -102,7 +102,7 @@ const CrPolicyNetworkBehaviorMojo = {
/**
* @param {!chromeos.networkConfig.mojom.OncSource} source
* @return {!CrPolicyIndicatorType}
- * @private
+ * @protected
*/
getIndicatorTypeForSource(source) {
if (source === chromeos.networkConfig.mojom.OncSource.kDevicePolicy) {
diff --git a/chromium/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js b/chromium/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
index d2e6c0256c4..d3d9db47bc5 100644
--- a/chromium/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
+++ b/chromium/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js
@@ -22,7 +22,7 @@ Polymer({
indicatorType: {
type: String,
value: CrPolicyIndicatorType.NONE,
- computed: 'getIndicatorTypeForPref_(pref.controlledBy, pref.enforcement)',
+ computed: 'getIndicatorTypeForPref_(pref.*, associatedValue)',
},
/** @private */
@@ -37,19 +37,40 @@ Polymer({
* @type {!chrome.settingsPrivate.PrefObject|undefined}
*/
pref: Object,
+
+ /**
+ * Optional value for the preference value this indicator is associated
+ * with. If this is set, no indicator will be shown if it is a member
+ * of |pref.userSelectableValues| and is not |pref.recommendedValue|.
+ * @type {*}
+ */
+ associatedValue: Object,
},
/**
- * @param {!chrome.settingsPrivate.ControlledBy|undefined} controlledBy
- * @param {!chrome.settingsPrivate.Enforcement|undefined} enforcement
- * @return {CrPolicyIndicatorType} The indicator type based on |controlledBy|
- * and |enforcement|.
+ * @return {CrPolicyIndicatorType} The indicator type based on |pref| and
+ * |associatedValue|.
*/
- getIndicatorTypeForPref_(controlledBy, enforcement) {
+ getIndicatorTypeForPref_() {
+ const {enforcement, userSelectableValues, controlledBy, recommendedValue} =
+ this.pref;
if (enforcement === chrome.settingsPrivate.Enforcement.RECOMMENDED) {
+ if (this.associatedValue !== undefined &&
+ this.associatedValue !== recommendedValue) {
+ return CrPolicyIndicatorType.NONE;
+ }
return CrPolicyIndicatorType.RECOMMENDED;
}
if (enforcement === chrome.settingsPrivate.Enforcement.ENFORCED) {
+ // An enforced preference may also have some values still available for
+ // the user to select from.
+ if (userSelectableValues !== undefined) {
+ if (recommendedValue && this.associatedValue === recommendedValue) {
+ return CrPolicyIndicatorType.RECOMMENDED;
+ } else if (userSelectableValues.includes(this.associatedValue)) {
+ return CrPolicyIndicatorType.NONE;
+ }
+ }
switch (controlledBy) {
case chrome.settingsPrivate.ControlledBy.EXTENSION:
return CrPolicyIndicatorType.EXTENSION;
@@ -74,18 +95,17 @@ Polymer({
},
/**
- * @param {CrPolicyIndicatorType} indicatorType
* @return {string} The tooltip text for |indicatorType|.
* @private
*/
- getIndicatorTooltipForPref_(indicatorType) {
+ getIndicatorTooltipForPref_() {
if (!this.pref) {
return '';
}
const matches = this.pref && this.pref.value === this.pref.recommendedValue;
return this.getIndicatorTooltip(
- indicatorType, this.pref.controlledByName || '', matches);
+ this.indicatorType, this.pref.controlledByName || '', matches);
},
/** @return {!Element} */
diff --git a/chromium/ui/webui/resources/cr_elements/shared_vars_css.html b/chromium/ui/webui/resources/cr_elements/shared_vars_css.html
index baf7015a329..4f4c0b03cbd 100644
--- a/chromium/ui/webui/resources/cr_elements/shared_vars_css.html
+++ b/chromium/ui/webui/resources/cr_elements/shared_vars_css.html
@@ -67,8 +67,18 @@
--cr-card-background-color: white;
--cr-card-shadow-color-rgb: var(--google-grey-800-rgb);
- --cr-card-shadow: rgba(var(--cr-card-shadow-color-rgb), .3) 0 1px 2px 0,
+ --cr-elevation-1: rgba(var(--cr-card-shadow-color-rgb), .3) 0 1px 2px 0,
rgba(var(--cr-card-shadow-color-rgb), .15) 0 1px 3px 1px;
+ --cr-elevation-2: rgba(var(--cr-card-shadow-color-rgb), .3) 0 1px 2px 0,
+ rgba(var(--cr-card-shadow-color-rgb), .15) 0 2px 6px 2px;
+ --cr-elevation-3: rgba(var(--cr-card-shadow-color-rgb), .3) 0 1px 3px 0,
+ rgba(var(--cr-card-shadow-color-rgb), .15) 0 4px 8px 3px;
+ --cr-elevation-4: rgba(var(--cr-card-shadow-color-rgb), .3) 0 2px 3px 0,
+ rgba(var(--cr-card-shadow-color-rgb), .15) 0 6px 10px 4px;
+ --cr-elevation-5: rgba(var(--cr-card-shadow-color-rgb), .3) 0 4px 4px 0,
+ rgba(var(--cr-card-shadow-color-rgb), .15) 0 8px 12px 6px;
+
+ --cr-card-shadow: var(--cr-elevation-1);
--cr-checked-color: var(--google-blue-600);
--cr-focused-item-color: var(--google-grey-300);
diff --git a/chromium/ui/webui/resources/cr_elements_images.grdp b/chromium/ui/webui/resources/cr_elements_images.grdp
index 80853878b83..f7c1c795c1d 100644
--- a/chromium/ui/webui/resources/cr_elements_images.grdp
+++ b/chromium/ui/webui/resources/cr_elements_images.grdp
@@ -6,51 +6,47 @@
<include name="IDR_WEBUI_IMAGES_200_LOGO_GOOGLE_G"
file="images/200-logo_googleg.png" type="BINDATA" compress="gzip" />
<include name="IDR_WEBUI_IMAGES_ARROW_DOWN"
- file="images/arrow_down.svg" type="BINDATA" compress="gzip" />
+ file="images/arrow_down.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ARROW_RIGHT"
- file="images/arrow_right.svg" type="BINDATA" compress="gzip" />
+ file="images/arrow_right.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_BUSINESS" file="images/business.svg"
- type="BINDATA" compress="gzip" />
+ type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_DARK_ARROW_DOWN"
- file="images/dark/arrow_down.svg" type="BINDATA" compress="gzip" />
+ file="images/dark/arrow_down.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_DARK_ICON_SEARCH"
- file="images/dark/icon_search.svg" type="BINDATA" compress="gzip" />
+ file="images/dark/icon_search.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_ARROW_BACK"
- file="images/icon_arrow_back.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_arrow_back.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_ARROW_DROPDOWN"
- file="images/icon_arrow_dropdown.svg" type="BINDATA"
- compress="gzip" />
+ file="images/icon_arrow_dropdown.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_CANCEL"
- file="images/icon_cancel.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_cancel.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_CLEAR"
- file="images/icon_clear.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_clear.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_DELETE_GRAY"
- file="images/icon_delete_gray.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_delete_gray.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_EXPAND_LESS"
- file="images/icon_expand_less.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_expand_less.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_EXPAND_MORE"
- file="images/icon_expand_more.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_expand_more.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_EXTERNAL"
- file="images/open_in_new.svg" type="BINDATA" compress="gzip" />
+ file="images/open_in_new.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_MORE_VERT"
- file="images/icon_more_vert.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_more_vert.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_PICTURE_DELETE"
- file="images/icon_picture_delete.svg" type="BINDATA"
- compress="gzip" />
+ file="images/icon_picture_delete.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_REFRESH"
- file="images/icon_refresh.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_refresh.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_SEARCH"
- file="images/icon_search.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_search.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_SETTINGS"
- file="images/icon_settings.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_settings.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_VISIBILITY"
- file="images/icon_visibility.svg" type="BINDATA" compress="gzip" />
+ file="images/icon_visibility.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_VISIBILITY_OFF"
- file="images/icon_visibility_off.svg" type="BINDATA"
- compress="gzip" />
+ file="images/icon_visibility_off.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ICON_COPY_CONTENT"
- file="images/icon_copy_content.svg" type="BINDATA"
- compress="gzip" />
+ file="images/icon_copy_content.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_OPEN_IN_NEW"
- file="images/open_in_new.svg" type="BINDATA" compress="gzip" />
+ file="images/open_in_new.svg" type="BINDATA" />
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_elements_resources.grdp b/chromium/ui/webui/resources/cr_elements_resources.grdp
index 8412a9dd4ba..60a58298ff0 100644
--- a/chromium/ui/webui/resources/cr_elements_resources.grdp
+++ b/chromium/ui/webui/resources/cr_elements_resources.grdp
@@ -3,170 +3,129 @@
<!-- Polymer 1.0 Elements -->
<structure name="IDR_CR_ELEMENTS_ACTION_LINK_CSS_HTML"
file="cr_elements/action_link_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_ACTION_MENU_HTML"
file="cr_elements/cr_action_menu/cr_action_menu.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_ACTION_MENU_JS"
file="cr_elements/cr_action_menu/cr_action_menu.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_BUTTON_HTML"
file="cr_elements/cr_button/cr_button.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_BUTTON_JS"
file="cr_elements/cr_button/cr_button.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_CHECKBOX_HTML"
file="cr_elements/cr_checkbox/cr_checkbox.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_CHECKBOX_JS"
file="cr_elements/cr_checkbox/cr_checkbox.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_CONTAINER_SHADOW_BEHAVIOR_HTML"
file="cr_elements/cr_container_shadow_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_CONTAINER_SHADOW_BEHAVIOR_JS"
file="cr_elements/cr_container_shadow_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_FINGERPRINT_ICON_HTML"
file="cr_elements/cr_fingerprint/cr_fingerprint_icon.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_FINGERPRINT_PROGRESS_ARC_HTML"
file="cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_FINGERPRINT_PROGRESS_ARC_JS"
file="cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_INPUT_HTML"
file="cr_elements/cr_input/cr_input.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_INPUT_JS"
file="cr_elements/cr_input/cr_input.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_INPUT_STYLE_CSS_HTML"
file="cr_elements/cr_input/cr_input_style_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SCROLLABLE_BEHAVIOR_HTML"
file="cr_elements/cr_scrollable_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SCROLLABLE_BEHAVIOR_JS"
file="cr_elements/cr_scrollable_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_DIALOG_HTML"
file="cr_elements/cr_dialog/cr_dialog.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_DIALOG_JS"
file="cr_elements/cr_dialog/cr_dialog.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_DRAWER_HTML"
file="cr_elements/cr_drawer/cr_drawer.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_DRAWER_JS"
file="cr_elements/cr_drawer/cr_drawer.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_EXPAND_BUTTON_HTML"
file="cr_elements/cr_expand_button/cr_expand_button.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_EXPAND_BUTTON_JS"
file="cr_elements/cr_expand_button/cr_expand_button.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_ICON_BUTTON_HTML"
file="cr_elements/cr_icon_button/cr_icon_button.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_ICON_BUTTON_JS"
file="cr_elements/cr_icon_button/cr_icon_button.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_ICONS_HTML"
file="cr_elements/icons.html"
type="chrome_html"
- preprocess="true"
- compress="gzip" />
+ preprocess="true" />
<structure name="IDR_CR_ELEMENTS_CR_LAZY_RENDER_HTML"
file="cr_elements/cr_lazy_render/cr_lazy_render.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_LAZY_RENDER_JS"
file="cr_elements/cr_lazy_render/cr_lazy_render.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_LINK_ROW_HTML"
file="cr_elements/cr_link_row/cr_link_row.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_LINK_ROW_JS"
file="cr_elements/cr_link_row/cr_link_row.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_HTML"
file="cr_elements/cr_radio_button/cr_radio_button.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_JS"
file="cr_elements/cr_radio_button/cr_radio_button.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_BEHAVIOR_HTML"
file="cr_elements/cr_radio_button/cr_radio_button_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_BEHAVIOR_JS"
file="cr_elements/cr_radio_button/cr_radio_button_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_STYLE_CSS_HTML"
file="cr_elements/cr_radio_button/cr_radio_button_style_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_GROUP_HTML"
file="cr_elements/cr_radio_group/cr_radio_group.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_RADIO_GROUP_JS"
file="cr_elements/cr_radio_group/cr_radio_group.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SLIDER_HTML"
file="cr_elements/cr_slider/cr_slider.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SLIDER_JS"
file="cr_elements/cr_slider/cr_slider.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_CR_ELEMENTS_CR_SEARCHABLE_DROP_DOWN_HTML"
file="cr_elements/cr_searchable_drop_down/cr_searchable_drop_down.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SEARCHABLE_DROP_DOWN_JS"
file="cr_elements/cr_searchable_drop_down/cr_searchable_drop_down.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_CR_ELEMENTS_CR_VIEW_MANAGER_HTML"
file="cr_elements/cr_view_manager/cr_view_manager.html"
@@ -177,234 +136,177 @@
<if expr="chromeos">
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CROS_COLOR_OVERRIDES_HTML"
file="cr_elements/chromeos/cros_color_overrides.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_CAMERA_HTML"
file="cr_elements/chromeos/cr_picture/cr_camera.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR__CAMERA_JS"
file="cr_elements/chromeos/cr_picture/cr_camera.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PICTURE_LIST_HTML"
file="cr_elements/chromeos/cr_picture/cr_picture_list.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR__PICTURE_LIST_JS"
file="cr_elements/chromeos/cr_picture/cr_picture_list.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PICTURE_PANE_HTML"
file="cr_elements/chromeos/cr_picture/cr_picture_pane.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PICTURE_PANE_JS"
file="cr_elements/chromeos/cr_picture/cr_picture_pane.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PICTURE_TYPES_HTML"
file="cr_elements/chromeos/cr_picture/cr_picture_types.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_CR_PICTURE_TYPES_JS"
file="cr_elements/chromeos/cr_picture/cr_picture_types.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_PNG_HTML"
file="cr_elements/chromeos/cr_picture/png.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_PNG_JS"
file="cr_elements/chromeos/cr_picture/png.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_ICONS_HTML"
file="cr_elements/chromeos/cr_picture/icons.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_CR_ELEMENTS_CR_LOTTIE_HTML"
file="cr_elements/cr_lottie/cr_lottie.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_LOTTIE_JS"
file="cr_elements/cr_lottie/cr_lottie.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_INDICATOR_HTML"
file="cr_elements/policy/cr_policy_indicator.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_INDICATOR_JS"
file="cr_elements/policy/cr_policy_indicator.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_INDICATOR_BEHAVIOR_HTML"
file="cr_elements/policy/cr_policy_indicator_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_INDICATOR_BEHAVIOR_JS"
file="cr_elements/policy/cr_policy_indicator_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_CR_ELEMENTS_CR_POLICY_NETWORK_BEHAVIOR_MOJO_HTML"
file="cr_elements/policy/cr_policy_network_behavior_mojo.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_NETWORK_BEHAVIOR_MOJO_JS"
file="cr_elements/policy/cr_policy_network_behavior_mojo.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_NETWORK_INDICATOR_MOJO_JS"
file="cr_elements/policy/cr_policy_network_indicator_mojo.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_NETWORK_INDICATOR_MOJO_HTML"
file="cr_elements/policy/cr_policy_network_indicator_mojo.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_CR_ELEMENTS_CR_POLICY_PREF_BEHAVIOR_HTML"
file="cr_elements/policy/cr_policy_pref_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_PREF_BEHAVIOR_JS"
file="cr_elements/policy/cr_policy_pref_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_PREF_INDICATOR_JS"
file="cr_elements/policy/cr_policy_pref_indicator.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_POLICY_PREF_INDICATOR_HTML"
file="cr_elements/policy/cr_policy_pref_indicator.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOGGLE_HTML"
file="cr_elements/cr_toggle/cr_toggle.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOGGLE_JS"
file="cr_elements/cr_toggle/cr_toggle.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLTIP_ICON_HTML"
file="cr_elements/policy/cr_tooltip_icon.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLTIP_ICON_JS"
file="cr_elements/policy/cr_tooltip_icon.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_PROFILE_AVATAR_SELECTOR_HTML"
file="cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_PROFILE_AVATAR_SELECTOR_JS"
file="cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_PROFILE_AVATAR_ICON_SELECTOR_GRID_HTML"
file="cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_PROFILE_AVATAR_SELECTOR_GRID_JS"
file="cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SEARCH_FIELD_HTML"
file="cr_elements/cr_search_field/cr_search_field.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SEARCH_FIELD_JS"
file="cr_elements/cr_search_field/cr_search_field.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SEARCH_FIELD_BEHAVIOR_HTML"
file="cr_elements/cr_search_field/cr_search_field_behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SEARCH_FIELD_BEHAVIOR_JS"
file="cr_elements/cr_search_field/cr_search_field_behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SHARED_STYLE_CSS_HTML"
file="cr_elements/shared_style_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_HIDDEN_STYLE_CSS_HTML"
file="cr_elements/hidden_style_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_ICONS_CSS_HTML"
file="cr_elements/cr_icons_css.html"
flattenhtml="true"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_PAGE_HOST_STYLE_CSS_HTML"
file="cr_elements/cr_page_host_style_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_MD_SELECT_CSS_HTML"
file="cr_elements/md_select_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_SEARCH_HIGHLIGHT_STYLE_CSS_HTML"
file="cr_elements/search_highlight_style_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_SHARED_VARS_CSS_HTML"
file="cr_elements/shared_vars_css.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TABS_HTML"
file="cr_elements/cr_tabs/cr_tabs.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TABS_JS"
file="cr_elements/cr_tabs/cr_tabs.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLBAR_HTML"
file="cr_elements/cr_toolbar/cr_toolbar.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLBAR_JS"
file="cr_elements/cr_toolbar/cr_toolbar.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLBAR_SEARCH_FIELD_HTML"
file="cr_elements/cr_toolbar/cr_toolbar_search_field.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLBAR_SEARCH_FIELD_JS"
file="cr_elements/cr_toolbar/cr_toolbar_search_field.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLBAR_SELECTION_OVERLAY_HTML"
file="cr_elements/cr_toolbar/cr_toolbar_selection_overlay.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOOLBAR_SELECTION_OVERLAY_JS"
file="cr_elements/cr_toolbar/cr_toolbar_selection_overlay.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOAST_HTML"
file="cr_elements/cr_toast/cr_toast.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOAST_JS"
file="cr_elements/cr_toast/cr_toast.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOAST_MANAGER_HTML"
file="cr_elements/cr_toast/cr_toast_manager.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_CR_ELEMENTS_CR_TOAST_MANAGER_JS"
file="cr_elements/cr_toast/cr_toast_manager.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_elements_resources_v3.grdp b/chromium/ui/webui/resources/cr_elements_resources_v3.grdp
index 21351ddf893..d8c2e3d035a 100644
--- a/chromium/ui/webui/resources/cr_elements_resources_v3.grdp
+++ b/chromium/ui/webui/resources/cr_elements_resources_v3.grdp
@@ -4,258 +4,207 @@
<include name="IDR_CR_ELEMENTS_ACTION_LINK_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/action_link_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_ACTION_MENU_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_BUTTON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_button/cr_button.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_CHECKBOX_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_CONTAINER_SHADOW_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_container_shadow_behavior.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_DIALOG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_DRAWER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_drawer/cr_drawer.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_FINGERPRINT_ICON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_icon.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_FINGERPRINT_PROGRESS_ARC_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_EXPAND_BUTTON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_ICON_BUTTON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_ICONS_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_icons_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_INPUT_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_input/cr_input.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_INPUT_STYLE_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_input/cr_input_style_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_PAGE_HOST_STYLE_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_page_host_style_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_LAZY_RENDER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_lazy_render/cr_lazy_render.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_LINK_ROW_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_link_row/cr_link_row.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_PROFILE_AVATAR_SELECTOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_PROFILE_AVATAR_SELECTOR_GRID_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button_behavior.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_RADIO_BUTTON_STYLE_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button_style_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_RADIO_GROUP_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_radio_group/cr_radio_group.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SCROLLABLE_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_scrollable_behavior.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SEARCH_FIELD_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SEARCH_FIELD_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SHARED_STYLE_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/shared_style_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SHARED_VARS_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/shared_vars_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SLIDER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_slider/cr_slider.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_SPLITTER_JS"
file="cr_elements/cr_splitter/cr_splitter.js"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TABS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_tabs/cr_tabs.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TOAST_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_toast/cr_toast.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TOAST_MANAGER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_toast/cr_toast_manager.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TOGGLE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_toggle/cr_toggle.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TOOLBAR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TOOLBAR_SEARCH_FIELD_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_TOOLBAR_SELECTION_OVERLAY_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_selection_overlay.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_POLICY_CR_TOOLTIP_ICON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/policy/cr_tooltip_icon.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_POLICY_CR_POLICY_INDICATOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/policy/cr_policy_indicator.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_POLICY_CR_POLICY_INDICATOR_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/policy/cr_policy_indicator_behavior.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_POLICY_CR_POLICY_PREF_INDICATOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_POLICY_CR_POLICY_PREF_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/policy/cr_policy_pref_behavior.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CR_VIEW_MANAGER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_view_manager/cr_view_manager.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_MD_SELECT_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/md_select_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_HIDDEN_STYLE_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/hidden_style_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_ICONS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/icons.m.js"
use_base_dir="false"
preprocess="true"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_SEARCH_HIGHLIGHT_STYLE_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/search_highlight_style_css.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<if expr="chromeos">
<include name="IDR_CR_ELEMENTS_CR_SEARCHABLE_DROP_DOWN_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_searchable_drop_down/cr_searchable_drop_down.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CHROMEOS_CROS_COLOR_OVERRIDES_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/chromeos/cros_color_overrides.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
<include name="IDR_CR_ELEMENTS_CHROMEOS_CR_PICTURE_PNG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/chromeos/cr_picture/png.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
</if>
<include name="IDR_CR_ELEMENTS_LOTTIE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/cr_lottie/cr_lottie.m.js"
use_base_dir="false"
- type="BINDATA"
- compress="gzip" />
+ type="BINDATA" />
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_polymer_resources.grdp b/chromium/ui/webui/resources/cr_polymer_resources.grdp
index dfa7994e003..ac76a4232ef 100644
--- a/chromium/ui/webui/resources/cr_polymer_resources.grdp
+++ b/chromium/ui/webui/resources/cr_polymer_resources.grdp
@@ -4,56 +4,41 @@
<grit-part>
<!-- HTML resources -->
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_ROW_BEHAVIOR"
- file="html/cr/ui/focus_row_behavior.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/focus_row_behavior.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_WITHOUT_INK"
- file="html/cr/ui/focus_without_ink.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/focus_without_ink.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_FIND_SHORTCUT_BEHAVIOR"
- file="html/find_shortcut_behavior.html" type="chrome_html"
- compress="gzip" />
+ file="html/find_shortcut_behavior.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_I18N_BEHAVIOR"
- file="html/i18n_behavior.html" type="chrome_html"
- compress="gzip" />
+ file="html/i18n_behavior.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_LIST_PROPERTY_UPDATE_BEHAVIOR"
- file="html/list_property_update_behavior.html" type="chrome_html"
- compress="gzip" />
+ file="html/list_property_update_behavior.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_POLYMER"
- file="html/polymer.html" type="chrome_html" compress="gzip" />
+ file="html/polymer.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_WEBUI_LISTENER_BEHAVIOR"
- file="html/web_ui_listener_behavior.html" type="chrome_html"
- compress="gzip" />
+ file="html/web_ui_listener_behavior.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_SEARCH_HIGHLIGHT_UTILS"
- file="html/search_highlight_utils.html" type="chrome_html"
- compress="gzip" />
+ file="html/search_highlight_utils.html" type="chrome_html" />
<!-- CSS resources -->
<structure name="IDR_WEBUI_CSS_MD_COLORS"
- file="css/md_colors.css" type="chrome_html" compress="gzip" />
+ file="css/md_colors.css" type="chrome_html" />
<!-- JS resources -->
<structure name="IDR_WEBUI_JS_I18N_BEHAVIOR"
- file="js/i18n_behavior.js" type="chrome_html"
- compress="gzip" preprocess="true" />
+ file="js/i18n_behavior.js" type="chrome_html" preprocess="true" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_ROW_BEHAVIOR"
- file="js/cr/ui/focus_row_behavior.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/focus_row_behavior.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_WITHOUT_INK"
- file="js/cr/ui/focus_without_ink.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/focus_without_ink.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_FIND_SHORTCUT_BEHAVIOR"
- file="js/find_shortcut_behavior.js" type="chrome_html"
- compress="gzip" />
+ file="js/find_shortcut_behavior.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_LIST_PROPERTY_UPDATE_BEHAVIOR"
- file="js/list_property_update_behavior.js" type="chrome_html"
- compress="gzip" />
+ file="js/list_property_update_behavior.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_POLYMER_CONFIG"
- file="js/polymer_config.js" type="chrome_html"
- compress="gzip" />
+ file="js/polymer_config.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_WEBUI_LISTENER_BEHAVIOR"
- file="js/web_ui_listener_behavior.js" type="chrome_html"
- compress="gzip" />
+ file="js/web_ui_listener_behavior.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_SEARCH_HIGHLIGHT_UTILS"
- file="js/search_highlight_utils.js" type="chrome_html"
- compress="gzip" />
+ file="js/search_highlight_utils.js" type="chrome_html" />
</grit-part>
diff --git a/chromium/ui/webui/resources/cr_polymer_resources_v3.grdp b/chromium/ui/webui/resources/cr_polymer_resources_v3.grdp
index 07cde38e9bb..174ad76e431 100644
--- a/chromium/ui/webui/resources/cr_polymer_resources_v3.grdp
+++ b/chromium/ui/webui/resources/cr_polymer_resources_v3.grdp
@@ -2,21 +2,21 @@
<grit-part>
<include name="IDR_WEBUI_JS_CR_UI_FOCUS_ROW_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/focus_row_behavior.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_FIND_SHORTCUT_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/find_shortcut_behavior.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_I18N_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/i18n_behavior.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip"
+ use_base_dir="false" type="BINDATA"
preprocess="true" />
<include name="IDR_WEBUI_JS_LIST_PROPERTY_UPDATE_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/list_property_update_behavior.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_SEARCH_HIGHLIGHT_UTILS_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/search_highlight_utils.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_WEBUI_LISTENER_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/web_ui_listener_behavior.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
</grit-part>
diff --git a/chromium/ui/webui/resources/css/cros_colors.json5 b/chromium/ui/webui/resources/css/cros_colors.json5
index 1d723c51775..db08320259e 100644
--- a/chromium/ui/webui/resources/css/cros_colors.json5
+++ b/chromium/ui/webui/resources/css/cros_colors.json5
@@ -72,8 +72,10 @@
/* button-primary:hover */
/* TODO(calamity): Generate a linear-gradient() to use for compositing
backgrounds */
- cros_default_button_background_color_primary_hover_overlay:
- "rgba(0, 0, 0, 0.08)",
+ cros_default_button_background_color_primary_hover_overlay: {
+ light: "rgba(255, 255, 255, 0.08)",
+ dark: "rgba(0, 0, 0, 0.08)",
+ },
/* button-primary[disabled] */
cros_default_button_background_color_primary_disabled: {
light: "$google_grey_100",
diff --git a/chromium/ui/webui/resources/js/BUILD.gn b/chromium/ui/webui/resources/js/BUILD.gn
index 42bcefc2b27..2eb7ada9411 100644
--- a/chromium/ui/webui/resources/js/BUILD.gn
+++ b/chromium/ui/webui/resources/js/BUILD.gn
@@ -167,6 +167,7 @@ js_type_check("js_resources_modules") {
":list_property_update_behavior.m",
":load_time_data.m",
":parse_html_subset.m",
+ ":plural_string_proxy",
":promise_resolver.m",
":search_highlight_utils.m",
":util.m",
@@ -244,6 +245,10 @@ js_library("parse_html_subset.m") {
extra_deps = [ ":modulize" ]
}
+js_library("plural_string_proxy") {
+ deps = [ ":cr.m" ]
+}
+
js_library("promise_resolver.m") {
sources = [ "$root_gen_dir/ui/webui/resources/js/promise_resolver.m.js" ]
deps = [ ":assert.m" ]
diff --git a/chromium/ui/webui/resources/js/cr/ui/command.js b/chromium/ui/webui/resources/js/cr/ui/command.js
index 4f63fbcfab2..4d467c0d66f 100644
--- a/chromium/ui/webui/resources/js/cr/ui/command.js
+++ b/chromium/ui/webui/resources/js/cr/ui/command.js
@@ -193,7 +193,7 @@ cr.define('cr.ui', function() {
const target = e.target;
// Ignore focus on a menu button or command item.
- if (target.menu || target.command) {
+ if (target.menu || target.command || (target instanceof cr.ui.MenuItem)) {
return;
}
diff --git a/chromium/ui/webui/resources/js/load_time_data.js b/chromium/ui/webui/resources/js/load_time_data.js
index 94545cafa27..a4e3054b620 100644
--- a/chromium/ui/webui/resources/js/load_time_data.js
+++ b/chromium/ui/webui/resources/js/load_time_data.js
@@ -19,9 +19,9 @@
/**
* @typedef {{
- * substitutions: (Array<string>|undefined),
- * attrs: (Object<function(Node, string):boolean>|undefined),
- * tags: (Array<string>|undefined),
+ * substitutions: (!Array<string>|undefined),
+ * attrs: (!Array<string>|undefined),
+ * tags: (!Array<string>|undefined),
* }}
*/
/* #export */ let SanitizeInnerHtmlOpts;
diff --git a/chromium/ui/webui/resources/js/parse_html_subset.js b/chromium/ui/webui/resources/js/parse_html_subset.js
index c5869640195..a1432098eb9 100644
--- a/chromium/ui/webui/resources/js/parse_html_subset.js
+++ b/chromium/ui/webui/resources/js/parse_html_subset.js
@@ -3,11 +3,11 @@
// found in the LICENSE file.
/**
- * Parses a very small subset of HTML. This ensures that insecure HTML /
- * javascript cannot be injected into the new tab page.
+ * Parses a very small subset of HTML. This ensures that insecure HTML /
+ * javascript cannot be injected into WebUI.
* @param {string} s The string to parse.
- * @param {Array<string>=} opt_extraTags Optional extra allowed tags.
- * @param {Object<function(Node, string):boolean>=} opt_extraAttrs
+ * @param {!Array<string>=} opt_extraTags Optional extra allowed tags.
+ * @param {!Array<string>=} opt_extraAttrs
* Optional extra allowed attributes (all tags are run through these).
* @throws {Error} In case of non supported markup.
* @return {DocumentFragment} A document fragment containing the DOM tree.
@@ -15,38 +15,114 @@
/* #export */ const parseHtmlSubset = (function() {
'use strict';
- const allowedAttributes = {
- 'href'(node, value) {
- // Only allow a[href] starting with chrome:// and https://
- return node.tagName === 'A' &&
- (value.startsWith('chrome://') || value.startsWith('https://'));
- },
- 'target'(node, value) {
- // Only allow a[target='_blank'].
- // TODO(dbeam): are there valid use cases for target !== '_blank'?
- return node.tagName === 'A' && value === '_blank';
- },
- };
+ /** @typedef {function(!Node, string):boolean} */
+ let AllowFunction;
+
+ /** @type {!AllowFunction} */
+ const allowAttribute = (node, value) => true;
/**
- * Whitelist of tag names allowed in parseHtmlSubset.
- * @type {!Array<string>}
+ * Allow-list of attributes in parseHtmlSubset.
+ * @type {!Map<string, !AllowFunction>}
* @const
*/
- const allowedTags = ['A', 'B', 'SPAN', 'STRONG'];
-
- /** @param {...Object} var_args Objects to merge. */
- function merge(var_args) {
- const clone = {};
- for (let i = 0; i < arguments.length; ++i) {
- if (typeof arguments[i] === 'object') {
- for (const key in arguments[i]) {
- if (arguments[i].hasOwnProperty(key)) {
- clone[key] = arguments[i][key];
- }
- }
+ const allowedAttributes = new Map([
+ [
+ 'href',
+ (node, value) => {
+ // Only allow a[href] starting with chrome:// and https://
+ return node.tagName === 'A' &&
+ (value.startsWith('chrome://') || value.startsWith('https://'));
}
- }
+ ],
+ [
+ 'target',
+ (node, value) => {
+ // Only allow a[target='_blank'].
+ // TODO(dbeam): are there valid use cases for target !== '_blank'?
+ return node.tagName === 'A' && value === '_blank';
+ }
+ ],
+ ]);
+
+ /**
+ * Allow-list of optional attributes in parseHtmlSubset.
+ * @type {!Map<string, !AllowFunction>}
+ * @const
+ */
+ const allowedOptionalAttributes = new Map([
+ ['class', allowAttribute],
+ ['id', allowAttribute],
+ ['is', (node, value) => value === 'action-link' || value === ''],
+ ['role', (node, value) => value === 'link'],
+ [
+ 'src',
+ (node, value) => {
+ // Only allow img[src] starting with chrome://
+ return node.tagName === 'IMG' && value.startsWith('chrome://');
+ }
+ ],
+ ['tabindex', allowAttribute],
+ ]);
+
+ /**
+ * Allow-list of tag names in parseHtmlSubset.
+ * @type {!Set<string>}
+ * @const
+ */
+ const allowedTags =
+ new Set(['A', 'B', 'BR', 'DIV', 'P', 'PRE', 'SPAN', 'STRONG']);
+
+ /**
+ * Allow-list of optional tag names in parseHtmlSubset.
+ * @type {!Set<string>}
+ * @const
+ */
+ const allowedOptionalTags = new Set(['IMG']);
+
+ /**
+ * This is used to create TrustedHTML.
+ * @type {TrustedTypePolicy|undefined}
+ */
+ let untrustedHTMLPolicy;
+ if (window.trustedTypes) {
+ untrustedHTMLPolicy = trustedTypes.createPolicy('parse-html-subset', {
+ createHTML: untrustedHTML => {
+ // This is safe because the untrusted HTML will be sanitized
+ // later in this function. We are adding this so that
+ // the sanitization will not cause a Trusted Types violation.
+ return untrustedHTML;
+ },
+ });
+ }
+
+ /**
+ * @param {!Array<string>} optTags an Array to merge.
+ * @return {!Set<string>} Set of allowed tags.
+ */
+ function mergeTags(optTags) {
+ const clone = new Set(allowedTags);
+ optTags.forEach(str => {
+ const tag = str.toUpperCase();
+ if (allowedOptionalTags.has(tag)) {
+ clone.add(tag);
+ }
+ });
+ return clone;
+ }
+
+ /**
+ * @param {!Array<string>} optAttrs an Array to merge.
+ * @return {!Map<string, !AllowFunction>} Map of allowed
+ * attributes.
+ */
+ function mergeAttrs(optAttrs) {
+ const clone = new Map([...allowedAttributes]);
+ optAttrs.forEach(key => {
+ if (allowedOptionalAttributes.has(key)) {
+ clone.set(key, allowedOptionalAttributes.get(key));
+ }
+ });
return clone;
}
@@ -58,7 +134,7 @@
}
function assertElement(tags, node) {
- if (tags.indexOf(node.tagName) === -1) {
+ if (!tags.has(node.tagName)) {
throw Error(node.tagName + ' is not supported');
}
}
@@ -66,21 +142,24 @@
function assertAttribute(attrs, attrNode, node) {
const n = attrNode.nodeName;
const v = attrNode.nodeValue;
- if (!attrs.hasOwnProperty(n) || !attrs[n](node, v)) {
+ if (!attrs.has(n) || !attrs.get(n)(node, v)) {
throw Error(node.tagName + '[' + n + '="' + v + '"] is not supported');
}
}
return function(s, opt_extraTags, opt_extraAttrs) {
- const extraTags = (opt_extraTags || []).map(function(str) {
- return str.toUpperCase();
- });
- const tags = allowedTags.concat(extraTags);
- const attrs = merge(allowedAttributes, opt_extraAttrs || {});
+ const tags = opt_extraTags ? mergeTags(opt_extraTags) : allowedTags;
+ const attrs =
+ opt_extraAttrs ? mergeAttrs(opt_extraAttrs) : allowedAttributes;
const doc = document.implementation.createHTMLDocument('');
const r = doc.createRange();
r.selectNode(doc.body);
+
+ if (window.trustedTypes) {
+ s = untrustedHTMLPolicy.createHTML(s);
+ }
+
// This does not execute any scripts because the document has no view.
const df = r.createContextualFragment(s);
walk(df, function(node) {
diff --git a/chromium/ui/webui/resources/js/plural_string_proxy.js b/chromium/ui/webui/resources/js/plural_string_proxy.js
new file mode 100644
index 00000000000..5d38a70d862
--- /dev/null
+++ b/chromium/ui/webui/resources/js/plural_string_proxy.js
@@ -0,0 +1,33 @@
+// Copyright 2020 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview A helper object used to get a pluralized string.
+ */
+
+// clang-format off
+import {addSingletonGetter, sendWithPromise} from './cr.m.js';
+// clang-format on
+
+/** @interface */
+export class PluralStringProxy {
+ /**
+ * Obtains a pluralized string for |messageName| with |itemCount| items.
+ * @param {!string} messageName The name of the message.
+ * @param {!number} itemCount The number of items.
+ * @return {!Promise<string>} Promise resolved with the appropriate plural
+ * string for |messageName| with |itemCount| items.
+ */
+ getPluralString(messageName, itemCount) {}
+}
+
+/** @implements {PluralStringProxy} */
+export class PluralStringProxyImpl {
+ /** @override */
+ getPluralString(messageName, itemCount) {
+ return sendWithPromise('getPluralString', messageName, itemCount);
+ }
+}
+
+addSingletonGetter(PluralStringProxyImpl);
diff --git a/chromium/ui/webui/resources/polymer_resources.grdp b/chromium/ui/webui/resources/polymer_resources.grdp
index 67506e33721..6ea0af91cc1 100644
--- a/chromium/ui/webui/resources/polymer_resources.grdp
+++ b/chromium/ui/webui/resources/polymer_resources.grdp
@@ -26,489 +26,337 @@
<!-- Polymer 1.0 -->
<structure name="IDR_POLYMER_1_0_FONT_ROBOTO_ROBOTO_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/font-roboto/roboto.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_POLYMER_1_0_HTML_IMPORTS_HTML_IMPORTS_MIN_JS"
file="../../../third_party/polymer/v1_0/components-chromium/html-imports/html-imports.min.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_1_0_IRON_A11Y_ANNOUNCER_IRON_A11Y_ANNOUNCER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-a11y-announcer/iron-a11y-announcer-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_A11Y_ANNOUNCER_IRON_A11Y_ANNOUNCER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-a11y-announcer/iron-a11y-announcer.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_A11Y_KEYS_BEHAVIOR_IRON_A11Y_KEYS_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior/iron-a11y-keys-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_A11Y_KEYS_BEHAVIOR_IRON_A11Y_KEYS_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_A11Y_KEYS_IRON_A11Y_KEYS_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-a11y-keys/iron-a11y-keys-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_A11Y_KEYS_IRON_A11Y_KEYS_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-a11y-keys/iron-a11y-keys.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_BEHAVIORS_IRON_BUTTON_STATE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-button-state-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_BEHAVIORS_IRON_BUTTON_STATE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-button-state.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_BEHAVIORS_IRON_CONTROL_STATE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_BEHAVIORS_IRON_CONTROL_STATE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_COLLAPSE_IRON_COLLAPSE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_COLLAPSE_IRON_COLLAPSE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_POLYMER_1_0_IRON_DROPDOWN_IRON_DROPDOWN_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_DROPDOWN_IRON_DROPDOWN_SCROLL_MANAGER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-scroll-manager-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_DROPDOWN_IRON_DROPDOWN_SCROLL_MANAGER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown-scroll-manager.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_DROPDOWN_IRON_DROPDOWN_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_1_0_IRON_FIT_BEHAVIOR_IRON_FIT_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-fit-behavior/iron-fit-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_FIT_BEHAVIOR_IRON_FIT_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-fit-behavior/iron-fit-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_FLEX_LAYOUT_IRON_FLEX_LAYOUT_CLASSES_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout-classes.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_FLEX_LAYOUT_IRON_FLEX_LAYOUT_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-flex-layout/iron-flex-layout.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_ICON_IRON_ICON_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_ICON_IRON_ICON_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_ICONSET_SVG_IRON_ICONSET_SVG_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_ICONSET_SVG_IRON_ICONSET_SVG_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-iconset-svg/iron-iconset-svg.html"
- type="chrome_html"
- compress="gzip" />
- <if expr="chromeos">
- <structure name="IDR_POLYMER_1_0_IRON_INPUT_IRON_INPUT_EXTRACTED_JS"
- file="../../../third_party/polymer/v1_0/components-chromium/iron-input/iron-input-extracted.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_IRON_INPUT_IRON_INPUT_HTML"
- file="../../../third_party/polymer/v1_0/components-chromium/iron-input/iron-input.html"
- type="chrome_html"
- compress="gzip" />
- </if>
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_LIST_IRON_LIST_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-list/iron-list-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_LIST_IRON_LIST_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-list/iron-list.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_LOCATION_IRON_LOCATION_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-location/iron-location-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_LOCATION_IRON_LOCATION_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-location/iron-location.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_LOCATION_IRON_QUERY_PARAMS_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-location/iron-query-params-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_LOCATION_IRON_QUERY_PARAMS_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-location/iron-query-params.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_MEDIA_QUERY_IRON_MEDIA_QUERY_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-media-query/iron-media-query-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_MEDIA_QUERY_IRON_MEDIA_QUERY_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-media-query/iron-media-query.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_META_IRON_META_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_META_IRON_META_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_FOCUSABLES_HELPER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-focusables-helper-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_FOCUSABLES_HELPER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-focusables-helper.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_BACKDROP_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_BACKDROP_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_MANAGER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-manager-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_MANAGER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-manager.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_SCROLL_MANAGER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-scroll-manager-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_OVERLAY_BEHAVIOR_IRON_SCROLL_MANAGER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-scroll-manager.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_1_0_IRON_PAGES_IRON_PAGES_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_PAGES_IRON_PAGES_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_RANGE_BEHAVIOR_IRON_RANGE_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-range-behavior/iron-range-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_RANGE_BEHAVIOR_IRON_RANGE_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-range-behavior/iron-range-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_RESIZABLE_BEHAVIOR_IRON_RESIZABLE_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-resizable-behavior/iron-resizable-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_RESIZABLE_BEHAVIOR_IRON_RESIZABLE_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-resizable-behavior/iron-resizable-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SCROLL_TARGET_BEHAVIOR_IRON_SCROLL_TARGET_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-scroll-target-behavior/iron-scroll-target-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SCROLL_TARGET_BEHAVIOR_IRON_SCROLL_TARGET_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-scroll-target-behavior/iron-scroll-target-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SCROLL_THRESHOLD_IRON_SCROLL_THRESHOLD_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-scroll-threshold/iron-scroll-threshold-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SCROLL_THRESHOLD_IRON_SCROLL_THRESHOLD_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-scroll-threshold/iron-scroll-threshold.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_MULTI_SELECTABLE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-multi-selectable-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_MULTI_SELECTABLE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-multi-selectable.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_SELECTABLE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-selectable-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_SELECTABLE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-selectable.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_SELECTION_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-selection-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_SELECTION_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-selection.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_SELECTOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_IRON_SELECTOR_IRON_SELECTOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/iron-selector/iron-selector.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
- <structure name="IDR_POLYMER_1_0_IRON_VALIDATABLE_BEHAVIOR_IRON_VALIDATABLE_BEHAVIOR_EXTRACTED_JS"
- file="../../../third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/iron-validatable-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_IRON_VALIDATABLE_BEHAVIOR_IRON_VALIDATABLE_BEHAVIOR_HTML"
- file="../../../third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/iron-validatable-behavior.html"
- type="chrome_html"
- compress="gzip" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_ANIMATIONS_FADE_IN_ANIMATION_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/animations/fade-in-animation-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_ANIMATIONS_FADE_IN_ANIMATION_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/animations/fade-in-animation.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_ANIMATIONS_FADE_OUT_ANIMATION_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/animations/fade-out-animation-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_ANIMATIONS_FADE_OUT_ANIMATION_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/animations/fade-out-animation.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATABLE_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animatable-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATABLE_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animatable-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATABLE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animatable-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATABLE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animatable.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATED_PAGES_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animated-pages-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATED_PAGES_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animated-pages.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATION_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATION_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATION_RUNNER_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_NEON_ANIMATION_RUNNER_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/neon-animation-runner-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_1_0_NEON_ANIMATION_WEB_ANIMATIONS_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/neon-animation/web-animations.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_BEHAVIORS_PAPER_RIPPLE_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/paper-behaviors/paper-ripple-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_BEHAVIORS_PAPER_RIPPLE_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-behaviors/paper-ripple-behavior.html"
- type="chrome_html"
- compress="gzip" />
- <if expr="chromeos">
- <structure name="IDR_POLYMER_1_0_PAPER_INPUT_PAPER_INPUT_ADDON_BEHAVIOR_EXTRACTED_JS"
- file="../../../third_party/polymer/v1_0/components-chromium/paper-input/paper-input-addon-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_PAPER_INPUT_PAPER_INPUT_ADDON_BEHAVIOR_HTML"
- file="../../../third_party/polymer/v1_0/components-chromium/paper-input/paper-input-addon-behavior.html"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_PAPER_INPUT_PAPER_INPUT_CONTAINER_EXTRACTED_JS"
- file="../../../third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container-extracted.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_PAPER_INPUT_PAPER_INPUT_CONTAINER_HTML"
- file="../../../third_party/polymer/v1_0/components-chromium/paper-input/paper-input-container.html"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_PAPER_INPUT_PAPER_INPUT_ERROR_EXTRACTED_JS"
- file="../../../third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error-extracted.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_1_0_PAPER_INPUT_PAPER_INPUT_ERROR_HTML"
- file="../../../third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error.html"
- type="chrome_html"
- compress="gzip" />
- </if>
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_PROGRESS_PAPER_PROGRESS_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/paper-progress/paper-progress-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_PROGRESS_PAPER_PROGRESS_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-progress/paper-progress.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_RIPPLE_PAPER_RIPPLE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_RIPPLE_PAPER_RIPPLE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-ripple/paper-ripple.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_SPINNER_PAPER_SPINNER_BEHAVIOR_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-behavior-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_SPINNER_PAPER_SPINNER_BEHAVIOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-behavior.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_SPINNER_PAPER_SPINNER_LITE_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-lite-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_SPINNER_PAPER_SPINNER_LITE_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-lite.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_SPINNER_PAPER_SPINNER_STYLES_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-spinner/paper-spinner-styles.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_CLASSES_SHADOW_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/classes/shadow.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_CLASSES_TYPOGRAPHY_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/classes/typography.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_COLOR_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/color.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_DEFAULT_THEME_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/default-theme.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_ELEMENT_STYLES_PAPER_MATERIAL_STYLES_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/element-styles/paper-material-styles.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_SHADOW_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/shadow.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_STYLES_TYPOGRAPHY_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-styles/typography.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_TOOLTIP_PAPER_TOOLTIP_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_PAPER_TOOLTIP_PAPER_TOOLTIP_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_POLYMER_1_0_POLYMER_POLYMER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/polymer/polymer-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_POLYMER_POLYMER_MICRO_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/polymer/polymer-micro-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_POLYMER_POLYMER_MICRO_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/polymer/polymer-micro.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_POLYMER_POLYMER_MINI_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/polymer/polymer-mini-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_POLYMER_POLYMER_MINI_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/polymer/polymer-mini.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_POLYMER_POLYMER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/polymer/polymer.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_1_0_POLYMER2_POLYMER_EXTRACTED_JS"
file="../../../third_party/polymer/v1_0/components-chromium/polymer2/polymer-extracted.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_POLYMER2_POLYMER_HTML"
file="../../../third_party/polymer/v1_0/components-chromium/polymer2/polymer.html"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_1_0_WEB_ANIMATIONS_JS_WEB_ANIMATIONS_NEXT_LITE_MIN_JS"
file="../../../third_party/web-animations-js/sources/web-animations-next-lite.min.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</grit-part>
diff --git a/chromium/ui/webui/resources/polymer_resources_v3.grdp b/chromium/ui/webui/resources/polymer_resources_v3.grdp
index 59e450c3a5b..25e1965cd5a 100644
--- a/chromium/ui/webui/resources/polymer_resources_v3.grdp
+++ b/chromium/ui/webui/resources/polymer_resources_v3.grdp
@@ -26,273 +26,189 @@
<!-- Polymer 3.0 -->
<structure name="IDR_POLYMER_3_0_FONT_ROBOTO_ROBOTO_JS"
file="../../../third_party/polymer/v3_0/components-chromium/font-roboto/roboto.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_A11Y_ANNOUNCER_IRON_A11Y_ANNOUNCER_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-a11y-announcer/iron-a11y-announcer.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_A11Y_KEYS_BEHAVIOR_IRON_A11Y_KEYS_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-a11y-keys-behavior/iron-a11y-keys-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_A11Y_KEYS_IRON_A11Y_KEYS_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-a11y-keys/iron-a11y-keys.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_BEHAVIORS_IRON_BUTTON_STATE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-behaviors/iron-button-state.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_BEHAVIORS_IRON_CONTROL_STATE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-behaviors/iron-control-state.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_COLLAPSE_IRON_COLLAPSE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-collapse/iron-collapse.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_POLYMER_3_0_IRON_DROPDOWN_IRON_DROPDOWN_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-dropdown/iron-dropdown.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_DROPDOWN_IRON_DROPDOWN_SCROLL_MANAGER_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-dropdown/iron-dropdown-scroll-manager.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_3_0_IRON_FIT_BEHAVIOR_IRON_FIT_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-fit-behavior/iron-fit-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_FLEX_LAYOUT_IRON_FLEX_LAYOUT_CLASSES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-flex-layout/iron-flex-layout-classes.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_FLEX_LAYOUT_IRON_FLEX_LAYOUT_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-flex-layout/iron-flex-layout.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_ICONSET_SVG_IRON_ICONSET_SVG_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-iconset-svg/iron-iconset-svg.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_ICON_IRON_ICON_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-icon/iron-icon.js"
- type="chrome_html"
- compress="gzip" />
- <if expr="chromeos">
- <structure name="IDR_POLYMER_3_0_IRON_INPUT_IRON_INPUT_JS"
- file="../../../third_party/polymer/v3_0/components-chromium/iron-input/iron-input.js"
- type="chrome_html"
- compress="gzip" />
- </if>
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_LIST_IRON_LIST_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-list/iron-list.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_LOCATION_IRON_LOCATION_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-location/iron-location.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_LOCATION_IRON_QUERY_PARAMS_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-location/iron-query-params.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_MEDIA_QUERY_IRON_MEDIA_QUERY_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-media-query/iron-media-query.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_META_IRON_META_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-meta/iron-meta.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_POLYMER_3_0_IRON_OVERLAY_BEHAVIOR_IRON_FOCUSABLES_HELPER_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-overlay-behavior/iron-focusables-helper.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_BACKDROP_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-overlay-behavior/iron-overlay-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_OVERLAY_BEHAVIOR_IRON_OVERLAY_MANAGER_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-overlay-behavior/iron-overlay-manager.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_OVERLAY_BEHAVIOR_IRON_SCROLL_MANAGER_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-overlay-behavior/iron-scroll-manager.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_3_0_IRON_PAGES_IRON_PAGES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-pages/iron-pages.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_RANGE_BEHAVIOR_IRON_RANGE_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-range-behavior/iron-range-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_RESIZABLE_BEHAVIOR_IRON_RESIZABLE_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-resizable-behavior/iron-resizable-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_SCROLL_TARGET_BEHAVIOR_IRON_SCROLL_TARGET_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-scroll-target-behavior/iron-scroll-target-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_SCROLL_THRESHOLD_IRON_SCROLL_THRESHOLD_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-scroll-threshold/iron-scroll-threshold.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_SELECTOR_IRON_MULTI_SELECTABLE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-selector/iron-multi-selectable.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_SELECTOR_IRON_SELECTABLE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-selector/iron-selectable.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_SELECTOR_IRON_SELECTION_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-selector/iron-selection.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_SELECTOR_IRON_SELECTOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-selector/iron-selector.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_IRON_TEST_HELPERS_MOCK_INTERACTIONS_JS"
file="../../../third_party/polymer/v3_0/components-chromium/iron-test-helpers/mock-interactions.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
- <structure name="IDR_POLYMER_3_0_IRON_VALIDATABLE_BEHAVIOR_IRON_VALIDATABLE_BEHAVIOR_JS"
- file="../../../third_party/polymer/v3_0/components-chromium/iron-validatable-behavior/iron-validatable-behavior.js"
- type="chrome_html"
- compress="gzip" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_ANIMATIONS_FADE_IN_ANIMATION_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/animations/fade-in-animation.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_ANIMATIONS_FADE_OUT_ANIMATION_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/animations/fade-out-animation.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_NEON_ANIMATABLE_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/neon-animatable-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_NEON_ANIMATABLE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/neon-animatable.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_NEON_ANIMATED_PAGES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/neon-animated-pages.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_NEON_ANIMATION_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/neon-animation-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_NEON_ANIMATION_NEON_ANIMATION_RUNNER_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/neon-animation/neon-animation-runner-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<structure name="IDR_POLYMER_3_0_PAPER_BEHAVIORS_PAPER_INKY_FOCUS_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-behaviors/paper-inky-focus-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_BEHAVIORS_PAPER_RIPPLE_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-behaviors/paper-ripple-behavior.js"
- type="chrome_html"
- compress="gzip" />
- <if expr="chromeos">
- <structure name="IDR_POLYMER_3_0_PAPER_INPUT_PAPER_INPUT_ADDON_BEHAVIOR_JS"
- file="../../../third_party/polymer/v3_0/components-chromium/paper-input/paper-input-addon-behavior.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_3_0_PAPER_INPUT_PAPER_INPUT_CONTAINER_JS"
- file="../../../third_party/polymer/v3_0/components-chromium/paper-input/paper-input-container.js"
- type="chrome_html"
- compress="gzip" />
- <structure name="IDR_POLYMER_3_0_PAPER_INPUT_PAPER_INPUT_ERROR_JS"
- file="../../../third_party/polymer/v3_0/components-chromium/paper-input/paper-input-error.js"
- type="chrome_html"
- compress="gzip" />
- </if>
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_PROGRESS_PAPER_PROGRESS_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-progress/paper-progress.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_RIPPLE_PAPER_RIPPLE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-ripple/paper-ripple.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_SPINNER_PAPER_SPINNER_BEHAVIOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-spinner/paper-spinner-behavior.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_SPINNER_PAPER_SPINNER_LITE_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-spinner/paper-spinner-lite.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_SPINNER_PAPER_SPINNER_STYLES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-spinner/paper-spinner-styles.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_CLASSES_GLOBAL_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/classes/global.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_CLASSES_SHADOW_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/classes/shadow.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_CLASSES_TYPOGRAPHY_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/classes/typography.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_COLOR_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/color.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_DEFAULT_THEME_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/default-theme.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_DEMO_PAGES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/demo-pages.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_ELEMENT_STYLES_PAPER_ITEM_STYLES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/element-styles/paper-item-styles.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_ELEMENT_STYLES_PAPER_MATERIAL_STYLES_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/element-styles/paper-material-styles.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_SHADOW_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/shadow.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_STYLES_TYPOGRAPHY_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-styles/typography.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_PAPER_TOOLTIP_PAPER_TOOLTIP_JS"
file="../../../third_party/polymer/v3_0/components-chromium/paper-tooltip/paper-tooltip.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_POLYMER_3_0_POLYMER_POLYMER_BUNDLED_MIN_JS"
file="../../../third_party/polymer/v3_0/components-chromium/polymer/polymer_bundled.min.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</grit-part>
diff --git a/chromium/ui/webui/resources/webui_resources.grd b/chromium/ui/webui/resources/webui_resources.grd
index 4ef5362273c..8f3ae51103c 100644
--- a/chromium/ui/webui/resources/webui_resources.grd
+++ b/chromium/ui/webui/resources/webui_resources.grd
@@ -15,10 +15,10 @@ without changes to the corresponding grd file. -->
<includes>
<if expr="chromeos">
<include name="IDR_WEBUI_I18N_TEMPLATE_JS" file="js/i18n_template.js"
- flattenhtml="true" type="BINDATA" compress="gzip" />
+ flattenhtml="true" type="BINDATA" />
</if>
<include name="IDR_WEBUI_JSTEMPLATE_JS" file="js/jstemplate_compiled.js"
- flattenhtml="true" type="BINDATA" compress="gzip"/>
+ flattenhtml="true" type="BINDATA"/>
<!-- Roboto Font. Roboto-Regular and Roboto-Light is already available on
Android, and Roboto-Medium is not used on Android. All 6 weights of
Roboto are available on Chrome OS.-->
@@ -60,7 +60,7 @@ without changes to the corresponding grd file. -->
<!-- Non-apps images -->
<include name="IDR_WEBUI_IMAGES_ADD"
- file="images/add.svg" type="BINDATA" compress="gzip" />
+ file="images/add.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_CHECK"
file="images/check.png" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_CHECKBOX_BLACK"
@@ -70,69 +70,69 @@ without changes to the corresponding grd file. -->
<include name="IDR_WEBUI_IMAGES_DISABLED_SELECT"
file="images/disabled_select.png" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_ERROR"
- file="images/error.svg" type="BINDATA" compress="gzip" />
+ file="images/error.svg" type="BINDATA" />
<!-- Similar to IDR_WEBUI_IMAGES_ERROR except that it is white-filled instead of transparent-filled. Useful for badging images where the background may be red. -->
<include name="IDR_WEBUI_IMAGES_ERROR_BADGE"
- file="images/error_badge.svg" type="BINDATA" compress="gzip" />
+ file="images/error_badge.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_GOOGLE_LOGO"
- file="images/google_logo.svg" type="BINDATA" compress="gzip" />
+ file="images/google_logo.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_SELECT"
file="images/select.png" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_THROBBER_MEDIUM"
- file="images/throbber_medium.svg" type="BINDATA"
- compress="gzip" />
+ file="images/throbber_medium.svg" type="BINDATA" />
<include name="IDR_WEBUI_IMAGES_THROBBER_SMALL"
- file="images/throbber_small.svg" type="BINDATA"
- compress="gzip" />
+ file="images/throbber_small.svg" type="BINDATA" />
<!-- Web UI shared JS module resources. -->
<include name="IDR_WEBUI_JS_ASSERT_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/assert.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_EVENT_TARGET_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/event_target.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_DRAG_WRAPPER_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/drag_wrapper.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_FOCUS_GRID_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/focus_grid.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_FOCUS_OUTLINE_MANAGER_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/focus_outline_manager.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_FOCUS_ROW_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/focus_row.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_FOCUS_WITHOUT_INK_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/focus_without_ink.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_KEYBOARD_SHORTCUT_LIST_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/keyboard_shortcut_list.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_STORE_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/store.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_CR_UI_STORE_CLIENT_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/cr/ui/store_client.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_EVENT_TRACKER_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/event_tracker.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_ICON_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/icon.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_LOAD_TIME_DATA_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/load_time_data.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_PARSE_HTML_SUBSET_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/parse_html_subset.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
+ <include name="IDR_WEBUI_JS_PLURAL_STRING_PROXY"
+ file="js/plural_string_proxy.js" type="BINDATA" />
<include name="IDR_WEBUI_JS_PROMISE_RESOLVER_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/promise_resolver.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip" />
+ use_base_dir="false" type="BINDATA" />
<include name="IDR_WEBUI_JS_UTIL_M_JS"
file="${root_gen_dir}/ui/webui/resources/js/util.m.js"
- use_base_dir="false" type="BINDATA" compress="gzip"
+ use_base_dir="false" type="BINDATA"
preprocess="true" />
<if expr="not is_android">
@@ -148,315 +148,260 @@ without changes to the corresponding grd file. -->
</includes>
<structures>
<structure name="IDR_WEBUI_CSS_ACTION_LINK"
- file="css/action_link.css" type="chrome_html"
- compress="gzip" />
+ file="css/action_link.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_APPS_COMMON"
- file="css/apps/common.css" type="chrome_html"
- compress="gzip" />
+ file="css/apps/common.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_APPS_TOPBUTTON_BAR"
- file="css/apps/topbutton_bar.css" type="chrome_html"
- compress="gzip" />
+ file="css/apps/topbutton_bar.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_BUBBLE"
- file="css/bubble.css" type="chrome_html" compress="gzip" />
+ file="css/bubble.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_BUBBLE_BUTTON"
- file="css/bubble_button.css" type="chrome_html"
- compress="gzip" />
+ file="css/bubble_button.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_BUTTER_BAR"
- file="css/butter_bar.css" type="chrome_html" compress="gzip" />
+ file="css/butter_bar.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_CHROME"
- file="css/chrome_shared.css" type="chrome_html" compress="gzip"
+ file="css/chrome_shared.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_CONTROLLED_INDICATOR"
- file="css/controlled_indicator.css" type="chrome_html"
- compress="gzip" flattenhtml="true" />
+ file="css/controlled_indicator.css" type="chrome_html" flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_DIALOGS"
- file="css/dialogs.css" type="chrome_html" compress="gzip" />
+ file="css/dialogs.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_I18N_PROCESS"
- file="css/i18n_process.css" type="chrome_html"
- compress="gzip" />
+ file="css/i18n_process.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_LIST"
- file="css/list.css" type="chrome_html" compress="gzip" />
+ file="css/list.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_MENU"
- file="css/menu.css" type="chrome_html" compress="gzip"
+ file="css/menu.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_MENU_BUTTON"
- file="css/menu_button.css" type="chrome_html" compress="gzip"
+ file="css/menu_button.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_TEXT_DEFAULTS"
- file="css/text_defaults.css" type="chrome_html"
- compress="gzip" />
+ file="css/text_defaults.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_TEXT_DEFAULTS_MD"
- file="css/text_defaults_md.css" type="chrome_html"
- compress="gzip" />
+ file="css/text_defaults_md.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_OVERLAY"
- file="css/overlay.css" type="chrome_html" compress="gzip"
+ file="css/overlay.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_ROBOTO" preprocess="true"
- file="css/roboto.css" type="chrome_html" compress="gzip" />
+ file="css/roboto.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_SPINNER"
- file="css/spinner.css" type="chrome_html" compress="gzip"
+ file="css/spinner.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_TABLE"
- file="css/table.css" type="chrome_html" compress="gzip" />
+ file="css/table.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_TABS"
- file="css/tabs.css" type="chrome_html" compress="gzip" />
+ file="css/tabs.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_THROBBER"
- file="css/throbber.css" type="chrome_html" compress="gzip" />
+ file="css/throbber.css" type="chrome_html" />
<structure name="IDR_WEBUI_CSS_TREE"
- file="css/tree.css" type="chrome_html" compress="gzip"
+ file="css/tree.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_CSS_WIDGETS"
- file="css/widgets.css" type="chrome_html" compress="gzip"
+ file="css/widgets.css" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_HTML_ACTION_LINK"
- file="html/action_link.html" type="chrome_html"
- compress="gzip" />
+ file="html/action_link.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_ASSERT"
- file="html/assert.html" type="chrome_html" compress="gzip" />
+ file="html/assert.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_PROMISE_RESOLVER"
- file="html/promise_resolver.html" type="chrome_html"
- compress="gzip" />
+ file="html/promise_resolver.html" type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_WEBUI_CSS_CROS_COLORS"
file="${root_gen_dir}/ui/webui/resources/css/cros_colors.generated.css" type="chrome_html"
- use_base_dir="false" compress="gzip" />
+ use_base_dir="false" />
</if>
<structure name="IDR_WEBUI_HTML_CR"
- file="html/cr.html" type="chrome_html" compress="gzip" />
+ file="html/cr.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_EVENT_TARGET"
- file="html/cr/event_target.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/event_target.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI"
- file="html/cr/ui.html" type="chrome_html" compress="gzip" />
+ file="html/cr/ui.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_ARRAY_DATA_MODEL"
- file="html/cr/ui/array_data_model.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/array_data_model.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_COMMAND"
- file="html/cr/ui/command.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/command.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_CONTEXT_MENU_HANDLER"
file="html/cr/ui/context_menu_handler.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_DRAG_WRAPPER"
- file="html/cr/ui/drag_wrapper.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/drag_wrapper.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_GRID"
- file="html/cr/ui/focus_grid.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/focus_grid.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_MANAGER"
- file="html/cr/ui/focus_manager.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/focus_manager.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_OUTLINE_MANAGER"
file="html/cr/ui/focus_outline_manager.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_ROW"
- file="html/cr/ui/focus_row.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/focus_row.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_KEYBOARD_SHORTCUT_LIST"
file="html/cr/ui/keyboard_shortcut_list.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_LIST"
file="html/cr/ui/list.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_LIST_ITEM"
file="html/cr/ui/list_item.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_LIST_SELECTION_CONTROLLER"
file="html/cr/ui/list_selection_controller.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_LIST_SELECTION_MODEL"
file="html/cr/ui/list_selection_model.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_MENU"
- file="html/cr/ui/menu.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/menu.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_MENU_BUTTON"
- file="html/cr/ui/menu_button.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/menu_button.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_MENU_ITEM"
- file="html/cr/ui/menu_item.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/menu_item.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_OVERLAY"
- file="html/cr/ui/overlay.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/overlay.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_POSITION_UTIL"
- file="html/cr/ui/position_util.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/position_util.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_SPLITTER"
- file="html/cr/ui/splitter.html" type="chrome_html"
- compress="gzip" />
+ file="html/cr/ui/splitter.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_STORE"
file="html/cr/ui/store.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_CR_UI_STORE_CLIENT"
file="html/cr/ui/store_client.html"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_HTML_EVENT_TRACKER"
- file="html/event_tracker.html" type="chrome_html"
- compress="gzip" />
+ file="html/event_tracker.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_ICON"
- file="html/icon.html" type="chrome_html" compress="gzip" />
+ file="html/icon.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_LOAD_TIME_DATA"
- file="html/load_time_data.html" type="chrome_html"
- compress="gzip" />
+ file="html/load_time_data.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_PARSE_HTML_SUBSET"
- file="html/parse_html_subset.html" type="chrome_html"
- compress="gzip" />
+ file="html/parse_html_subset.html" type="chrome_html" />
<structure name="IDR_WEBUI_HTML_TEST_LOADER"
- file="html/test_loader.html" type="chrome_html"
- compress="gzip"/>
+ file="html/test_loader.html" type="chrome_html"/>
<structure name="IDR_WEBUI_HTML_UTIL"
- file="html/util.html" type="chrome_html" compress="gzip" />
+ file="html/util.html" type="chrome_html" />
<structure name="IDR_WEBUI_JS_ACTION_LINK"
- file="js/action_link.js" type="chrome_html" compress="gzip" />
+ file="js/action_link.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_ASSERT"
- file="js/assert.js" type="chrome_html" compress="gzip" />
+ file="js/assert.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_PROMISE_RESOLVER"
- file="js/promise_resolver.js" type="chrome_html"
- compress="gzip" />
+ file="js/promise_resolver.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR"
- file="js/cr.js" type="chrome_html" compress="gzip" />
+ file="js/cr.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_M_JS"
- file="js/cr.m.js" type="chrome_html" compress="gzip" />
+ file="js/cr.m.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_EVENT_TARGET"
- file="js/cr/event_target.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/event_target.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI"
- file="js/cr/ui.js" type="chrome_html" compress="gzip" />
+ file="js/cr/ui.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_ARRAY_DATA_MODEL"
file="js/cr/ui/array_data_model.js"
- type="chrome_html" compress="gzip" flattenhtml="true" />
+ type="chrome_html" flattenhtml="true" />
<structure name="IDR_WEBUI_JS_CR_UI_BUBBLE"
- file="js/cr/ui/bubble.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/bubble.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_BUBBLE_BUTTON"
- file="js/cr/ui/bubble_button.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/bubble_button.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_CARD_SLIDER"
- file="js/cr/ui/card_slider.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/card_slider.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_COMMAND"
- file="js/cr/ui/command.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/command.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_CONTEXT_MENU_HANDLER"
file="js/cr/ui/context_menu_handler.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_CONTROLLED_INDICATOR"
- file="js/cr/ui/controlled_indicator.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/controlled_indicator.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_DIALOGS"
- file="js/cr/ui/dialogs.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/dialogs.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_DRAG_WRAPPER"
- file="js/cr/ui/drag_wrapper.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/drag_wrapper.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_GRID"
- file="js/cr/ui/focus_grid.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/focus_grid.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_MANAGER"
- file="js/cr/ui/focus_manager.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/focus_manager.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_OUTLINE_MANAGER"
file="js/cr/ui/focus_outline_manager.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_ROW"
- file="js/cr/ui/focus_row.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/focus_row.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_KEYBOARD_SHORTCUT_LIST"
- file="js/cr/ui/keyboard_shortcut_list.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/keyboard_shortcut_list.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_LIST"
- file="js/cr/ui/list.js" type="chrome_html" compress="gzip" />
+ file="js/cr/ui/list.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_LIST_ITEM"
- file="js/cr/ui/list_item.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/list_item.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_LIST_SELECTION_CONTROLLER"
file="js/cr/ui/list_selection_controller.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_LIST_SELECTION_MODEL"
file="js/cr/ui/list_selection_model.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_LIST_SINGLE_SELECTION_MODEL"
file="js/cr/ui/list_single_selection_model.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_MENU"
- file="js/cr/ui/menu.js" type="chrome_html" compress="gzip" />
+ file="js/cr/ui/menu.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_MENU_BUTTON"
- file="js/cr/ui/menu_button.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/menu_button.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_MENU_ITEM"
- file="js/cr/ui/menu_item.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/menu_item.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_OVERLAY"
- file="js/cr/ui/overlay.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/overlay.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_POSITION_UTIL"
- file="js/cr/ui/position_util.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/position_util.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_SPLITTER"
- file="js/cr/ui/splitter.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/splitter.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_STORE"
file="js/cr/ui/store.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_STORE_CLENT"
file="js/cr/ui/store_client.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<if expr="chromeos">
<structure name="IDR_WEBUI_JS_CR_UI_GRID"
- file="js/cr/ui/grid.js" type="chrome_html" compress="gzip" />
+ file="js/cr/ui/grid.js" type="chrome_html" />
</if>
<structure name="IDR_WEBUI_JS_CR_UI_TABS"
- file="js/cr/ui/tabs.js" type="chrome_html" compress="gzip" />
+ file="js/cr/ui/tabs.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_TREE"
- file="js/cr/ui/tree.js" type="chrome_html" compress="gzip" />
+ file="js/cr/ui/tree.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_CR_UI_TOUCH_HANDLER"
- file="js/cr/ui/touch_handler.js" type="chrome_html"
- compress="gzip" />
+ file="js/cr/ui/touch_handler.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_EVENT_TRACKER"
- file="js/event_tracker.js" type="chrome_html"
- compress="gzip" />
+ file="js/event_tracker.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_ICON"
- file="js/icon.js" type="chrome_html" compress="gzip"
+ file="js/icon.js" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_JS_I18N_TEMPLATE_NO_PROCESS"
file="js/i18n_template_no_process.js"
- type="chrome_html" compress="gzip" />
+ type="chrome_html" />
<structure name="IDR_WEBUI_JS_LOAD_TIME_DATA"
- file="js/load_time_data.js" type="chrome_html"
- compress="gzip" />
+ file="js/load_time_data.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_PARSE_HTML_SUBSET"
- file="js/parse_html_subset.js" type="chrome_html"
- compress="gzip" />
+ file="js/parse_html_subset.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_TEST_LOADER"
- file="js/test_loader.js" type="chrome_html"
- compress="gzip"/>
+ file="js/test_loader.js" type="chrome_html"/>
<structure name="IDR_WEBUI_JS_UTIL"
- file="js/util.js" type="chrome_html" compress="gzip"
+ file="js/util.js" type="chrome_html"
flattenhtml="true" />
<structure name="IDR_WEBUI_JS_WEBUI_RESOURCE_TEST"
- file="js/webui_resource_test.js" type="chrome_html"
- compress="gzip" />
+ file="js/webui_resource_test.js" type="chrome_html" />
<if expr="is_ios">
<structure name="IDR_WEBUI_JS_IOS_WEB_UI"
- file="js/ios/web_ui.js" type="chrome_html"
- compress="gzip" />
+ file="js/ios/web_ui.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_IOS_MOJO_API"
- file="js/ios/mojo_api.js" type="chrome_html"
- compress="gzip" />
+ file="js/ios/mojo_api.js" type="chrome_html" />
</if>
<if expr="not is_android and not is_ios">
<structure name="IDR_LOTTIE_LOTTIE_WORKER_MIN_JS"
file="../../../third_party/lottie/lottie_worker.min.js"
- type="chrome_html"
- compress="gzip" />
+ type="chrome_html" />
</if>
<if expr="not is_android and not is_ios">