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

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

Issue 2725503002: [Media Router] Custom Controls 4 - Implement details view WebUI (Closed)
Patch Set: Add braces to @implements {Interface} 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">
5 <link rel="import" href="../route_controls/route_controls.html">
4 <dom-module id="route-details"> 6 <dom-module id="route-details">
5 <link rel="import" type="css" href="../../media_router_common.css"> 7 <link rel="import" type="css" href="../../media_router_common.css">
6 <link rel="import" type="css" href="route_details.css"> 8 <link rel="import" type="css" href="route_details.css">
7 <template> 9 <template>
8 <div id="route-information" hidden$="[[!isCustomControllerHidden_]]"> 10 <div id="route-information"
11 hidden$="[[!shouldShowRouteInfoOnly_(controllerType_)]]">
9 <span>[[activityStatus_]]</span> 12 <span>[[activityStatus_]]</span>
10 </div> 13 </div>
11 <extensionview id="custom-controller" 14 <template is="dom-if" if="[[!useWebUiRouteControls]]">
12 hidden$="[[isCustomControllerHidden_]]"> 15 <extension-view-wrapper id="extension-view-wrapper" route="[[route]]"
13 </extensionview> 16 is-extension-view-ready="{{isExtensionViewReady}}"
17 hidden$="[[!shouldShowExtensionView_(controllerType_)]]">
18 </extension-view-wrapper>
19 </template>
20 <template is="dom-if" if="[[shouldShowWebUiControls_(controllerType_)]]">
21 <route-controls id="route-controls"></route-controls>
22 </template>
14 <div id="route-action-buttons" class="layout"> 23 <div id="route-action-buttons" class="layout">
15 <paper-button flat class="route-button button" 24 <paper-button flat class="route-button button"
16 id="start-casting-to-route-button" 25 id="start-casting-to-route-button"
17 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]" 26 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]"
18 on-tap="startCastingToRoute_"> 27 on-tap="startCastingToRoute_">
19 <span>[[i18n('startCastingButtonText')]]</span> 28 <span>[[i18n('startCastingButtonText')]]</span>
20 </paper-button> 29 </paper-button>
21 <paper-button flat class="route-button button" 30 <paper-button flat class="route-button button"
22 id="close-route-button" 31 id="close-route-button"
23 on-tap="closeRoute_"> 32 on-tap="closeRoute_">
24 <span>[[i18n('stopCastingButtonText')]]</span> 33 <span>[[i18n('stopCastingButtonText')]]</span>
25 </paper-button> 34 </paper-button>
26 <div> 35 <div>
27 </template> 36 </template>
28 <script src="route_details.js"></script> 37 <script src="route_details.js"></script>
29 </dom-module> 38 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698