Chromium Code Reviews| 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> |
|
Dan Beam
2016/03/08 01:18:16
nit:
<template is="dom-if"
if="... long condi
Moe
2016/03/08 15:47:34
Without 'restamp' create-profile won't get detache
|
| + <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> |