Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 * found in the LICENSE file. | |
| 4 */ | |
| 5 | |
| 6 Polymer({ | |
|
tommycli
2016/02/03 01:13:21
It would be good to add a @fileoverview describing
Moe
2016/02/05 17:58:39
Done. Also added to other JS files.
| |
| 7 is: 'control-bar', | |
| 8 | |
| 9 properties: { | |
| 10 | |
| 11 /* | |
| 12 * If true then |Browse as Guest| button is displayed. | |
|
tommycli
2016/02/03 01:13:21
nit: formatting. The stars are aligned and the top
Moe
2016/02/05 17:58:39
Done. Also fixed in other JS files.
| |
| 13 */ | |
| 14 showGuest: { | |
| 15 type: Boolean, | |
| 16 value: false | |
| 17 }, | |
| 18 | |
| 19 /* | |
| 20 * If true then |Add Person| button is displayed. | |
| 21 */ | |
| 22 showAddPerson: { | |
| 23 type: Boolean, | |
| 24 value: false | |
| 25 } | |
| 26 }, | |
| 27 | |
| 28 handleGuestClick_: function(e) { | |
| 29 chrome.send('launchGuest'); | |
| 30 }, | |
| 31 | |
| 32 handleAddUserClick_: function(e) { | |
| 33 // Event is caught by user-manager-pages. | |
| 34 this.fire('change-page', {page: 'create-user-page'}); | |
| 35 } | |
| 36 }); | |
| OLD | NEW |