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

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

Issue 2915983002: [Media Router] Add UMA metrics to record the load time for route controls (Closed)
Patch Set: Fix a test failure 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="[[!useWebUiRouteControls]]">
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 is-extension-view-ready="{{isExtensionViewReady}}" 17 is-extension-view-ready="{{isExtensionViewReady}}"
17 hidden$="[[!shouldShowExtensionView_(controllerType_)]]"> 18 hidden$="[[!shouldShowExtensionView_(controllerType_)]]">
18 </extension-view-wrapper> 19 </extension-view-wrapper>
19 </template> 20 </template>
20 <template is="dom-if" if="[[shouldShowWebUiControls_(controllerType_)]]"> 21 <template is="dom-if" if="[[shouldShowWebUiControls_(controllerType_)]]">
21 <route-controls id="route-controls"></route-controls> 22 <route-controls id="route-controls"
23 route-details-open-time="[[openTime_]]"></route-controls>
22 </template> 24 </template>
23 <div id="route-action-buttons" class="layout"> 25 <div id="route-action-buttons" class="layout">
24 <paper-button flat class="route-button button" 26 <paper-button flat class="route-button button"
25 id="start-casting-to-route-button" 27 id="start-casting-to-route-button"
26 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]" 28 hidden$="[[computeCastButtonHidden_(route, changeRouteSourceAvailable_ )]]"
27 on-tap="startCastingToRoute_"> 29 on-tap="startCastingToRoute_">
28 <span>[[i18n('startCastingButtonText')]]</span> 30 <span>[[i18n('startCastingButtonText')]]</span>
29 </paper-button> 31 </paper-button>
30 <paper-button flat class="route-button button" 32 <paper-button flat class="route-button button"
31 id="close-route-button" 33 id="close-route-button"
32 on-tap="closeRoute_"> 34 on-tap="closeRoute_">
33 <span>[[i18n('stopCastingButtonText')]]</span> 35 <span>[[i18n('stopCastingButtonText')]]</span>
34 </paper-button> 36 </paper-button>
35 <div> 37 <div>
36 </template> 38 </template>
37 <script src="route_details.js"></script> 39 <script src="route_details.js"></script>
38 </dom-module> 40 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698