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

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

Issue 2143823002: MD Settings: Bluetooth: Show policy indicator when disabled by policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_602538_bluetooth_fixes_1
Patch Set: Fix tests Created 4 years, 5 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 | « 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 /** 89 /**
90 * Current Pairing event. 90 * Current Pairing event.
91 * @type {?chrome.bluetoothPrivate.PairingEvent|undefined} 91 * @type {?chrome.bluetoothPrivate.PairingEvent|undefined}
92 */ 92 */
93 pairingEvent: Object, 93 pairingEvent: Object,
94 94
95 /** The translated error message to show when a connect error occurs. */ 95 /** The translated error message to show when a connect error occurs. */
96 errorMessage: String, 96 errorMessage: String,
97 97
98 /** Preferences state. */
99 prefs: {
100 type: Object,
101 notify: true,
102 },
103
98 /** 104 /**
99 * Interface for bluetooth calls. May be overriden by tests. 105 * Interface for bluetooth calls. May be overriden by tests.
100 * @type {Bluetooth} 106 * @type {Bluetooth}
101 */ 107 */
102 bluetooth: { 108 bluetooth: {
103 type: Object, 109 type: Object,
104 value: chrome.bluetooth, 110 value: chrome.bluetooth,
105 }, 111 },
106 112
107 /** 113 /**
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 onDialogClosed_: function() { 538 onDialogClosed_: function() {
533 this.stopDiscovery_(); 539 this.stopDiscovery_();
534 this.dialogId = ''; 540 this.dialogId = '';
535 this.pairingDevice = null; 541 this.pairingDevice = null;
536 this.pairingEvent = null; 542 this.pairingEvent = null;
537 }, 543 },
538 544
539 /** @private */ 545 /** @private */
540 onDialogOpened_: function() { this.startDiscovery_(); }, 546 onDialogOpened_: function() { this.startDiscovery_(); },
541 }); 547 });
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