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

Unified Diff: chrome/browser/resources/md_user_manager/user_manager_pages.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 #6 Created 4 years, 9 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/user_manager_pages.html
diff --git a/chrome/browser/resources/settings/settings_page/settings_animated_pages.html b/chrome/browser/resources/md_user_manager/user_manager_pages.html
similarity index 36%
copy from chrome/browser/resources/settings/settings_page/settings_animated_pages.html
copy to chrome/browser/resources/md_user_manager/user_manager_pages.html
index fcd6b9d5d7e966737f2e400674daddb8e6398f36..7c515987e6a7c6b7a5a8e222a85391533643bde9 100644
--- a/chrome/browser/resources/settings/settings_page/settings_animated_pages.html
+++ b/chrome/browser/resources/md_user_manager/user_manager_pages.html
@@ -1,21 +1,27 @@
-<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-in-animation.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-out-animation.html">
+<link rel="import" href="chrome://md-user-manager/create_profile.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/slide-from-left-animation.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/slide-from-right-animation.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/slide-left-animation.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/slide-right-animation.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animated-pages.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animation-runner-behavior.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
-<dom-module id="settings-animated-pages">
- <link rel="import" type="css" href="settings_animated_pages.css">
+<dom-module id="user-manager-pages">
+ <link rel="import" type="css"
+ href="chrome://md-user-manager/user_manager_pages.css">
<template>
- <neon-animated-pages id="animatedPages" attr-for-selected="id">
- <content select="*"></content>
+ <neon-animated-pages id="animatedPages" attr-for-selected="id"
+ selected="[[selectedPage_]]" entry-animation="slide-from-left-animation"
+ exit-animation="slide-right-animation">
+ <div id="create-user-page">
+ <template is="dom-if" if="[[isPageVisible_(selectedPage_, 'create-user-page')]]" restamp>
+ <create-profile></create-profile>
+ </template>
+ </div>
+ <div id="user-pods-page">
+ <template is="dom-if" if="[[isPageVisible_(selectedPage_, 'user-pods-page')]]">
+ <content></content>
+ </template>
+ </div>
</neon-animated-pages>
</template>
- <script src="settings_animated_pages.js"></script>
+ <script src="chrome://md-user-manager/user_manager_pages.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698