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

Side by Side Diff: chrome/browser/resources/media_router/elements/route_details/route_details.html

Issue 2938173004: [Media Router] Add a supports_web_ui_controller attribute to MediaRoute (Closed)
Patch Set: Rebase Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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="extension_view_wrapper/extension_view_wrapper.html"> 4 <link rel="import" href="extension_view_wrapper/extension_view_wrapper.html">
5 <link rel="import" href="../route_controls/route_controls.html"> 5 <link rel="import" href="../route_controls/route_controls.html">
6 <dom-module id="route-details"> 6 <dom-module id="route-details">
7 <link rel="import" type="css" href="../../media_router_common.css"> 7 <link rel="import" type="css" href="../../media_router_common.css">
8 <link rel="import" type="css" href="route_details.css"> 8 <link rel="import" type="css" href="route_details.css">
9 <template> 9 <template>
10 <div id="route-information" 10 <div id="route-information"
11 hidden$="[[!shouldShowRouteInfoOnly_(controllerType_)]]"> 11 hidden$="[[!shouldShowRouteInfoOnly_(controllerType_)]]">
12 <span>[[activityStatus_]]</span> 12 <span>[[activityStatus_]]</span>
13 </div> 13 </div>
14 <template is="dom-if" if="[[!useWebUiRouteControls]]"> 14 <template is="dom-if" if="[[shouldAttemptLoadingExtensionView_(route)]]">
15 <extension-view-wrapper id="extension-view-wrapper" route="[[route]]" 15 <extension-view-wrapper id="extension-view-wrapper" route="[[route]]"
16 route-details-open-time="[[openTime_]]" 16 route-details-open-time="[[openTime_]]"
17 is-extension-view-ready="{{isExtensionViewReady}}" 17 is-extension-view-ready="{{isExtensionViewReady}}"
18 hidden$="[[!shouldShowExtensionView_(controllerType_)]]"> 18 hidden$="[[!shouldShowExtensionView_(controllerType_)]]">
19 </extension-view-wrapper> 19 </extension-view-wrapper>
20 </template> 20 </template>
21 <template is="dom-if" if="[[shouldShowWebUiControls_(controllerType_)]]"> 21 <template is="dom-if" if="[[shouldShowWebUiControls_(controllerType_)]]">
22 <route-controls id="route-controls" 22 <route-controls id="route-controls"
23 route-details-open-time="[[openTime_]]"></route-controls> 23 route-details-open-time="[[openTime_]]"></route-controls>
24 </template> 24 </template>
25 <div id="route-action-buttons" class="layout"> 25 <div id="route-action-buttons" class="layout">
26 <paper-button flat class="route-button button" 26 <paper-button flat class="route-button button"
27 id="start-casting-to-route-button" 27 id="start-casting-to-route-button"
28 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]" 28 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]"
29 on-tap="startCastingToRoute_"> 29 on-tap="startCastingToRoute_">
30 <span>[[i18n('startCastingButtonText')]]</span> 30 <span>[[i18n('startCastingButtonText')]]</span>
31 </paper-button> 31 </paper-button>
32 <paper-button flat class="route-button button" 32 <paper-button flat class="route-button button"
33 id="close-route-button" 33 id="close-route-button"
34 on-tap="closeRoute_"> 34 on-tap="closeRoute_">
35 <span>[[i18n('stopCastingButtonText')]]</span> 35 <span>[[i18n('stopCastingButtonText')]]</span>
36 </paper-button> 36 </paper-button>
37 <div> 37 <div>
38 </template> 38 </template>
39 <script src="route_details.js"></script> 39 <script src="route_details.js"></script>
40 </dom-module> 40 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698