Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: chrome/browser/resources/settings/languages_page/languages_page.js

Issue 1828763002: MD Settings: Remove iron-list hack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/languages_page/languages_page.js
diff --git a/chrome/browser/resources/settings/languages_page/languages_page.js b/chrome/browser/resources/settings/languages_page/languages_page.js
index 29eca7e3824f35efa2866b82ac36a3c8052afbc0..b8e8c728e9339131a1276092ae5fddfdcbf89cba 100644
--- a/chrome/browser/resources/settings/languages_page/languages_page.js
+++ b/chrome/browser/resources/settings/languages_page/languages_page.js
@@ -100,7 +100,6 @@ Polymer({
*/
onManageLanguagesTap_: function() {
this.$.pages.setSubpageChain(['manage-languages']);
- this.forceRenderList_('settings-manage-languages-page');
},
/**
@@ -120,7 +119,6 @@ Polymer({
*/
onEditDictionaryTap_: function() {
this.$.pages.setSubpageChain(['edit-dictionary']);
- this.forceRenderList_('settings-edit-dictionary-page');
},
</if>
@@ -150,15 +148,5 @@ Polymer({
assert(cr.isChromeOS);
return id == currentId;
},
-
- /**
- * HACK(michaelpg): This is necessary to show the list when navigating to
- * the sub-page. Remove this function when PolymerElements/neon-animation#60
- * is fixed.
- * @param {string} tagName Name of the element containing the <iron-list>.
- */
- forceRenderList_: function(tagName) {
- this.$$(tagName).$$('iron-list').fire('iron-resize');
- },
});
})();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698