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

Unified Diff: chrome/browser/resources/chromeos/login/gaia_header.html

Issue 1179323005: Polymer upgraded to 1.0 in login flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@polymer_pre_migration
Patch Set: Comments addressed. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/login/gaia_header.html
diff --git a/chrome/browser/resources/chromeos/login/gaia_header.html b/chrome/browser/resources/chromeos/login/gaia_header.html
index c59a1de88242771051e0d81142010876ee4fa0ed..e75ad5b0904ba37feef654192b33ab559f8de4d6 100644
--- a/chrome/browser/resources/chromeos/login/gaia_header.html
+++ b/chrome/browser/resources/chromeos/login/gaia_header.html
@@ -1,23 +1,27 @@
-<link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
-<link rel="import" href="chrome://resources/polymer/polymer/layout.html">
+<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<!--
Blue header for New Gaia UI, contains blue avatar logo and user email.
Example:
- <gaia-header id="passwordHeader">
+ <gaia-header email="user@example.com">
</gaia-header>
Attributes:
'email' - displayed email.
-->
-<polymer-element name="gaia-header" flex vertical layout noscript
- attributes="email">
+<dom-module name="gaia-header">
+ <link rel="stylesheet" href="gaia_header.css">
+
<template>
- <div flex vertical justified layout start>
- <img self-start src="chrome://theme/IDR_LOGO_AVATAR_CIRCLE_BLUE_COLOR"
- alt>
- <p class="email">{{email}}</p>
- </div>
+ <img src="chrome://theme/IDR_LOGO_AVATAR_CIRCLE_BLUE_COLOR" alt
+ class="self-start">
+ <div id="email"><span>[[email]]<span></div>
</template>
-</polymer-element>
+</dom-module>
+

Powered by Google App Engine
This is Rietveld 408576698