Commit b1810be2 authored by Scott Chen's avatar Scott Chen Committed by Commit Bot

Media Router: remove iron-icons/ dependency

Part of the effort to remove iron-icons/*.html iconsets from the repro.

Screenshot showing icons unchanged from before:
https://imgur.com/a/1iDQh03

Bug: 855205
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: Iac109e42bee49be6467e40746e3e54d4ab200826
Reviewed-on: https://chromium-review.googlesource.com/1139220Reviewed-by: default avatarmark a. foltz <mfoltz@chromium.org>
Commit-Queue: Scott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576231}
parent bf550a61
......@@ -3,8 +3,18 @@
<link rel="import" href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox.html">
<link rel="import" href="chrome://resources/html/md_select_css.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/av-icons.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-slider/paper-slider.html">
<iron-iconset-svg name="route-controls" size="24">
<svg><defs>
<g id="play-arrow"><path d="M8 5v14l11-7z"></path></g>
<g id="pause"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"></path></g>
<g id="volume-off"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"></path></g>
<g id="volume-up"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"></path></g>
</defs></svg>
</iron-iconset-svg>
<dom-module id="route-controls">
<link rel="import" type="css" href="../../media_router_common.css">
<link rel="import" type="css" href="route_controls.css">
......
......@@ -254,7 +254,8 @@ Polymer({
* @private
*/
getMuteUnmuteIcon_: function(routeStatus) {
return routeStatus.isMuted ? 'av:volume-off' : 'av:volume-up';
return routeStatus.isMuted ? 'route-controls:volume-off' :
'route-controls:volume-up';
},
/**
......@@ -274,8 +275,8 @@ Polymer({
*/
getPlayPauseIcon_: function(routeStatus) {
return routeStatus.playState === media_router.PlayState.PAUSED ?
'av:play-arrow' :
'av:pause';
'route-controls:play-arrow' :
'route-controls:pause';
},
/**
......
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