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

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

Issue 2932913003: MD Settings, cleanup: Remove obsolete references to paper-dialog, paper-item. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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-subpage' is the settings subpage for managing bluetooth 7 * 'settings-bluetooth-subpage' is the settings subpage for managing bluetooth
8 * properties and devices. 8 * properties and devices.
9 */ 9 */
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 * Reflects the iron-list selecteditem property. 91 * Reflects the iron-list selecteditem property.
92 * @type {!chrome.bluetooth.Device} 92 * @type {!chrome.bluetooth.Device}
93 */ 93 */
94 selectedUnpairedItem_: { 94 selectedUnpairedItem_: {
95 type: Object, 95 type: Object,
96 observer: 'selectedUnpairedItemChanged_', 96 observer: 'selectedUnpairedItemChanged_',
97 }, 97 },
98 98
99 /** 99 /**
100 * Set to the name of the dialog to show. This page uses a single 100 * Set to the name of the dialog to show. This page uses a single
101 * paper-dialog to host one of two dialog elements: 'pairDevice' or 101 * dialog to host one of two dialog elements: 'pairDevice' or
102 * 'connectError'. This allows a seamless transition between dialogs. 102 * 'connectError'. This allows a seamless transition between dialogs.
103 * Note: This property should be set before opening the dialog and setting 103 * Note: This property should be set before opening the dialog and setting
104 * the property will not itself cause the dialog to open. 104 * the property will not itself cause the dialog to open.
105 * @private 105 * @private
106 */ 106 */
107 dialogId_: { 107 dialogId_: {
108 type: String, 108 type: String,
109 value: '', 109 value: '',
110 }, 110 },
111 111
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 /** @private */ 467 /** @private */
468 onDialogClose_: function() { 468 onDialogClose_: function() {
469 this.dialogId_ = ''; 469 this.dialogId_ = '';
470 this.pairingDevice_ = undefined; 470 this.pairingDevice_ = undefined;
471 // The list is dynamic so focus the first item. 471 // The list is dynamic so focus the first item.
472 var device = this.$$('#unpairedContainer bluetooth-device-list-item'); 472 var device = this.$$('#unpairedContainer bluetooth-device-list-item');
473 if (device) 473 if (device)
474 device.focus(); 474 device.focus();
475 }, 475 },
476 }); 476 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698