Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js

Issue 2561463005: MD Settings: Bluetooth: Make top level UI consistent (Closed)
Patch Set: Rename doNothing -> stopTap Created 4 years 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 | « chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html ('k') | no next file » | 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 this.startDiscovery_(); 569 this.startDiscovery_();
570 }, 570 },
571 571
572 /** @private */ 572 /** @private */
573 onDialogClosed_: function() { 573 onDialogClosed_: function() {
574 this.stopDiscovery_(); 574 this.stopDiscovery_();
575 this.dialogId_ = ''; 575 this.dialogId_ = '';
576 this.pairingDevice_ = null; 576 this.pairingDevice_ = null;
577 this.pairingEvent_ = null; 577 this.pairingEvent_ = null;
578 }, 578 },
579
580 /** @private */
581 stopTap_: function() {
582 event.stopPropagation();
Dan Beam 2016/12/13 21:13:03 try your code ;)
Dan Beam 2016/12/13 21:14:53 (also, fwiw, this could work for deep/dark reasons
stevenjb 2016/12/13 22:01:32 I did. Apparently it works for deep/dark reasons.
583 },
579 }); 584 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698