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

Unified Diff: chrome/browser/resources/md_user_manager/supervised_user_learn_more.js

Issue 1630903002: material design user manager with create profile flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dan's 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/supervised_user_learn_more.js
diff --git a/chrome/browser/resources/md_user_manager/supervised_user_learn_more.js b/chrome/browser/resources/md_user_manager/supervised_user_learn_more.js
new file mode 100644
index 0000000000000000000000000000000000000000..765246ffdafa20f0b4218cc1fcf1fff18eb537fb
--- /dev/null
+++ b/chrome/browser/resources/md_user_manager/supervised_user_learn_more.js
@@ -0,0 +1,25 @@
+// Copyright 2016 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.
+
+/**
+ * @fileoverview
+ * 'supervised-user-learn-more' is a page that contains information about
+ * what a supervised user is, what happens when a supervised user is created,
+ * and a link to the help center for more information.
+ *
+ * @element supervised-user-learn-more
+ */
+Polymer({
+ is: 'supervised-user-learn-more',
+
+ /**
+ * Handler for the |Done| button click event.
+ * @param {!Event} event
+ * @private
+ */
+ handleDone_: function(event) {
+ // Event is caught by user-manager-pages.
+ this.fire('change-page', {page: 'create-user-page'});
+ }
+});

Powered by Google App Engine
This is Rietveld 408576698