| OLD | NEW |
| 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 Loading... |
| 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 }); |
| OLD | NEW |