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

Unified Diff: chrome/browser/resources/media_router/elements/media_router_header/media_router_header.html

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/elements/media_router_header/media_router_header.html
diff --git a/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.html b/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.html
index 621cf998d7ac3419cbdb056f9ad2f4e0a81761c8..7e7da114b6117af2cc66d57a12f1e2751dbde040 100644
--- a/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.html
+++ b/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.html
@@ -5,7 +5,7 @@
<link rel="import" type="css" href="../../media_router_common.css">
<link rel="import" type="css" href="media_router_header.css">
<template>
- <paper-toolbar class$="[[view]]">
+ <paper-toolbar id="header-toolbar" class$="[[view]]">
<div id="back-button-container">
<paper-icon-button id="back-button" icon="[[arrowDropIcon_]]"
on-click="onBackButtonClick_"
@@ -27,6 +27,11 @@
on-click="onCloseButtonClick_">
</paper-icon-button>
</div>
+ <template is="dom-if" if="[[showEmail]]">
+ <div id="user-email-container" class="bottom fit">
+ <span title="[[userEmail]]">[[userEmail]]</span>
imcheng 2016/02/17 00:51:08 is title needed?
amp 2016/02/17 02:11:37 Not sure. I assumed it was for accessibility as w
+ </div>
+ </template>
</paper-toolbar>
</template>
<script src="media_router_header.js"></script>

Powered by Google App Engine
This is Rietveld 408576698