Commit 4b411e69 authored by Igor Kobylin's avatar Igor Kobylin Committed by Commit Bot

[i18n] Remove i18n_template.html

All pages importing it have already been migrated to $i18n{}, so these
dependencies don't seem needed anymore.

This changes following pages:
* chrome://media-router
* chrome://md-user-manager

R=dpapad@chromium.org

Bug: 677338
Change-Id: I05bcfba71ca1c8446ddfb14335d404bc382fc523
Reviewed-on: https://chromium-review.googlesource.com/c/1425719Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626217}
parent 7e2187f5
...@@ -360,7 +360,6 @@ ...@@ -360,7 +360,6 @@
<error-dialog></error-dialog> <error-dialog></error-dialog>
<include src="../../../../ui/login/account_picker/user_pod_template.html"> <include src="../../../../ui/login/account_picker/user_pod_template.html">
</user-manager-pages> </user-manager-pages>
<link rel="import" href="chrome://resources/html/i18n_template.html">
<script src="user_manager.js"></script> <script src="user_manager.js"></script>
</body> </body>
</html> </html>
...@@ -97,7 +97,7 @@ Polymer({ ...@@ -97,7 +97,7 @@ Polymer({
}, },
attached: function() { attached: function() {
// isRTL() only works after i18n_template.js runs to set <html dir>. // isRTL() only works after <html dir> is set.
// Set the back button icon based on text direction. // Set the back button icon based on text direction.
this.arrowDropIcon_ = isRTL() ? 'cr:arrow-forward' : 'cr:arrow-back'; this.arrowDropIcon_ = isRTL() ? 'cr:arrow-forward' : 'cr:arrow-back';
}, },
......
...@@ -16,6 +16,5 @@ ...@@ -16,6 +16,5 @@
</head> </head>
<body> <body>
<media-router-container id="media-router-container"></media-router-container> <media-router-container id="media-router-container"></media-router-container>
<link rel="import" href="chrome://resources/html/i18n_template.html">
</body> </body>
</html> </html>
<script src="../js/i18n_template_no_process.js"></script>
<script src="../js/i18n_template_process.js"></script>
...@@ -2,9 +2,5 @@ ...@@ -2,9 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Note: vulcanize sometimes disables GRIT processing. If you're importing i18n
// stuff with <link rel="import">, you should probably be using
// html/i18n_template.html instead of this file.
// <include src="i18n_template_no_process.js"> // <include src="i18n_template_no_process.js">
// <include src="i18n_template_process.js"> // <include src="i18n_template_process.js">
...@@ -365,9 +365,6 @@ without changes to the corresponding grd file. --> ...@@ -365,9 +365,6 @@ without changes to the corresponding grd file. -->
compress="gzip" /> compress="gzip" />
<structure name="IDR_WEBUI_HTML_ICON" <structure name="IDR_WEBUI_HTML_ICON"
file="html/icon.html" type="chrome_html" compress="gzip" /> file="html/icon.html" type="chrome_html" compress="gzip" />
<structure name="IDR_WEBUI_HTML_I18N_TEMPLATE"
file="html/i18n_template.html" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_HTML_LOAD_TIME_DATA" <structure name="IDR_WEBUI_HTML_LOAD_TIME_DATA"
file="html/load_time_data.html" type="chrome_html" file="html/load_time_data.html" type="chrome_html"
compress="gzip" /> compress="gzip" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment