Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 
| 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 
| 4 <link rel="import" href="../route_controls/route_controls.html"> | |
| 4 <dom-module id="route-details"> | 5 <dom-module id="route-details"> | 
| 5 <link rel="import" type="css" href="../../media_router_common.css"> | 6 <link rel="import" type="css" href="../../media_router_common.css"> | 
| 6 <link rel="import" type="css" href="route_details.css"> | 7 <link rel="import" type="css" href="route_details.css"> | 
| 7 <template> | 8 <template> | 
| 8 <div id="route-information" hidden$="[[!isCustomControllerHidden_]]"> | 9 <div id="route-information" | 
| 10 hidden$="[[!shouldShowRouteInfo_(useNewRouteControls, isExtensionViewHid den_)]]"> | |
| 9 <span>[[activityStatus_]]</span> | 11 <span>[[activityStatus_]]</span> | 
| 10 </div> | 12 </div> | 
| 11 <extensionview id="custom-controller" | 13 <extensionview id="custom-controller" | 
| 12 hidden$="[[isCustomControllerHidden_]]"> | 14 hidden$="[[!shouldShowExtensionView_(useNewRouteControls, isExtensionVie wHidden_)]]"> | 
| 
 
mark a. foltz
2017/05/03 21:27:01
Does <hidden> prevent instantiation of the <extens
 
takumif
2017/05/05 18:57:40
<template is="dom-if"> seems to do that. But it ma
 
 | |
| 13 </extensionview> | 15 </extensionview> | 
| 16 <route-controls id="route-controls" hidden$="[[!useNewRouteControls]]"> | |
| 17 </route-controls> | |
| 14 <div id="route-action-buttons" class="layout"> | 18 <div id="route-action-buttons" class="layout"> | 
| 15 <paper-button flat class="route-button button" | 19 <paper-button flat class="route-button button" | 
| 16 id="start-casting-to-route-button" | 20 id="start-casting-to-route-button" | 
| 17 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]" | 21 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]" | 
| 18 on-tap="startCastingToRoute_"> | 22 on-tap="startCastingToRoute_"> | 
| 19 <span>[[i18n('startCastingButtonText')]]</span> | 23 <span>[[i18n('startCastingButtonText')]]</span> | 
| 20 </paper-button> | 24 </paper-button> | 
| 21 <paper-button flat class="route-button button" | 25 <paper-button flat class="route-button button" | 
| 22 id="close-route-button" | 26 id="close-route-button" | 
| 23 on-tap="closeRoute_"> | 27 on-tap="closeRoute_"> | 
| 24 <span>[[i18n('stopCastingButtonText')]]</span> | 28 <span>[[i18n('stopCastingButtonText')]]</span> | 
| 25 </paper-button> | 29 </paper-button> | 
| 26 <div> | 30 <div> | 
| 27 </template> | 31 </template> | 
| 28 <script src="route_details.js"></script> | 32 <script src="route_details.js"></script> | 
| 29 </dom-module> | 33 </dom-module> | 
| OLD | NEW |