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/settings/bluetooth_page/bluetooth_page.js

Issue 2658723002: MD Settings: Remove some ES6 leftovers from CrOS code that break uglify. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/device_page.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/device_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698