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

Unified Diff: chrome/browser/resources/md_user_manager/control_bar.html

Issue 1722843002: MD user manager (html/js/css for create profile flow) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments #2 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/md_user_manager/control_bar.html
diff --git a/chrome/browser/resources/md_user_manager/control_bar.html b/chrome/browser/resources/md_user_manager/control_bar.html
new file mode 100644
index 0000000000000000000000000000000000000000..e8cf1353b5dcdb6da6b5efb8de3513e7b563d2e3
--- /dev/null
+++ b/chrome/browser/resources/md_user_manager/control_bar.html
@@ -0,0 +1,21 @@
+<link rel="import" href="chrome://md-user-manager/profile_api.html">
+<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/paper-button/paper-button.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+
+<dom-module id="control-bar">
+ <!-- TODO(mahmadi): this format is deprecated. Change to the new
+ "shared styles" format. -->
+ <link rel="import" type="css" href="chrome://md-user-manager/control_bar.css">
+ <template>
+ <div id="login-header-bar"
+ class="login-header-bar layout horizontal end-justified">
+ <div id="logo"></div>
+ <paper-button id="guest-user-button" on-click="handleGuestClick_"
+ i18n-content="browseAsGuest" hidden$="[[!showGuest]]"></paper-button>
Dan Beam 2016/03/04 02:45:48 hidden= works and is faster (the polymer dev guide
Moe 2016/03/08 00:57:04 Done.
+ <paper-button id="add-user-button" on-click="handleAddUserClick_"
+ i18n-content="addUser" hidden$="[[!showAddPerson]]"></paper-button>
+ </div>
+ </template>
+ <script src="chrome://md-user-manager/control_bar.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698