| 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 |
| 8 */ | 10 */ |
| 9 Polymer({ | 11 Polymer({ |
| 10 is: 'control-bar', | 12 is: 'control-bar', |
| 11 | 13 |
| 12 properties: { | 14 properties: { |
| 13 /** | 15 /** |
| 14 * True if 'Browse as Guest' button is displayed. | 16 * True if 'Browse as Guest' button is displayed. |
| 15 * @type {boolean} | 17 * @type {boolean} |
| 16 */ | 18 */ |
| 17 showGuest: { | 19 showGuest: { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 /** | 51 /** |
| 50 * Handler for 'Add Person' button click event. | 52 * Handler for 'Add Person' button click event. |
| 51 * @param {!Event} event | 53 * @param {!Event} event |
| 52 * @private | 54 * @private |
| 53 */ | 55 */ |
| 54 onAddUserTap_: function(event) { | 56 onAddUserTap_: function(event) { |
| 55 // Event is caught by user-manager-pages. | 57 // Event is caught by user-manager-pages. |
| 56 this.fire('change-page', {page: 'create-user-page'}); | 58 this.fire('change-page', {page: 'create-user-page'}); |
| 57 } | 59 } |
| 58 }); | 60 }); |
| OLD | NEW |