| Index: chrome/browser/resources/md_user_manager/supervised_user_learn_more.js
|
| diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_user_manager/supervised_user_learn_more.js
|
| similarity index 30%
|
| copy from chrome/browser/resources/md_history/side_bar.js
|
| copy to chrome/browser/resources/md_user_manager/supervised_user_learn_more.js
|
| index 02108615aad6627772660df4b186abb659946ee9..1a0093887acad748670facc7817066dd7614ac94 100644
|
| --- a/chrome/browser/resources/md_history/side_bar.js
|
| +++ b/chrome/browser/resources/md_user_manager/supervised_user_learn_more.js
|
| @@ -2,16 +2,21 @@
|
| // 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.
|
| + */
|
| Polymer({
|
| - is: 'history-side-bar',
|
| + is: 'supervised-user-learn-more',
|
|
|
| /**
|
| - * Handles menu selection changes.
|
| - * @param {Event} e
|
| + * Handler for the 'Done' button click event.
|
| + * @param {!Event} event
|
| * @private
|
| */
|
| - onSelect_: function(e) {
|
| - this.fire('unselect-all');
|
| - this.fire('switch-display', {display: e.detail.item.id});
|
| - },
|
| + onDoneTap_: function(event) {
|
| + // Event is caught by user-manager-pages.
|
| + this.fire('change-page', {page: 'create-user-page'});
|
| + }
|
| });
|
|
|