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$="[[!shouldShowRouteInfoOnly_(controllerType_)]]"> |
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_(controllerType_)]]"> |
13 </extensionview> | 15 </extensionview> |
| 16 <route-controls id="route-controls" |
| 17 hidden$="[[!shouldShowWebUiControls_(controllerType_)]]"> |
| 18 </route-controls> |
14 <div id="route-action-buttons" class="layout"> | 19 <div id="route-action-buttons" class="layout"> |
15 <paper-button flat class="route-button button" | 20 <paper-button flat class="route-button button" |
16 id="start-casting-to-route-button" | 21 id="start-casting-to-route-button" |
17 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_
)]]" | 22 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_
)]]" |
18 on-tap="startCastingToRoute_"> | 23 on-tap="startCastingToRoute_"> |
19 <span>[[i18n('startCastingButtonText')]]</span> | 24 <span>[[i18n('startCastingButtonText')]]</span> |
20 </paper-button> | 25 </paper-button> |
21 <paper-button flat class="route-button button" | 26 <paper-button flat class="route-button button" |
22 id="close-route-button" | 27 id="close-route-button" |
23 on-tap="closeRoute_"> | 28 on-tap="closeRoute_"> |
24 <span>[[i18n('stopCastingButtonText')]]</span> | 29 <span>[[i18n('stopCastingButtonText')]]</span> |
25 </paper-button> | 30 </paper-button> |
26 <div> | 31 <div> |
27 </template> | 32 </template> |
28 <script src="route_details.js"></script> | 33 <script src="route_details.js"></script> |
29 </dom-module> | 34 </dom-module> |
OLD | NEW |