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

Unified Diff: chrome/browser/resources/bluetooth_internals/devices_page.js

Issue 2576603002: bluetooth: Add device details page with basic properties to internals page. (Closed)
Patch Set: Fix formatting, fix comments, fix test, change service/rssi display 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/bluetooth_internals/devices_page.js
diff --git a/chrome/browser/resources/bluetooth_internals/devices_page.js b/chrome/browser/resources/bluetooth_internals/devices_page.js
index 1476f8a7e179fb967da8f317bdf0568b16994bb2..39c72a778a854b2e6b6360a18bb59b1925b3e6af 100644
--- a/chrome/browser/resources/bluetooth_internals/devices_page.js
+++ b/chrome/browser/resources/bluetooth_internals/devices_page.js
@@ -49,6 +49,15 @@ cr.define('devices_page', function() {
this.deviceTable.setDevices(devices);
},
+ /**
+ * Updates the inspect status of the given |deviceInfo| in the device table.
+ * @param {!interfaces.BluetoothDevice.DeviceInfo} deviceInfo
+ * @param {boolean} isInspecting
+ */
+ setInspecting: function(deviceInfo, isInspecting) {
+ this.deviceTable.setInspecting(deviceInfo, isInspecting);
+ },
+
setScanStatus: function(status) {
switch (status) {
case ScanStatus.OFF:

Powered by Google App Engine
This is Rietveld 408576698