| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 | 6 * @fileoverview |
| 7 * 'settings-bluetooth-page' is the settings page for managing bluetooth | 7 * 'settings-bluetooth-page' is the settings page for managing bluetooth |
| 8 * properties and devices. | 8 * properties and devices. |
| 9 * | 9 * |
| 10 * Example: | 10 * Example: |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 this.updateDeviceList_(); | 580 this.updateDeviceList_(); |
| 581 }.bind(this)); | 581 }.bind(this)); |
| 582 }, | 582 }, |
| 583 | 583 |
| 584 /** | 584 /** |
| 585 * @param {string} dialogId | 585 * @param {string} dialogId |
| 586 * @param {string} dialogToShow The name of the dialog. | 586 * @param {string} dialogToShow The name of the dialog. |
| 587 * @return {boolean} | 587 * @return {boolean} |
| 588 * @private | 588 * @private |
| 589 */ | 589 */ |
| 590 dialogIsVisible_(dialogId, dialogToShow) { | 590 dialogIsVisible_: function(dialogId, dialogToShow) { |
| 591 return dialogToShow == dialogId; | 591 return dialogToShow == dialogId; |
| 592 }, | 592 }, |
| 593 | 593 |
| 594 /** | 594 /** |
| 595 * @param {string} dialogId | 595 * @param {string} dialogId |
| 596 * @private | 596 * @private |
| 597 */ | 597 */ |
| 598 openDialog_: function(dialogId) { | 598 openDialog_: function(dialogId) { |
| 599 if (this.dialogId_) { | 599 if (this.dialogId_) { |
| 600 // Dialog already opened, just update the contents. | 600 // Dialog already opened, just update the contents. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 618 }, | 618 }, |
| 619 | 619 |
| 620 /** | 620 /** |
| 621 * @param {Event} e | 621 * @param {Event} e |
| 622 * @private | 622 * @private |
| 623 */ | 623 */ |
| 624 stopTap_: function(e) { | 624 stopTap_: function(e) { |
| 625 e.stopPropagation(); | 625 e.stopPropagation(); |
| 626 }, | 626 }, |
| 627 }); | 627 }); |
| OLD | NEW |