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

Unified Diff: chrome/browser/resources/media_router/media_router.js

Issue 1680743006: [Media Router] Show user email in header if cloud sink is present. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix breaks in native code and address comments. Everything works with no bugs detected in this pat… Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/media_router/media_router.js
diff --git a/chrome/browser/resources/media_router/media_router.js b/chrome/browser/resources/media_router/media_router.js
index 026ff364a1b676aa96b570ecd67f0d3611849f35..fe4fc707013a29f3d72705c42039214062f3768a 100644
--- a/chrome/browser/resources/media_router/media_router.js
+++ b/chrome/browser/resources/media_router/media_router.js
@@ -28,7 +28,10 @@ cr.define('media_router', function() {
container = /** @type {!MediaRouterContainerElement} */
($('media-router-container'));
- media_router.ui.setContainer(container);
+
+ media_router.ui.setElements(container,
+ /** @type {!MediaRouterHeaderElement} */
+ (container.$['container-header']));
container.addEventListener('acknowledge-first-run-flow',
onAcknowledgeFirstRunFlow);

Powered by Google App Engine
This is Rietveld 408576698