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

Side by Side Diff: chrome/browser/resources/md_user_manager/control_bar.js

Issue 1725563003: MD user manager (learn more page, user manager tutorial) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed what was breaking browser test accross all platforms Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 'control-bar' is the horizontal bar at the bottom of the user 6 * @fileoverview 'control-bar' is the horizontal bar at the bottom of the user
7 * manager screen. 7 * manager screen.
8 *
9 * @element control-bar
10 */ 8 */
11 Polymer({ 9 Polymer({
12 is: 'control-bar', 10 is: 'control-bar',
13 11
14 properties: { 12 properties: {
15 /** 13 /**
16 * True if 'Browse as Guest' button is displayed. 14 * True if 'Browse as Guest' button is displayed.
17 * @type {boolean} 15 * @type {boolean}
18 */ 16 */
19 showGuest: { 17 showGuest: {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 /** 49 /**
52 * Handler for 'Add Person' button click event. 50 * Handler for 'Add Person' button click event.
53 * @param {!Event} event 51 * @param {!Event} event
54 * @private 52 * @private
55 */ 53 */
56 onAddUserTap_: function(event) { 54 onAddUserTap_: function(event) {
57 // Event is caught by user-manager-pages. 55 // Event is caught by user-manager-pages.
58 this.fire('change-page', {page: 'create-user-page'}); 56 this.fire('change-page', {page: 'create-user-page'});
59 } 57 }
60 }); 58 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698